Blender
V3.3
|
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_noinline int | svm_node_tex_brick (KernelGlobals kg, ccl_private ShaderData *sd, ccl_private 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 19 of file brick.h.
References brick_noise(), floor_to_int(), make_float2, min, offset, saturatef(), smoothstepf(), float3::x, x, float3::y, and y.
Referenced by svm_node_tex_brick().
ccl_device_noinline int svm_node_tex_brick | ( | KernelGlobals | kg, |
ccl_private ShaderData * | sd, | ||
ccl_private float * | stack, | ||
uint4 | node, | ||
int | offset | ||
) |
Definition at line 64 of file brick.h.
References __int_as_float(), node, offset, 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().