view 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 source

void main()
{
gl_FragColor = vec4(
	gl_FragCoord.x * 0.1,
	gl_FragCoord.y * 0.001,
	0.0,
	1.0);
};