diff shader.frag @ 21:1404dfcee7b8

More work on scenefile and model loading support. Can now load PLY models and simple scene definition files. Converted dragon mesh to binary PLY format.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 22 Nov 2019 03:03:52 +0200
parents dragon.frag@4d6fec8f0c64
children d2839cbfaad8
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/shader.frag	Fri Nov 22 03:03:52 2019 +0200
@@ -0,0 +1,9 @@
+void main()
+{
+gl_FragColor = vec4(
+	gl_FragCoord.x * 0.1,
+	gl_FragCoord.y * 0.001,
+	0.0,
+	1.0);
+};
+