|
Blender V5.3
|
Go to the source code of this file.
Functions | |
| void | node_vector_displacement_tangent (float4 vector, float midlevel, float scale, float4 T, KernelGlobals &kg, const ShadingData &sd, float3 &result) |
| void | node_vector_displacement_object (float4 vector, float midlevel, float scale, KernelGlobals &kg, const ShadingData &sd, float3 &result) |
| void | node_vector_displacement_world (float4 vector, float midlevel, float scale, float3 &result) |
| void node_vector_displacement_object | ( | float4 | vector, |
| float | midlevel, | ||
| float | scale, | ||
| KernelGlobals & | kg, | ||
| const ShadingData & | sd, | ||
| float3 & | result ) |
Definition at line 32 of file gpu_shader_material_vector_displacement.bsl.hh.
References direction_transform_object_to_world(), node_vector_displacement_object(), resource_table, and scale().
Referenced by node_vector_displacement_object().
| void node_vector_displacement_tangent | ( | float4 | vector, |
| float | midlevel, | ||
| float | scale, | ||
| float4 | T, | ||
| KernelGlobals & | kg, | ||
| const ShadingData & | sd, | ||
| float3 & | result ) |
Definition at line 11 of file gpu_shader_material_vector_displacement.bsl.hh.
References cross, direction_transform_object_to_world(), ShadingData::N, node_vector_displacement_tangent(), normal_transform_world_to_object(), normalize, resource_table, safe_normalize(), scale(), T, float3::x, float3::y, and float3::z.
Referenced by node_vector_displacement_tangent().
Definition at line 44 of file gpu_shader_material_vector_displacement.bsl.hh.
References node_vector_displacement_world(), and scale().
Referenced by node_vector_displacement_world().