[Bf-blender-cvs] [2e88237ee6c] blender2.8: fix shadow map shader input
Mike Erwin
noreply at git.blender.org
Mon Mar 27 07:18:24 CEST 2017
Commit: 2e88237ee6c2af813db7b716658dab4c33b4050d
Author: Mike Erwin
Date: Sun Mar 26 23:39:17 2017 -0400
Branches: blender2.8
https://developer.blender.org/rB2e88237ee6c2af813db7b716658dab4c33b4050d
fix shadow map shader input
My bad! Messed up the conversion from ftransform -- 4c08c5b192415190ab8b11637d8dc4f2a66c2ddf
===================================================================
M source/blender/gpu/shaders/gpu_shader_vsm_store_vert.glsl
===================================================================
diff --git a/source/blender/gpu/shaders/gpu_shader_vsm_store_vert.glsl b/source/blender/gpu/shaders/gpu_shader_vsm_store_vert.glsl
index f9ab7af6f57..32befccdc86 100644
--- a/source/blender/gpu/shaders/gpu_shader_vsm_store_vert.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_vsm_store_vert.glsl
@@ -4,6 +4,6 @@ varying vec4 v_position;
void main()
{
- gl_Position = ModelViewProjectionMatrix * v_position;
+ gl_Position = ModelViewProjectionMatrix * gl_Vertex;
v_position = gl_Position;
}
More information about the Bf-blender-cvs
mailing list