|
Blender V5.3
|
#include "gpu_shader_material_interface.bsl.hh"Go to the source code of this file.
Functions | |
| void | input_normal_displaced (const ShadingData &sd, float3 &out_N) |
| void | input_normal_original (const ShadingData &sd, float3 &out_N) |
| void | node_normal_map (float4 T, float strength, float3 tex_normal, float3 N, KernelGlobals &kg, const ShadingData &sd, float3 &out_N) |
| void | color_to_normal_new_shading (float3 color, float3 &normal) |
| void | color_to_blender_normal_new_shading (float3 color, float3 &normal) |
| void | color_invert_green_channel (float3 color, float3 &result) |
| void | node_normal_map_mix (float strength, float3 new_normal, const ShadingData &sd, float3 &out_N) |
Definition at line 64 of file gpu_shader_material_normal_map.bsl.hh.
References color_invert_green_channel(), float3::x, float3::y, and float3::z.
Referenced by color_invert_green_channel().
Definition at line 58 of file gpu_shader_material_normal_map.bsl.hh.
References color_to_blender_normal_new_shading().
Referenced by color_to_blender_normal_new_shading().
Definition at line 52 of file gpu_shader_material_normal_map.bsl.hh.
References color_to_normal_new_shading().
Referenced by color_to_normal_new_shading().
| void input_normal_displaced | ( | const ShadingData & | sd, |
| float3 & | out_N ) |
Definition at line 10 of file gpu_shader_material_normal_map.bsl.hh.
References input_normal_displaced(), ShadingData::N, and ShadingData::Ni.
Referenced by input_normal_displaced().
| void input_normal_original | ( | const ShadingData & | sd, |
| float3 & | out_N ) |
Definition at line 20 of file gpu_shader_material_normal_map.bsl.hh.
References input_normal_original(), and ShadingData::Ni.
Referenced by input_normal_original().
| void node_normal_map | ( | float4 | T, |
| float | strength, | ||
| float3 | tex_normal, | ||
| float3 | N, | ||
| KernelGlobals & | kg, | ||
| const ShadingData & | sd, | ||
| float3 & | out_N ) |
Definition at line 26 of file gpu_shader_material_normal_map.bsl.hh.
References all(), B, cross, equal, mix, N, node_normal_map(), normalize, OBJECT_NEGATIVE_SCALE, resource_table, saturate, T, float3::x, float3::y, and float3::z.
Referenced by node_normal_map().
| void node_normal_map_mix | ( | float | strength, |
| float3 | new_normal, | ||
| const ShadingData & | sd, | ||
| float3 & | out_N ) |
Definition at line 70 of file gpu_shader_material_normal_map.bsl.hh.
References max, mix, ShadingData::N, node_normal_map_mix(), and normalize.
Referenced by node_normal_map_mix().