|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device void | background_setup (ShaderData *sd, const float3 weight) |
| ccl_device void | emission_setup (ShaderData *sd, const float3 weight) |
| ccl_device float | emissive_pdf (const float3 Ng, const float3 I) |
| ccl_device void | emissive_sample (const float3 Ng, float randu, float randv, float3 *omega_out, float *pdf) |
| ccl_device float3 | emissive_simple_eval (const float3 Ng, const float3 I) |
| CCL_NAMESPACE_BEGIN ccl_device void background_setup | ( | ShaderData * | sd, |
| const float3 | weight | ||
| ) |
Definition at line 37 of file emissive.h.
References SD_EMISSION.
Referenced by GenericBackgroundClosure::setup(), and svm_node_closure_background().
| ccl_device void emission_setup | ( | ShaderData * | sd, |
| const float3 | weight | ||
| ) |
Definition at line 50 of file emissive.h.
References SD_EMISSION.
Referenced by GenericEmissiveClosure::setup(), svm_node_closure_emission(), and svm_node_principled_volume().
| ccl_device float emissive_pdf | ( | const float3 | Ng, |
| const float3 | I | ||
| ) |
Definition at line 64 of file emissive.h.
References dot(), fabsf, and I.
Referenced by emissive_simple_eval().
| ccl_device void emissive_sample | ( | const float3 | Ng, |
| float | randu, | ||
| float | randv, | ||
| float3 * | omega_out, | ||
| float * | |||
| ) |
Definition at line 70 of file emissive.h.
| ccl_device float3 emissive_simple_eval | ( | const float3 | Ng, |
| const float3 | I | ||
| ) |
Definition at line 76 of file emissive.h.
References emissive_pdf(), I, and make_float3.
Referenced by shader_emissive_eval().