Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_material.glsl5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_material.glsl b/source/blender/gpu/shaders/gpu_shader_material.glsl
index fe54cd16b73..38a8d92a56a 100644
--- a/source/blender/gpu/shaders/gpu_shader_material.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_material.glsl
@@ -2273,6 +2273,11 @@ void node_object_info(out vec3 location, out float object_index, out float mater
random = 0.0;
}
+void node_normal_map(float strength, vec4 color, vec3 N, out vec3 result)
+{
+ result = N;
+}
+
void node_bump(float strength, float dist, float height, vec3 N, out vec3 result)
{
result = N;