|
Blender V5.3
|
Go to the source code of this file.
Functions | |
| void | differentiate_texco (float3 v, float3 &df) |
| void | differentiate_texco (float4 v, float3 &df) |
| void | node_bump (float strength, float dist, float filter_width, float height, float3 N, float2 height_xy, float invert, KernelGlobals &kg, const ShadingData &sd, float3 &result) |
Definition at line 11 of file gpu_shader_material_bump.bsl.hh.
References differentiate_texco().
Referenced by differentiate_texco(), and differentiate_texco().
Definition at line 19 of file gpu_shader_material_bump.bsl.hh.
References differentiate_texco().
| void node_bump | ( | float | strength, |
| float | dist, | ||
| float | filter_width, | ||
| float | height, | ||
| float3 | N, | ||
| float2 | height_xy, | ||
| float | invert, | ||
| KernelGlobals & | kg, | ||
| const ShadingData & | sd, | ||
| float3 & | result ) |
Definition at line 26 of file gpu_shader_material_bump.bsl.hh.
References abs, cross, derivative_scale_get(), dot(), dPdx(), dPdy(), gpu_dfdx(), gpu_dfdy(), invert(), max, mix, N, node_bump(), normalize, ShadingData::P, resource_table, sign(), float2::x, and float2::y.
Referenced by node_bump().