diff options
author | Mike Erwin <significant.bit@gmail.com> | 2016-08-07 08:26:29 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2016-08-07 08:26:29 +0300 |
commit | f27516839faaba9c29d975492929b014cb98a019 (patch) | |
tree | 548ffedbfc7a7fa2147871d077411553570ebff2 /source/blender/gpu/shaders/gpu_shader_2D_smooth_color_vert.glsl | |
parent | 0ea8430549374efd3092b6f28913a5f60e574296 (diff) |
fix simple 2D built-in shaders
Forgot the projection matrix.
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_2D_smooth_color_vert.glsl')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_2D_smooth_color_vert.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_2D_smooth_color_vert.glsl b/source/blender/gpu/shaders/gpu_shader_2D_smooth_color_vert.glsl index e74485bfa4f..49bed5db430 100644 --- a/source/blender/gpu/shaders/gpu_shader_2D_smooth_color_vert.glsl +++ b/source/blender/gpu/shaders/gpu_shader_2D_smooth_color_vert.glsl @@ -13,6 +13,6 @@ void main() { - gl_Position = gl_ModelViewMatrix * vec4(pos, 0.0, 1.0); + gl_Position = gl_ModelViewProjectionMatrix * vec4(pos, 0.0, 1.0); finalColor = color; } |