|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device void | bsdf_transparent_setup (ShaderData *sd, const float3 weight, int path_flag) |
| ccl_device float3 | bsdf_transparent_eval_reflect (const ShaderClosure *sc, const float3 I, const float3 omega_in, float *pdf) |
| ccl_device float3 | bsdf_transparent_eval_transmit (const ShaderClosure *sc, const float3 I, const float3 omega_in, float *pdf) |
| ccl_device int | bsdf_transparent_sample (const ShaderClosure *sc, float3 Ng, float3 I, float3 dIdx, float3 dIdy, float randu, float randv, float3 *eval, float3 *omega_in, float3 *domega_in_dx, float3 *domega_in_dy, float *pdf) |
| ccl_device float3 bsdf_transparent_eval_reflect | ( | const ShaderClosure * | sc, |
| const float3 | I, | ||
| const float3 | omega_in, | ||
| float * | |||
| ) |
Definition at line 85 of file bsdf_transparent.h.
References make_float3.
Referenced by bsdf_eval().
| ccl_device float3 bsdf_transparent_eval_transmit | ( | const ShaderClosure * | sc, |
| const float3 | I, | ||
| const float3 | omega_in, | ||
| float * | |||
| ) |
Definition at line 93 of file bsdf_transparent.h.
References make_float3.
Referenced by bsdf_eval().
| ccl_device int bsdf_transparent_sample | ( | const ShaderClosure * | sc, |
| float3 | Ng, | ||
| float3 | I, | ||
| float3 | dIdx, | ||
| float3 | dIdy, | ||
| float | randu, | ||
| float | randv, | ||
| float3 * | eval, | ||
| float3 * | omega_in, | ||
| float3 * | domega_in_dx, | ||
| float3 * | domega_in_dy, | ||
| float * | |||
| ) |
Definition at line 101 of file bsdf_transparent.h.
References I, LABEL_TRANSMIT, LABEL_TRANSPARENT, and make_float3.
Referenced by bsdf_sample().
| CCL_NAMESPACE_BEGIN ccl_device void bsdf_transparent_setup | ( | ShaderData * | sd, |
| const float3 | weight, | ||
| int | path_flag | ||
| ) |
Definition at line 38 of file bsdf_transparent.h.
References average(), closure_alloc(), CLOSURE_BSDF_TRANSPARENT_ID, CLOSURE_WEIGHT_CUTOFF, fabsf, PATH_RAY_TERMINATE, SD_BSDF, SD_TRANSPARENT, and ShaderClosure.
Referenced by TransparentClosure::setup(), and svm_node_closure_bsdf().