|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device void | bsdf_transparent_setup (ccl_private ShaderData *sd, const Spectrum weight, uint32_t path_flag) |
| ccl_device Spectrum | bsdf_transparent_eval (ccl_private const ShaderClosure *sc, const float3 wi, const float3 wo, ccl_private float *pdf) |
| ccl_device int | bsdf_transparent_sample (ccl_private const ShaderClosure *sc, float3 Ng, float3 wi, ccl_private Spectrum *eval, ccl_private float3 *wo, ccl_private float *pdf) |
| ccl_device Spectrum bsdf_transparent_eval | ( | ccl_private const ShaderClosure * | sc, |
| const float3 | wi, | ||
| const float3 | wo, | ||
| ccl_private float * | pdf ) |
Definition at line 60 of file bsdf_transparent.h.
References zero_spectrum.
Referenced by bsdf_eval().
| ccl_device int bsdf_transparent_sample | ( | ccl_private const ShaderClosure * | sc, |
| float3 | Ng, | ||
| float3 | wi, | ||
| ccl_private Spectrum * | eval, | ||
| ccl_private float3 * | wo, | ||
| ccl_private float * | pdf ) |
Definition at line 69 of file bsdf_transparent.h.
References LABEL_TRANSMIT, LABEL_TRANSPARENT, and one_spectrum.
Referenced by bsdf_sample().
| CCL_NAMESPACE_BEGIN ccl_device void bsdf_transparent_setup | ( | ccl_private ShaderData * | sd, |
| const Spectrum | weight, | ||
| uint32_t | path_flag ) |
Definition at line 12 of file bsdf_transparent.h.
References average(), ccl_private, closure_alloc(), CLOSURE_BSDF_TRANSPARENT_ID, CLOSURE_WEIGHT_CUTOFF, fabsf, PATH_RAY_TERMINATE, SD_BSDF, SD_TRANSPARENT, and ShaderClosure.
Referenced by osl_closure_transparent_setup(), and svm_node_closure_bsdf().