Blender
V3.3
|
#include "kernel/svm/fractal_noise.h"
Go to the source code of this file.
ccl_device void noise_texture_1d | ( | float | co, |
float | detail, | ||
float | roughness, | ||
float | distortion, | ||
bool | color_is_needed, | ||
ccl_private float * | value, | ||
ccl_private float3 * | color | ||
) |
Definition at line 44 of file noisetex.h.
References color, 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, | ||
ccl_private float * | value, | ||
ccl_private float3 * | color | ||
) |
Definition at line 65 of file noisetex.h.
References color, 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, | ||
ccl_private float * | value, | ||
ccl_private float3 * | color | ||
) |
Definition at line 87 of file noisetex.h.
References color, 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, | ||
ccl_private float * | value, | ||
ccl_private float3 * | color | ||
) |
Definition at line 110 of file noisetex.h.
References color, 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 23 of file 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 29 of file 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 36 of file 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 18 of file noisetex.h.
References blender::noise::hash_float_to_float(), and seed.
Referenced by noise_texture_1d().
ccl_device_noinline int svm_node_tex_noise | ( | KernelGlobals | kg, |
ccl_private ShaderData * | sd, | ||
ccl_private float * | stack, | ||
uint | dimensions, | ||
uint | offsets1, | ||
uint | offsets2, | ||
int | offset | ||
) |
Definition at line 134 of file noisetex.h.
References color, kernel_assert, make_float2, make_float4, noise_texture_1d(), noise_texture_2d(), noise_texture_3d(), noise_texture_4d(), offset, 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().