|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device_inline float | brick_noise (uint n) |
| ccl_device_noinline_cpu float2 | svm_brick (float3 p, float mortar_size, float mortar_smooth, float bias, float brick_width, float row_height, float offset_amount, int offset_frequency, float squash_amount, int squash_frequency) |
| ccl_device void | svm_node_tex_brick (KernelGlobals *kg, ShaderData *sd, float *stack, uint4 node, int *offset) |
| CCL_NAMESPACE_BEGIN ccl_device_inline float brick_noise | ( | uint | n | ) |
| ccl_device_noinline_cpu float2 svm_brick | ( | float3 | p, |
| float | mortar_size, | ||
| float | mortar_smooth, | ||
| float | bias, | ||
| float | brick_width, | ||
| float | row_height, | ||
| float | offset_amount, | ||
| int | offset_frequency, | ||
| float | squash_amount, | ||
| int | squash_frequency | ||
| ) |
Definition at line 30 of file svm_brick.h.
References brick_noise(), floor_to_int(), make_float2, min, saturate(), smoothstepf(), float3::x, x, float3::y, and y.
Referenced by svm_node_tex_brick().
| ccl_device void svm_node_tex_brick | ( | KernelGlobals * | kg, |
| ShaderData * | sd, | ||
| float * | stack, | ||
| uint4 | node, | ||
| int * | offset | ||
| ) |
Definition at line 75 of file svm_brick.h.
References __int_as_float(), kg, node, read_node(), stack_load_float3(), stack_load_float_default(), stack_store_float(), stack_store_float3(), stack_valid(), svm_brick(), svm_unpack_node_uchar2(), svm_unpack_node_uchar4(), uint4::w, float2::x, uint4::x, float2::y, uint4::y, and uint4::z.
Referenced by svm_eval_nodes().