view shader.frag @ 27:097184bd34a8

Implement number of lights uniform for the shaders, clean up light setup and scene rendering setup.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 22 Nov 2019 08:39:27 +0200
parents 1404dfcee7b8
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);
};