|
Blender
V2.93
|
Go to the source code of this file.
Classes | |
| struct | PrincipledSheenBsdf |
Functions | |
| ccl_device_inline float | calculate_avg_principled_sheen_brdf (float3 N, float3 I) |
| ccl_device float3 | calculate_principled_sheen_brdf (float3 N, float3 V, float3 L, float3 H, float *pdf) |
| ccl_device int | bsdf_principled_sheen_setup (const ShaderData *sd, PrincipledSheenBsdf *bsdf) |
| ccl_device float3 | bsdf_principled_sheen_eval_reflect (const ShaderClosure *sc, const float3 I, const float3 omega_in, float *pdf) |
| ccl_device float3 | bsdf_principled_sheen_eval_transmit (const ShaderClosure *sc, const float3 I, const float3 omega_in, float *pdf) |
| ccl_device int | bsdf_principled_sheen_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) |
Variables | |
| CCL_NAMESPACE_BEGIN typedef ccl_addr_space struct PrincipledSheenBsdf | PrincipledSheenBsdf |
| ccl_device float3 bsdf_principled_sheen_eval_reflect | ( | const ShaderClosure * | sc, |
| const float3 | I, | ||
| const float3 | omega_in, | ||
| float * | |||
| ) |
Definition at line 73 of file bsdf_principled_sheen.h.
References calculate_principled_sheen_brdf(), dot(), fmaxf, H, I, L, M_1_PI_F, make_float3, N, normalize(), and V.
Referenced by bsdf_eval().
| ccl_device float3 bsdf_principled_sheen_eval_transmit | ( | const ShaderClosure * | sc, |
| const float3 | I, | ||
| const float3 | omega_in, | ||
| float * | |||
| ) |
Definition at line 95 of file bsdf_principled_sheen.h.
References make_float3.
Referenced by bsdf_eval().
| ccl_device int bsdf_principled_sheen_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 103 of file bsdf_principled_sheen.h.
References calculate_principled_sheen_brdf(), dot(), H, I, LABEL_DIFFUSE, LABEL_REFLECT, N, normalize(), and sample_cos_hemisphere().
Referenced by bsdf_sample().
| ccl_device int bsdf_principled_sheen_setup | ( | const ShaderData * | sd, |
| PrincipledSheenBsdf * | bsdf | ||
| ) |
Definition at line 65 of file bsdf_principled_sheen.h.
References PrincipledSheenBsdf::avg_value, calculate_avg_principled_sheen_brdf(), CLOSURE_BSDF_PRINCIPLED_SHEEN_ID, SD_BSDF, and SD_BSDF_HAS_EVAL.
Referenced by PrincipledSheenClosure::setup(), and svm_node_closure_bsdf().
| ccl_device_inline float calculate_avg_principled_sheen_brdf | ( | float3 | N, |
| float3 | I | ||
| ) |
Definition at line 35 of file bsdf_principled_sheen.h.
References dot(), I, N, and schlick_fresnel().
Referenced by bsdf_principled_sheen_setup().
| ccl_device float3 calculate_principled_sheen_brdf | ( | float3 | N, |
| float3 | V, | ||
| float3 | L, | ||
| float3 | H, | ||
| float * | |||
| ) |
Definition at line 48 of file bsdf_principled_sheen.h.
References dot(), H, L, make_float3, N, schlick_fresnel(), and V.
Referenced by bsdf_principled_sheen_eval_reflect(), and bsdf_principled_sheen_sample().
| CCL_NAMESPACE_BEGIN typedef ccl_addr_space struct PrincipledSheenBsdf PrincipledSheenBsdf |