|
Blender V5.3
|
Go to the source code of this file.
Functions | |
| float | calc_gradient (float3 p, int gradient_type) |
| void | node_tex_gradient (float3 co, float gradient_type, float4 &color, float &fac) |
Definition at line 10 of file gpu_shader_material_tex_gradient.bsl.hh.
References atan, calc_gradient(), M_PI, max, min, sqrt, float3::x, x, float3::y, y, float3::z, and z().
Referenced by calc_gradient(), and node_tex_gradient().
Definition at line 48 of file gpu_shader_material_tex_gradient.bsl.hh.
References calc_gradient(), clamp(), and node_tex_gradient().
Referenced by node_tex_gradient().