|
Blender V4.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 9 of file normal.h.
References __int_as_float, dot(), normalize(), read_node(), stack_load_float3(), stack_store_float(), stack_store_float3(), stack_valid(), float3::x, uint4::x, uint4::y, and uint4::z.
Referenced by svm_eval_nodes().