Added mip selection using ray differentials

This commit is contained in:
2025-12-29 23:36:21 +09:00
parent adee5acd10
commit 400137ee99
12 changed files with 125 additions and 28 deletions

View File

@@ -20,6 +20,8 @@ typedef struct
const bvh_tree_t* bvh_tree;
const texture_collection_t* textures;
float spread_angle;
} light_shading_context_t;
typedef path_output (*evaluate_bsdf_sky_f) (const void* data, const light_shading_context_t* context, vec3s throughput, uint32_t sample_index);