aboutsummaryrefslogtreecommitdiffstats
path: root/examples/hellooffscreen_opengl/shader_offscreen.frag
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hellooffscreen_opengl/shader_offscreen.frag')
-rw-r--r--examples/hellooffscreen_opengl/shader_offscreen.frag6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/hellooffscreen_opengl/shader_offscreen.frag b/examples/hellooffscreen_opengl/shader_offscreen.frag
new file mode 100644
index 0000000..7bb5db2
--- /dev/null
+++ b/examples/hellooffscreen_opengl/shader_offscreen.frag
@@ -0,0 +1,6 @@
+varying highp vec4 vColor;
+
+void main()
+{
+ gl_FragColor = vColor;
+}