Blender
V3.3
|
Go to the source code of this file.
Functions | |
CCL_NAMESPACE_BEGIN ccl_device_noinline int | svm_node_normal (KernelGlobals kg, ccl_private ShaderData *sd, ccl_private float *stack, uint in_normal_offset, uint out_normal_offset, uint out_dot_offset, int offset) |
CCL_NAMESPACE_BEGIN ccl_device_noinline int svm_node_normal | ( | KernelGlobals | kg, |
ccl_private ShaderData * | sd, | ||
ccl_private float * | stack, | ||
uint | in_normal_offset, | ||
uint | out_normal_offset, | ||
uint | out_dot_offset, | ||
int | offset | ||
) |
Definition at line 8 of file normal.h.
References __int_as_float(), blender::math::dot(), normal, blender::math::normalize(), offset, read_node(), stack_load_float3(), stack_store_float(), stack_store_float3(), stack_valid(), float3::x, uint4::x, float3::y, uint4::y, float3::z, and uint4::z.
Referenced by svm_eval_nodes().