Blender
V3.3
|
Go to the source code of this file.
Functions | |
CCL_NAMESPACE_BEGIN ccl_device int | bsdf_reflection_setup (ccl_private MicrofacetBsdf *bsdf) |
ccl_device float3 | bsdf_reflection_eval_reflect (ccl_private const ShaderClosure *sc, const float3 I, const float3 omega_in, ccl_private float *pdf) |
ccl_device float3 | bsdf_reflection_eval_transmit (ccl_private const ShaderClosure *sc, const float3 I, const float3 omega_in, ccl_private float *pdf) |
ccl_device int | bsdf_reflection_sample (ccl_private const ShaderClosure *sc, float3 Ng, float3 I, float3 dIdx, float3 dIdy, float randu, float randv, ccl_private float3 *eval, ccl_private float3 *omega_in, ccl_private float3 *domega_in_dx, ccl_private float3 *domega_in_dy, ccl_private float *pdf) |
ccl_device float3 bsdf_reflection_eval_reflect | ( | ccl_private const ShaderClosure * | sc, |
const float3 | I, | ||
const float3 | omega_in, | ||
ccl_private float * | |||
) |
ccl_device float3 bsdf_reflection_eval_transmit | ( | ccl_private const ShaderClosure * | sc, |
const float3 | I, | ||
const float3 | omega_in, | ||
ccl_private float * | |||
) |
ccl_device int bsdf_reflection_sample | ( | ccl_private const ShaderClosure * | sc, |
float3 | Ng, | ||
float3 | I, | ||
float3 | dIdx, | ||
float3 | dIdy, | ||
float | randu, | ||
float | randv, | ||
ccl_private float3 * | eval, | ||
ccl_private float3 * | omega_in, | ||
ccl_private float3 * | domega_in_dx, | ||
ccl_private float3 * | domega_in_dy, | ||
ccl_private float * | |||
) |
Definition at line 39 of file bsdf_reflection.h.
References ccl_private, blender::math::dot(), I, LABEL_REFLECT, LABEL_SINGULAR, make_float3, and N.
Referenced by bsdf_sample().
CCL_NAMESPACE_BEGIN ccl_device int bsdf_reflection_setup | ( | ccl_private MicrofacetBsdf * | bsdf | ) |
Definition at line 15 of file bsdf_reflection.h.
References CLOSURE_BSDF_REFLECTION_ID, and SD_BSDF.
Referenced by svm_node_closure_bsdf(), and svm_node_glass_setup().