diff options
Diffstat (limited to 'src/demos/instancedRendering/shader/triangles.vp')
-rw-r--r-- | src/demos/instancedRendering/shader/triangles.vp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/demos/instancedRendering/shader/triangles.vp b/src/demos/instancedRendering/shader/triangles.vp deleted file mode 100644 index 91cc6ef..0000000 --- a/src/demos/instancedRendering/shader/triangles.vp +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2014 JogAmp Community. All rights reserved. - -#if __VERSION__ >= 130 - #define attribute in - #define varying out -#endif - -uniform mat4 mgl_PMatrix; -uniform mat4 mgl_MVMatrix[NO_OF_INSTANCE]; -attribute vec3 mgl_Vertex; -attribute vec4 mgl_Color; -varying vec4 frontColor; - -void main(void) { - frontColor = mgl_Color; - gl_Position = mgl_PMatrix * mgl_MVMatrix[gl_InstanceID] * vec4(mgl_Vertex, 1); -} |