Added mip selection using ray differentials
This commit is contained in:
@@ -33,6 +33,10 @@ typedef struct
|
||||
const triangle_collection_t* triangles;
|
||||
const light_collection_t* lights;
|
||||
const texture_collection_t* textures;
|
||||
|
||||
uint64_t triangle_id;
|
||||
float cone_width;
|
||||
float spread_angle;
|
||||
} shading_context_t;
|
||||
|
||||
typedef path_output (*material_render_loop_f)(const void* properties, const shading_context_t* context);
|
||||
|
||||
Reference in New Issue
Block a user