50 const float roughness,
51 const float lacunarity,
82 const float roughness,
83 const float lacunarity,
86 const float distortion,
94 if (distortion != 0.0f) {
99 if (color_is_needed) {
122 const float roughness,
123 const float lacunarity,
126 const float distortion,
129 const bool color_is_needed,
134 if (distortion != 0.0f) {
140 if (color_is_needed) {
163 const float roughness,
164 const float lacunarity,
167 const float distortion,
170 const bool color_is_needed,
175 if (distortion != 0.0f) {
182 if (color_is_needed) {
205 const float roughness,
206 const float lacunarity,
209 const float distortion,
212 const bool color_is_needed,
217 if (distortion != 0.0f) {
225 if (color_is_needed) {
260 roughness =
fmaxf(roughness, 0.0f);
267 switch (
node.dimensions) {
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
ccl_device_inline void stack_store_float(ccl_private float *stack, const uint a, const float f)
ccl_device_inline float3 stack_load_float3(const ccl_private float *stack, const uint a)
ccl_device_inline void stack_store_float3(ccl_private float *stack, const uint a, const float3 f)
ccl_device_inline bool stack_valid(const uint a)
ccl_device_inline T stack_load(const ccl_private float *stack, const uint a)
#define kernel_assert(cond)
#define ccl_device_inline
#define ccl_device_noinline
#define CCL_NAMESPACE_END
float hash_float_to_float(float k)
VecBase< float, D > normalize(VecOp< float, D >) RET
constexpr T clamp(T, U, U) RET
float noise_fbm(T co, float detail, float roughness, float lacunarity, float, float, bool normalize)
float noise_multi_fractal(T co, float detail, float roughness, float lacunarity, float, float, bool)
float noise_hybrid_multi_fractal(T co, float detail, float roughness, float lacunarity, float offset, float gain, bool)
float noise_ridged_multi_fractal(T co, float detail, float roughness, float lacunarity, float offset, float gain, bool)
float noise_hetero_terrain(T co, float detail, float roughness, float lacunarity, float offset, float, bool)
float random_float_offset(float seed)
float3x3 scale(float3x3 mat, float2 scale)
ccl_device_inline float hash_float2_to_float(const float2 k)
@ NODE_NOISE_HYBRID_MULTIFRACTAL
@ NODE_NOISE_RIDGED_MULTIFRACTAL
@ NODE_NOISE_HETERO_TERRAIN
@ NODE_NOISE_MULTIFRACTAL
ccl_device_inline float snoise_1d(float p)
ccl_device_inline float snoise_2d(float2 p)
ccl_device_inline float snoise_3d(float3 p)
ccl_device_inline float snoise_4d(float4 p)
ccl_device_noinline void svm_node_tex_noise(ccl_private float *ccl_restrict stack, const ccl_global SVMNodeTexNoise &ccl_restrict node)
ccl_device_inline float2 random_float2_offset(const float seed)
ccl_device void noise_texture_2d(const float2 co, const float detail, const float roughness, const float lacunarity, const float offset, const float gain, const float distortion, const int type, const bool normalize, const bool color_is_needed, ccl_private float *value, ccl_private float3 *color)
ccl_device void noise_texture_4d(const float4 co, const float detail, const float roughness, const float lacunarity, const float offset, const float gain, const float distortion, const int type, const bool normalize, const bool color_is_needed, ccl_private float *value, ccl_private float3 *color)
ccl_device void noise_texture_1d(const float co, const float detail, const float roughness, const float lacunarity, const float offset, const float gain, const float distortion, const int type, bool normalize, bool color_is_needed, ccl_private float *value, ccl_private float3 *color)
ccl_device void noise_texture_3d(const float3 co, const float detail, const float roughness, const float lacunarity, const float offset, const float gain, const float distortion, const int type, const bool normalize, const bool color_is_needed, ccl_private float *value, ccl_private float3 *color)
ccl_device float noise_select(T p, const float detail, const float roughness, const float lacunarity, const float offset, const float gain, const int type, bool normalize)
ccl_device_inline float4 random_float4_offset(const float seed)
ccl_device_inline float3 random_float3_offset(const float seed)