1
0
mirror of synced 2024-12-01 02:27:22 +01:00
Switch-Toolbox/Toolbox/Shader/Drawing2D/KCL.frag

14 lines
198 B
GLSL
Raw Normal View History

2019-10-16 01:27:17 +02:00
#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);
}