summaryrefslogtreecommitdiffhomepage
path: root/examples/web/shaders/shaders_rlgl_mesh_instanced.data
diff options
context:
space:
mode:
Diffstat (limited to 'examples/web/shaders/shaders_rlgl_mesh_instanced.data')
-rw-r--r--examples/web/shaders/shaders_rlgl_mesh_instanced.data9
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/web/shaders/shaders_rlgl_mesh_instanced.data b/examples/web/shaders/shaders_rlgl_mesh_instanced.data
index 5ba3bb5..8a8870a 100644
--- a/examples/web/shaders/shaders_rlgl_mesh_instanced.data
+++ b/examples/web/shaders/shaders_rlgl_mesh_instanced.data
@@ -1,3 +1,4 @@
+
#version 100
// Input vertex attributes
@@ -59,7 +60,10 @@ void main()
// Calculate final vertex position
gl_Position = mvpi*vec4(vertexPosition, 1.0);
-}#version 100
+}
+
+
+#version 100
precision mediump float;
@@ -128,4 +132,5 @@ void main()
// Gamma correction
gl_FragColor = pow(finalColor, vec4(1.0/2.2));
-} \ No newline at end of file
+}
+