|
Blender V5.3
|
#include "gpu_shader_material_fractal_voronoi.bsl.hh"Go to the source code of this file.
Macros | |
| #define | INITIALIZE_VORONOIPARAMS(FEATURE) |
Functions | |
| void | node_tex_voronoi_f1_1d (float3, float w, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &outDistance, float4 &outColor, float3 &, float &outW, float &) |
| void | node_tex_voronoi_smooth_f1_1d (float3, float w, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &outDistance, float4 &outColor, float3 &, float &outW, float &) |
| void | node_tex_voronoi_f2_1d (float3, float w, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &outDistance, float4 &outColor, float3 &, float &outW, float &) |
| void | node_tex_voronoi_distance_to_edge_1d (float3, float w, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &outDistance, float4 &, float3 &, float &, float &) |
| void | node_tex_voronoi_n_sphere_radius_1d (float3, float w, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &, float4 &, float3 &, float &, float &outRadius) |
| void | node_tex_voronoi_f1_2d (float3 coord, float, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &outDistance, float4 &outColor, float3 &outPosition, float &, float &) |
| void | node_tex_voronoi_smooth_f1_2d (float3 coord, float, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &outDistance, float4 &outColor, float3 &outPosition, float &, float &) |
| void | node_tex_voronoi_f2_2d (float3 coord, float, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &outDistance, float4 &outColor, float3 &outPosition, float &, float &) |
| void | node_tex_voronoi_distance_to_edge_2d (float3 coord, float, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &outDistance, float4 &, float3 &, float &, float &) |
| void | node_tex_voronoi_n_sphere_radius_2d (float3 coord, float, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &, float4 &, float3 &, float &, float &outRadius) |
| void | node_tex_voronoi_f1_3d (float3 coord, float, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &outDistance, float4 &outColor, float3 &outPosition, float &, float &) |
| void | node_tex_voronoi_smooth_f1_3d (float3 coord, float, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &outDistance, float4 &outColor, float3 &outPosition, float &, float &) |
| void | node_tex_voronoi_f2_3d (float3 coord, float, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &outDistance, float4 &outColor, float3 &outPosition, float &, float &) |
| void | node_tex_voronoi_distance_to_edge_3d (float3 coord, float, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &outDistance, float4 &, float3 &, float &, float &) |
| void | node_tex_voronoi_n_sphere_radius_3d (float3 coord, float, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &, float4 &, float3 &, float &, float &outRadius) |
| void | node_tex_voronoi_f1_4d (float3 coord, float w, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &outDistance, float4 &outColor, float3 &outPosition, float &outW, float &) |
| void | node_tex_voronoi_smooth_f1_4d (float3 coord, float w, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &outDistance, float4 &outColor, float3 &outPosition, float &outW, float &) |
| void | node_tex_voronoi_f2_4d (float3 coord, float w, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &outDistance, float4 &outColor, float3 &outPosition, float &outW, float &) |
| void | node_tex_voronoi_distance_to_edge_4d (float3 coord, float w, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &outDistance, float4 &, float3 &, float &, float &) |
| void | node_tex_voronoi_n_sphere_radius_4d (float3 coord, float w, float scale, float detail, float roughness, float lacunarity, float smoothness, float exponent, float randomness, float metric, float normalize, float &, float4 &, float3 &, float &, float &outRadius) |
| #define INITIALIZE_VORONOIPARAMS | ( | FEATURE | ) |
Definition at line 24 of file gpu_shader_material_tex_voronoi.bsl.hh.
Referenced by node_tex_voronoi_distance_to_edge_1d(), node_tex_voronoi_distance_to_edge_2d(), node_tex_voronoi_distance_to_edge_3d(), node_tex_voronoi_distance_to_edge_4d(), node_tex_voronoi_f1_1d(), node_tex_voronoi_f1_2d(), node_tex_voronoi_f1_3d(), node_tex_voronoi_f1_4d(), node_tex_voronoi_f2_1d(), node_tex_voronoi_f2_2d(), node_tex_voronoi_f2_3d(), node_tex_voronoi_f2_4d(), node_tex_voronoi_n_sphere_radius_1d(), node_tex_voronoi_n_sphere_radius_2d(), node_tex_voronoi_n_sphere_radius_3d(), node_tex_voronoi_n_sphere_radius_4d(), node_tex_voronoi_smooth_f1_1d(), node_tex_voronoi_smooth_f1_2d(), node_tex_voronoi_smooth_f1_3d(), and node_tex_voronoi_smooth_f1_4d().
| void node_tex_voronoi_distance_to_edge_1d | ( | float3 | , |
| float | w, | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | outDistance, | ||
| float4 & | , | ||
| float3 & | , | ||
| float & | , | ||
| float & | ) |
Definition at line 133 of file gpu_shader_material_tex_voronoi.bsl.hh.
References fractal_voronoi_distance_to_edge(), INITIALIZE_VORONOIPARAMS, VoronoiParams::max_distance, node_tex_voronoi_distance_to_edge_1d(), normalize, VoronoiParams::randomness, scale(), SHD_VORONOI_DISTANCE_TO_EDGE, and w().
Referenced by node_tex_voronoi_distance_to_edge_1d().
| void node_tex_voronoi_distance_to_edge_2d | ( | float3 | coord, |
| float | , | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | outDistance, | ||
| float4 & | , | ||
| float3 & | , | ||
| float & | , | ||
| float & | ) |
Definition at line 287 of file gpu_shader_material_tex_voronoi.bsl.hh.
References fractal_voronoi_distance_to_edge(), INITIALIZE_VORONOIPARAMS, VoronoiParams::max_distance, node_tex_voronoi_distance_to_edge_2d(), normalize, VoronoiParams::randomness, scale(), and SHD_VORONOI_DISTANCE_TO_EDGE.
Referenced by node_tex_voronoi_distance_to_edge_2d().
| void node_tex_voronoi_distance_to_edge_3d | ( | float3 | coord, |
| float | , | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | outDistance, | ||
| float4 & | , | ||
| float3 & | , | ||
| float & | , | ||
| float & | ) |
Definition at line 441 of file gpu_shader_material_tex_voronoi.bsl.hh.
References fractal_voronoi_distance_to_edge(), INITIALIZE_VORONOIPARAMS, VoronoiParams::max_distance, node_tex_voronoi_distance_to_edge_3d(), normalize, VoronoiParams::randomness, scale(), and SHD_VORONOI_DISTANCE_TO_EDGE.
Referenced by node_tex_voronoi_distance_to_edge_3d().
| void node_tex_voronoi_distance_to_edge_4d | ( | float3 | coord, |
| float | w, | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | outDistance, | ||
| float4 & | , | ||
| float3 & | , | ||
| float & | , | ||
| float & | ) |
Definition at line 601 of file gpu_shader_material_tex_voronoi.bsl.hh.
References fractal_voronoi_distance_to_edge(), INITIALIZE_VORONOIPARAMS, VoronoiParams::max_distance, node_tex_voronoi_distance_to_edge_4d(), normalize, VoronoiParams::randomness, scale(), SHD_VORONOI_DISTANCE_TO_EDGE, and w().
Referenced by node_tex_voronoi_distance_to_edge_4d().
| void node_tex_voronoi_f1_1d | ( | float3 | , |
| float | w, | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | outDistance, | ||
| float4 & | outColor, | ||
| float3 & | , | ||
| float & | outW, | ||
| float & | ) |
Definition at line 40 of file gpu_shader_material_tex_voronoi.bsl.hh.
References fractal_voronoi_x_fx(), INITIALIZE_VORONOIPARAMS, VoronoiParams::max_distance, node_tex_voronoi_f1_1d(), normalize, VoronoiParams::randomness, scale(), SHD_VORONOI_F1, and w().
Referenced by node_tex_voronoi_f1_1d().
| void node_tex_voronoi_f1_2d | ( | float3 | coord, |
| float | , | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | outDistance, | ||
| float4 & | outColor, | ||
| float3 & | outPosition, | ||
| float & | , | ||
| float & | ) |
Definition at line 190 of file gpu_shader_material_tex_voronoi.bsl.hh.
References fractal_voronoi_x_fx(), INITIALIZE_VORONOIPARAMS, VoronoiParams::max_distance, node_tex_voronoi_f1_2d(), normalize, VoronoiParams::randomness, scale(), SHD_VORONOI_F1, and voronoi_distance().
Referenced by node_tex_voronoi_f1_2d().
| void node_tex_voronoi_f1_3d | ( | float3 | coord, |
| float | , | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | outDistance, | ||
| float4 & | outColor, | ||
| float3 & | outPosition, | ||
| float & | , | ||
| float & | ) |
Definition at line 344 of file gpu_shader_material_tex_voronoi.bsl.hh.
References fractal_voronoi_x_fx(), INITIALIZE_VORONOIPARAMS, VoronoiParams::max_distance, node_tex_voronoi_f1_3d(), normalize, VoronoiParams::randomness, scale(), SHD_VORONOI_F1, and voronoi_distance().
Referenced by node_tex_voronoi_f1_3d().
| void node_tex_voronoi_f1_4d | ( | float3 | coord, |
| float | w, | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | outDistance, | ||
| float4 & | outColor, | ||
| float3 & | outPosition, | ||
| float & | outW, | ||
| float & | ) |
Definition at line 498 of file gpu_shader_material_tex_voronoi.bsl.hh.
References fractal_voronoi_x_fx(), INITIALIZE_VORONOIPARAMS, VoronoiParams::max_distance, node_tex_voronoi_f1_4d(), normalize, VoronoiParams::randomness, scale(), SHD_VORONOI_F1, voronoi_distance(), and w().
Referenced by node_tex_voronoi_f1_4d().
| void node_tex_voronoi_f2_1d | ( | float3 | , |
| float | w, | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | outDistance, | ||
| float4 & | outColor, | ||
| float3 & | , | ||
| float & | outW, | ||
| float & | ) |
Definition at line 102 of file gpu_shader_material_tex_voronoi.bsl.hh.
References fractal_voronoi_x_fx(), INITIALIZE_VORONOIPARAMS, VoronoiParams::max_distance, node_tex_voronoi_f2_1d(), normalize, VoronoiParams::randomness, scale(), SHD_VORONOI_F2, and w().
Referenced by node_tex_voronoi_f2_1d().
| void node_tex_voronoi_f2_2d | ( | float3 | coord, |
| float | , | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | outDistance, | ||
| float4 & | outColor, | ||
| float3 & | outPosition, | ||
| float & | , | ||
| float & | ) |
Definition at line 254 of file gpu_shader_material_tex_voronoi.bsl.hh.
References fractal_voronoi_x_fx(), INITIALIZE_VORONOIPARAMS, VoronoiParams::max_distance, node_tex_voronoi_f2_2d(), normalize, VoronoiParams::randomness, scale(), SHD_VORONOI_F2, and voronoi_distance().
Referenced by node_tex_voronoi_f2_2d().
| void node_tex_voronoi_f2_3d | ( | float3 | coord, |
| float | , | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | outDistance, | ||
| float4 & | outColor, | ||
| float3 & | outPosition, | ||
| float & | , | ||
| float & | ) |
Definition at line 408 of file gpu_shader_material_tex_voronoi.bsl.hh.
References fractal_voronoi_x_fx(), INITIALIZE_VORONOIPARAMS, VoronoiParams::max_distance, node_tex_voronoi_f2_3d(), normalize, VoronoiParams::randomness, scale(), SHD_VORONOI_F2, and voronoi_distance().
Referenced by node_tex_voronoi_f2_3d().
| void node_tex_voronoi_f2_4d | ( | float3 | coord, |
| float | w, | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | outDistance, | ||
| float4 & | outColor, | ||
| float3 & | outPosition, | ||
| float & | outW, | ||
| float & | ) |
Definition at line 566 of file gpu_shader_material_tex_voronoi.bsl.hh.
References fractal_voronoi_x_fx(), INITIALIZE_VORONOIPARAMS, VoronoiParams::max_distance, node_tex_voronoi_f2_4d(), normalize, VoronoiParams::randomness, scale(), SHD_VORONOI_F2, voronoi_distance(), and w().
Referenced by node_tex_voronoi_f2_4d().
| void node_tex_voronoi_n_sphere_radius_1d | ( | float3 | , |
| float | w, | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | , | ||
| float4 & | , | ||
| float3 & | , | ||
| float & | , | ||
| float & | outRadius ) |
Definition at line 161 of file gpu_shader_material_tex_voronoi.bsl.hh.
References INITIALIZE_VORONOIPARAMS, node_tex_voronoi_n_sphere_radius_1d(), normalize, scale(), SHD_VORONOI_N_SPHERE_RADIUS, voronoi_n_sphere_radius(), and w().
Referenced by node_tex_voronoi_n_sphere_radius_1d().
| void node_tex_voronoi_n_sphere_radius_2d | ( | float3 | coord, |
| float | , | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | , | ||
| float4 & | , | ||
| float3 & | , | ||
| float & | , | ||
| float & | outRadius ) |
Definition at line 315 of file gpu_shader_material_tex_voronoi.bsl.hh.
References INITIALIZE_VORONOIPARAMS, node_tex_voronoi_n_sphere_radius_2d(), normalize, scale(), SHD_VORONOI_N_SPHERE_RADIUS, and voronoi_n_sphere_radius().
Referenced by node_tex_voronoi_n_sphere_radius_2d().
| void node_tex_voronoi_n_sphere_radius_3d | ( | float3 | coord, |
| float | , | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | , | ||
| float4 & | , | ||
| float3 & | , | ||
| float & | , | ||
| float & | outRadius ) |
Definition at line 469 of file gpu_shader_material_tex_voronoi.bsl.hh.
References INITIALIZE_VORONOIPARAMS, node_tex_voronoi_n_sphere_radius_3d(), normalize, scale(), SHD_VORONOI_N_SPHERE_RADIUS, and voronoi_n_sphere_radius().
Referenced by node_tex_voronoi_n_sphere_radius_3d().
| void node_tex_voronoi_n_sphere_radius_4d | ( | float3 | coord, |
| float | w, | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | , | ||
| float4 & | , | ||
| float3 & | , | ||
| float & | , | ||
| float & | outRadius ) |
Definition at line 630 of file gpu_shader_material_tex_voronoi.bsl.hh.
References INITIALIZE_VORONOIPARAMS, node_tex_voronoi_n_sphere_radius_4d(), normalize, scale(), SHD_VORONOI_N_SPHERE_RADIUS, voronoi_n_sphere_radius(), and w().
Referenced by node_tex_voronoi_n_sphere_radius_4d().
| void node_tex_voronoi_smooth_f1_1d | ( | float3 | , |
| float | w, | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | outDistance, | ||
| float4 & | outColor, | ||
| float3 & | , | ||
| float & | outW, | ||
| float & | ) |
Definition at line 71 of file gpu_shader_material_tex_voronoi.bsl.hh.
References fractal_voronoi_x_fx(), INITIALIZE_VORONOIPARAMS, VoronoiParams::max_distance, node_tex_voronoi_smooth_f1_1d(), normalize, VoronoiParams::randomness, scale(), SHD_VORONOI_SMOOTH_F1, and w().
Referenced by node_tex_voronoi_smooth_f1_1d().
| void node_tex_voronoi_smooth_f1_2d | ( | float3 | coord, |
| float | , | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | outDistance, | ||
| float4 & | outColor, | ||
| float3 & | outPosition, | ||
| float & | , | ||
| float & | ) |
Definition at line 222 of file gpu_shader_material_tex_voronoi.bsl.hh.
References fractal_voronoi_x_fx(), INITIALIZE_VORONOIPARAMS, VoronoiParams::max_distance, node_tex_voronoi_smooth_f1_2d(), normalize, VoronoiParams::randomness, scale(), SHD_VORONOI_SMOOTH_F1, and voronoi_distance().
Referenced by node_tex_voronoi_smooth_f1_2d().
| void node_tex_voronoi_smooth_f1_3d | ( | float3 | coord, |
| float | , | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | outDistance, | ||
| float4 & | outColor, | ||
| float3 & | outPosition, | ||
| float & | , | ||
| float & | ) |
Definition at line 376 of file gpu_shader_material_tex_voronoi.bsl.hh.
References fractal_voronoi_x_fx(), INITIALIZE_VORONOIPARAMS, VoronoiParams::max_distance, node_tex_voronoi_smooth_f1_3d(), normalize, VoronoiParams::randomness, scale(), SHD_VORONOI_SMOOTH_F1, and voronoi_distance().
Referenced by node_tex_voronoi_smooth_f1_3d().
| void node_tex_voronoi_smooth_f1_4d | ( | float3 | coord, |
| float | w, | ||
| float | scale, | ||
| float | detail, | ||
| float | roughness, | ||
| float | lacunarity, | ||
| float | smoothness, | ||
| float | exponent, | ||
| float | randomness, | ||
| float | metric, | ||
| float | normalize, | ||
| float & | outDistance, | ||
| float4 & | outColor, | ||
| float3 & | outPosition, | ||
| float & | outW, | ||
| float & | ) |
Definition at line 532 of file gpu_shader_material_tex_voronoi.bsl.hh.
References fractal_voronoi_x_fx(), INITIALIZE_VORONOIPARAMS, VoronoiParams::max_distance, node_tex_voronoi_smooth_f1_4d(), normalize, VoronoiParams::randomness, scale(), SHD_VORONOI_SMOOTH_F1, voronoi_distance(), and w().
Referenced by node_tex_voronoi_smooth_f1_4d().