From d22494219280779659d5b4622e6044ea06245c2d Mon Sep 17 00:00:00 2001 From: kartikagarwal1111 <43764053+kartikagarwal1111@users.noreply.github.com> Date: Wed, 2 Oct 2019 16:12:31 +0530 Subject: [PATCH] Update hello-gl.v.glsl --- hello-gl.v.glsl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hello-gl.v.glsl b/hello-gl.v.glsl index 28f9ff1..9b1f615 100644 --- a/hello-gl.v.glsl +++ b/hello-gl.v.glsl @@ -6,6 +6,10 @@ varying vec2 texcoord; void main() { +int i=0; +if(i==0) + { gl_Position = vec4(position, 0.0, 1.0); + } texcoord = position * vec2(0.5) + vec2(0.5); }