comparison dragon.frag @ 6:4d6fec8f0c64

Implement optional support for vertex/fragment shaders. Cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 27 Oct 2019 22:09:38 +0200
parents
children
comparison
equal deleted inserted replaced
5:5dcae4dddcd9 6:4d6fec8f0c64
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