Add AOV rendering support and related enhancements
Added support for rendering Arbitrary Output Variables (AOVs) for detailed outputs like beauty, albedo, normal, depth, and position. Added new functions `render_aov` and `accumulate_aov` for AOV data management during rendering. Added AOV rendering capabilities to the `SimpleLit` material with specific functions. Changed the material system to include new function pointers for AOV rendering. Changed the renderer to initialize and update AOV targets during the rendering process. Changed the main rendering loop to handle AOVs and update render targets accordingly. Fixed various minor issues, including function signature updates, variable name changes, and improved error handling for memory allocations.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
typedef struct
|
||||
{
|
||||
vec3s hit_point;
|
||||
vec3s position;
|
||||
vec3s normal;
|
||||
vec3s tangent;
|
||||
vec2s uv;
|
||||
|
||||
Reference in New Issue
Block a user