Blender
V3.3
|
Go to the source code of this file.
Functions | |
CCL_NAMESPACE_BEGIN ccl_device void | background_setup (ccl_private ShaderData *sd, const float3 weight) |
ccl_device void | emission_setup (ccl_private 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, ccl_private float3 *omega_out, ccl_private float *pdf) |
ccl_device float3 | emissive_simple_eval (const float3 Ng, const float3 I) |
CCL_NAMESPACE_BEGIN ccl_device void background_setup | ( | ccl_private ShaderData * | sd, |
const float3 | weight | ||
) |
Definition at line 15 of file emissive.h.
References SD_EMISSION.
Referenced by GenericBackgroundClosure::setup(), and svm_node_closure_background().
ccl_device void emission_setup | ( | ccl_private ShaderData * | sd, |
const float3 | weight | ||
) |
Definition at line 28 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 42 of file emissive.h.
References blender::math::dot(), fabsf, and I.
Referenced by emissive_simple_eval().
ccl_device void emissive_sample | ( | const float3 | Ng, |
float | randu, | ||
float | randv, | ||
ccl_private float3 * | omega_out, | ||
ccl_private float * | |||
) |
Definition at line 48 of file emissive.h.
ccl_device float3 emissive_simple_eval | ( | const float3 | Ng, |
const float3 | I | ||
) |
Definition at line 57 of file emissive.h.
References emissive_pdf(), I, and make_float3.
Referenced by shader_emissive_eval().