stk-code_catmod/data/shaders/object_pass1.frag
2014-01-16 17:51:33 +01:00

8 lines
130 B
GLSL

#version 130
noperspective in vec3 nor;
void main(void)
{
gl_FragColor = vec4(0.5 * normalize(nor) + 0.5, gl_FragCoord.z);
}