|
Blender V5.0
|
Go to the source code of this file.
Classes | |
| struct | RayPortalClosure |
Functions | |
| ccl_device void | bsdf_ray_portal_setup (ccl_private ShaderData *sd, const Spectrum weight, const float3 position, float3 direction) |
| ccl_device Spectrum | bsdf_ray_portal_eval (const ccl_private ShaderClosure *, const float3, const float3, ccl_private float *pdf) |
| ccl_device Spectrum bsdf_ray_portal_eval | ( | const ccl_private ShaderClosure * | , |
| const float3 | , | ||
| const float3 | , | ||
| ccl_private float * | pdf ) |
Definition at line 50 of file bsdf_ray_portal.h.
References ccl_device, ccl_private, and zero_spectrum.
Referenced by bsdf_eval().
| ccl_device void bsdf_ray_portal_setup | ( | ccl_private ShaderData * | sd, |
| const Spectrum | weight, | ||
| const float3 | position, | ||
| float3 | direction ) |
Definition at line 22 of file bsdf_ray_portal.h.
References average(), ccl_device, ccl_private, closure_alloc(), CLOSURE_BSDF_RAY_PORTAL_ID, CLOSURE_WEIGHT_CUTOFF, fabsf, is_zero(), SD_BSDF, and SD_RAY_PORTAL.
Referenced by osl_closure_ray_portal_bsdf_setup(), and svm_node_closure_bsdf().