Switch-Toolbox/Toolbox/Shader/Drawing2D/KCL.frag
2019-10-15 19:27:17 -04:00

13 lines
198 B
GLSL

#version 330
in vec3 normal;
in vec3 color;
in vec3 position;
out vec4 FragColor;
void main()
{
vec3 displayNormal = (normal.xyz * 0.5) + 0.5;
FragColor = vec4(displayNormal.rgb,1);
}