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