|
Blender V5.3
|
#include "gpu_shader_material_transform_utils.bsl.hh"Go to the source code of this file.
Functions | |
| void | node_displacement_object (float height, float midlevel, float scale, float3 N, KernelGlobals &kg, ShadingData &sd, float3 &result) |
| void | node_displacement_world (float height, float midlevel, float scale, float3 N, float3 &result) |
| void node_displacement_object | ( | float | height, |
| float | midlevel, | ||
| float | scale, | ||
| float3 | N, | ||
| KernelGlobals & | kg, | ||
| ShadingData & | sd, | ||
| float3 & | result ) |
Definition at line 10 of file gpu_shader_material_displacement.bsl.hh.
References direction_transform_object_to_world(), direction_transform_world_to_object(), N, node_displacement_object(), normalize, resource_table, and scale().
Referenced by node_displacement_object().
| void node_displacement_world | ( | float | height, |
| float | midlevel, | ||
| float | scale, | ||
| float3 | N, | ||
| float3 & | result ) |
Definition at line 26 of file gpu_shader_material_displacement.bsl.hh.
References N, node_displacement_world(), normalize, and scale().
Referenced by node_displacement_world().