From e148661d8d8fa458b2c8198bb396b6c5f53510b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Thu, 2 Feb 2017 21:44:14 +0100 Subject: Use vec2 for screen space stuff --- source/blender/gpu/shaders/gpu_shader_3D_lamp_vert.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/gpu/shaders/gpu_shader_3D_lamp_vert.glsl') diff --git a/source/blender/gpu/shaders/gpu_shader_3D_lamp_vert.glsl b/source/blender/gpu/shaders/gpu_shader_3D_lamp_vert.glsl index 8d091e9f432..dbc683ef42b 100644 --- a/source/blender/gpu/shaders/gpu_shader_3D_lamp_vert.glsl +++ b/source/blender/gpu/shaders/gpu_shader_3D_lamp_vert.glsl @@ -4,7 +4,7 @@ uniform vec3 screen_vecs[2]; uniform float size; uniform float pixel_size; -in vec3 pos; +in vec2 pos; in mat4 InstanceModelMatrix; #define lamp_pos InstanceModelMatrix[3].xyz -- cgit v1.2.3