|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device void | background_setup (ccl_private ShaderData *sd, const Spectrum weight) |
| ccl_device void | emission_setup (ccl_private ShaderData *sd, const Spectrum weight) |
| ccl_device float | emissive_pdf (const float3 Ng, const float3 wi) |
| ccl_device void | emissive_sample (const float3 Ng, float randu, float randv, ccl_private float3 *wi, ccl_private float *pdf) |
| ccl_device Spectrum | emissive_simple_eval (const float3 Ng, const float3 wi) |
| CCL_NAMESPACE_BEGIN ccl_device void background_setup | ( | ccl_private ShaderData * | sd, |
| const Spectrum | weight ) |
Definition at line 14 of file emissive.h.
References SD_EMISSION.
Referenced by osl_closure_background_setup(), and svm_node_closure_background().
| ccl_device void emission_setup | ( | ccl_private ShaderData * | sd, |
| const Spectrum | weight ) |
Definition at line 27 of file emissive.h.
References SD_EMISSION.
Referenced by osl_closure_emission_setup(), svm_node_closure_bsdf(), svm_node_closure_emission(), and svm_node_principled_volume().
| ccl_device float emissive_pdf | ( | const float3 | Ng, |
| const float3 | wi ) |
Definition at line 41 of file emissive.h.
Referenced by emissive_simple_eval().
| ccl_device void emissive_sample | ( | const float3 | Ng, |
| float | randu, | ||
| float | randv, | ||
| ccl_private float3 * | wi, | ||
| ccl_private float * | pdf ) |
Definition at line 47 of file emissive.h.
| ccl_device Spectrum emissive_simple_eval | ( | const float3 | Ng, |
| const float3 | wi ) |
Definition at line 53 of file emissive.h.
References emissive_pdf(), and make_spectrum.
Referenced by surface_shader_emission().