diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-02-02 23:44:14 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-02-02 23:44:14 +0300 |
commit | e148661d8d8fa458b2c8198bb396b6c5f53510b3 (patch) | |
tree | db46827a05a5adfe8a86b22fe9986fa4c10fb61e /source/blender/gpu/shaders/gpu_shader_3D_lamp_vert.glsl | |
parent | 6f1bdaab9dfbbe4d12558f8f22be8c7efabe57df (diff) |
Use vec2 for screen space stuff
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_3D_lamp_vert.glsl')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_3D_lamp_vert.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
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 |