|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device_inline float | random_float_offset (float seed) |
| ccl_device_inline float2 | random_float2_offset (float seed) |
| ccl_device_inline float3 | random_float3_offset (float seed) |
| ccl_device_inline float4 | random_float4_offset (float seed) |
| ccl_device void | noise_texture_1d (float co, float detail, float roughness, float distortion, bool color_is_needed, float *value, float3 *color) |
| ccl_device void | noise_texture_2d (float2 co, float detail, float roughness, float distortion, bool color_is_needed, float *value, float3 *color) |
| ccl_device void | noise_texture_3d (float3 co, float detail, float roughness, float distortion, bool color_is_needed, float *value, float3 *color) |
| ccl_device void | noise_texture_4d (float4 co, float detail, float roughness, float distortion, bool color_is_needed, float *value, float3 *color) |
| ccl_device void | svm_node_tex_noise (KernelGlobals *kg, ShaderData *sd, float *stack, uint dimensions, uint offsets1, uint offsets2, int *offset) |
| ccl_device void noise_texture_1d | ( | float | co, |
| float | detail, | ||
| float | roughness, | ||
| float | distortion, | ||
| bool | color_is_needed, | ||
| float * | value, | ||
| float3 * | color | ||
| ) |
Definition at line 53 of file svm_noisetex.h.
References fractal_noise_1d(), make_float3, random_float_offset(), usdtokens::roughness(), and snoise_1d().
Referenced by svm_node_tex_noise().
| ccl_device void noise_texture_2d | ( | float2 | co, |
| float | detail, | ||
| float | roughness, | ||
| float | distortion, | ||
| bool | color_is_needed, | ||
| float * | value, | ||
| float3 * | color | ||
| ) |
Definition at line 74 of file svm_noisetex.h.
References fractal_noise_2d(), make_float2, make_float3, random_float2_offset(), usdtokens::roughness(), and snoise_2d().
Referenced by svm_node_tex_noise().
| ccl_device void noise_texture_3d | ( | float3 | co, |
| float | detail, | ||
| float | roughness, | ||
| float | distortion, | ||
| bool | color_is_needed, | ||
| float * | value, | ||
| float3 * | color | ||
| ) |
Definition at line 96 of file svm_noisetex.h.
References fractal_noise_3d(), make_float3, random_float3_offset(), usdtokens::roughness(), and snoise_3d().
Referenced by svm_node_tex_noise().
| ccl_device void noise_texture_4d | ( | float4 | co, |
| float | detail, | ||
| float | roughness, | ||
| float | distortion, | ||
| bool | color_is_needed, | ||
| float * | value, | ||
| float3 * | color | ||
| ) |
Definition at line 119 of file svm_noisetex.h.
References fractal_noise_4d(), make_float3, make_float4, random_float4_offset(), usdtokens::roughness(), and snoise_4d().
Referenced by svm_node_tex_noise().
| ccl_device_inline float2 random_float2_offset | ( | float | seed | ) |
Definition at line 32 of file svm_noisetex.h.
References hash_float2_to_float(), make_float2, and seed.
Referenced by noise_texture_2d().
| ccl_device_inline float3 random_float3_offset | ( | float | seed | ) |
Definition at line 38 of file svm_noisetex.h.
References hash_float2_to_float(), make_float2, make_float3, and seed.
Referenced by noise_texture_3d().
| ccl_device_inline float4 random_float4_offset | ( | float | seed | ) |
Definition at line 45 of file svm_noisetex.h.
References hash_float2_to_float(), make_float2, make_float4, and seed.
Referenced by noise_texture_4d().
| CCL_NAMESPACE_BEGIN ccl_device_inline float random_float_offset | ( | float | seed | ) |
Definition at line 27 of file svm_noisetex.h.
References hash_float_to_float(), and seed.
Referenced by noise_texture_1d().
| ccl_device void svm_node_tex_noise | ( | KernelGlobals * | kg, |
| ShaderData * | sd, | ||
| float * | stack, | ||
| uint | dimensions, | ||
| uint | offsets1, | ||
| uint | offsets2, | ||
| int * | offset | ||
| ) |
Definition at line 143 of file svm_noisetex.h.
References kernel_assert, kg, make_float2, make_float4, noise_texture_1d(), noise_texture_2d(), noise_texture_3d(), noise_texture_4d(), read_node(), usdtokens::roughness(), stack_load_float3(), stack_load_float_default(), stack_store_float(), stack_store_float3(), stack_valid(), svm_unpack_node_uchar4(), w(), uint4::w, uint4::x, uint4::y, and uint4::z.
Referenced by svm_eval_nodes().