|
Blender V4.3
|
#include "kernel/camera/projection.h"#include "kernel/integrator/displacement_shader.h"#include "kernel/integrator/surface_shader.h"#include "kernel/geom/geom.h"#include "kernel/util/color.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 51 of file kernel/bake/bake.h.
References ccl_device, ccl_global, color, ensure_finite(), equirectangular_to_direction(), INTEGRATOR_STATE_NULL, isfinite_safe(), kernel_assert, KERNEL_FEATURE_NODE_LIGHT_PATH, KERNEL_FEATURE_NODE_MASK_SURFACE_LIGHT, KERNEL_FEATURE_NODE_RAYTRACE, NULL, output, PATH_RAY_EMISSION, PATH_RAY_IMPORTANCE_BAKE, shader_setup_from_background(), ShaderData, spectrum_to_rgb(), surface_shader_background(), surface_shader_eval(), KernelShaderEvalInput::u, KernelShaderEvalInput::v, float3::x, float3::y, float3::z, 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 92 of file kernel/bake/bake.h.
References __float_as_int, average(), ccl_device, ccl_global, clamp(), INTEGRATOR_STATE_NULL, KERNEL_FEATURE_NODE_LIGHT_PATH, KERNEL_FEATURE_NODE_MASK_SURFACE_SHADOW, KERNEL_FEATURE_NODE_RAYTRACE, NULL, KernelShaderEvalInput::object, output, PATH_RAY_SHADOW, KernelShaderEvalInput::prim, ShaderData, surface_shader_eval(), surface_shader_transparency(), 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 17 of file kernel/bake/bake.h.
References ccl_device, ccl_global, D, displacement_shader_eval(), ensure_finite(), INTEGRATOR_STATE_NULL, isfinite_safe(), kernel_assert, KernelShaderEvalInput::object, object_inverse_dir_transform(), output, P, KernelShaderEvalInput::prim, shader_setup_from_displace(), ShaderData, KernelShaderEvalInput::u, and KernelShaderEvalInput::v.
Referenced by shader_eval_displace().