comparison 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
comparison
equal deleted inserted replaced
20:294c4c7943b5 21:1404dfcee7b8
1 void main()
2 {
3 gl_FragColor = vec4(
4 gl_FragCoord.x * 0.1,
5 gl_FragCoord.y * 0.001,
6 0.0,
7 1.0);
8 };
9