diff options
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_3D_groundpoint_vert.glsl')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_3D_groundpoint_vert.glsl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_3D_groundpoint_vert.glsl b/source/blender/gpu/shaders/gpu_shader_3D_groundpoint_vert.glsl index b08d87cdfa6..6786b7b7405 100644 --- a/source/blender/gpu/shaders/gpu_shader_3D_groundpoint_vert.glsl +++ b/source/blender/gpu/shaders/gpu_shader_3D_groundpoint_vert.glsl @@ -6,11 +6,11 @@ in vec3 pos; void main() { - vec4 pos_4d = vec4(pos.xy, 0.0, 1.0); - gl_Position = ViewProjectionMatrix * pos_4d; - gl_PointSize = 2.0; + vec4 pos_4d = vec4(pos.xy, 0.0, 1.0); + gl_Position = ViewProjectionMatrix * pos_4d; + gl_PointSize = 2.0; #ifdef USE_WORLD_CLIP_PLANES - world_clip_planes_calc_clip_distance(pos_4d.xyz); + world_clip_planes_calc_clip_distance(pos_4d.xyz); #endif } |