Blender  V3.3
Functions
noisetex.h File Reference
#include "kernel/svm/fractal_noise.h"

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, ccl_private float *value, ccl_private float3 *color)
 
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)
 
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)
 
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)
 
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)
 

Function Documentation

◆ noise_texture_1d()

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 
)

◆ noise_texture_2d()

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 
)

◆ noise_texture_3d()

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 
)

◆ noise_texture_4d()

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 
)

◆ random_float2_offset()

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().

◆ random_float3_offset()

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().

◆ random_float4_offset()

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().

◆ random_float_offset()

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().

◆ svm_node_tex_noise()

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 
)