Blender
V3.3
|
#include "kernel/camera/projection.h"
#include "kernel/integrator/shader_eval.h"
#include "kernel/geom/geom.h"
Go to the source code of this file.
Functions | |
CCL_NAMESPACE_BEGIN ccl_device void | kernel_displace_evaluate (KernelGlobals kg, ccl_global const KernelShaderEvalInput *input, ccl_global float *output, const int offset) |
ccl_device void | kernel_background_evaluate (KernelGlobals kg, ccl_global const KernelShaderEvalInput *input, ccl_global float *output, const int offset) |
ccl_device void | kernel_curve_shadow_transparency_evaluate (KernelGlobals kg, ccl_global const KernelShaderEvalInput *input, ccl_global float *output, const int offset) |
ccl_device void kernel_background_evaluate | ( | KernelGlobals | kg, |
ccl_global const KernelShaderEvalInput * | input, | ||
ccl_global float * | output, | ||
const int | offset | ||
) |
Definition at line 47 of file kernel/bake/bake.h.
References color, ensure_finite(), equirectangular_to_direction(), input, INTEGRATOR_STATE_NULL, isfinite_safe(), kernel_assert, KERNEL_FEATURE_NODE_LIGHT_PATH, KERNEL_FEATURE_NODE_MASK_SURFACE_LIGHT, KERNEL_FEATURE_NODE_RAYTRACE, NULL, offset, output, PATH_RAY_EMISSION, shader_background_eval(), shader_eval_surface(), shader_setup_from_background(), ShaderData, KernelShaderEvalInput::u, KernelShaderEvalInput::v, and zero_float3().
Referenced by shader_eval_background().
ccl_device void kernel_curve_shadow_transparency_evaluate | ( | KernelGlobals | kg, |
ccl_global const KernelShaderEvalInput * | input, | ||
ccl_global float * | output, | ||
const int | offset | ||
) |
Definition at line 85 of file kernel/bake/bake.h.
References __float_as_int(), average(), blender::math::clamp(), input, INTEGRATOR_STATE_NULL, KERNEL_FEATURE_NODE_LIGHT_PATH, KERNEL_FEATURE_NODE_MASK_SURFACE_SHADOW, KERNEL_FEATURE_NODE_RAYTRACE, NULL, KernelShaderEvalInput::object, offset, output, PATH_RAY_SHADOW, KernelShaderEvalInput::prim, shader_bsdf_transparency(), shader_eval_surface(), shader_setup_from_curve(), ShaderData, KernelShaderEvalInput::u, and KernelShaderEvalInput::v.
Referenced by shader_eval_curve_shadow_transparency().
CCL_NAMESPACE_BEGIN ccl_device void kernel_displace_evaluate | ( | KernelGlobals | kg, |
ccl_global const KernelShaderEvalInput * | input, | ||
ccl_global float * | output, | ||
const int | offset | ||
) |
Definition at line 13 of file kernel/bake/bake.h.
References D(), ensure_finite(), input, INTEGRATOR_STATE_NULL, isfinite_safe(), kernel_assert, KernelShaderEvalInput::object, object_inverse_dir_transform(), offset, output, P(), KernelShaderEvalInput::prim, shader_eval_displacement(), shader_setup_from_displace(), ShaderData, KernelShaderEvalInput::u, and KernelShaderEvalInput::v.
Referenced by shader_eval_displace().