|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device int | bsdf_reflection_setup (MicrofacetBsdf *bsdf) |
| ccl_device float3 | bsdf_reflection_eval_reflect (const ShaderClosure *sc, const float3 I, const float3 omega_in, float *pdf) |
| ccl_device float3 | bsdf_reflection_eval_transmit (const ShaderClosure *sc, const float3 I, const float3 omega_in, float *pdf) |
| ccl_device int | bsdf_reflection_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_reflection_eval_reflect | ( | const ShaderClosure * | sc, |
| const float3 | I, | ||
| const float3 | omega_in, | ||
| float * | |||
| ) |
| ccl_device float3 bsdf_reflection_eval_transmit | ( | const ShaderClosure * | sc, |
| const float3 | I, | ||
| const float3 | omega_in, | ||
| float * | |||
| ) |
| ccl_device int bsdf_reflection_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 62 of file bsdf_reflection.h.
References dot(), I, LABEL_REFLECT, LABEL_SINGULAR, make_float3, and N.
Referenced by bsdf_sample().
| CCL_NAMESPACE_BEGIN ccl_device int bsdf_reflection_setup | ( | MicrofacetBsdf * | bsdf | ) |
Definition at line 40 of file bsdf_reflection.h.
References CLOSURE_BSDF_REFLECTION_ID, and SD_BSDF.
Referenced by svm_node_closure_bsdf(), and svm_node_glass_setup().