ToyEngine/Exp1/Engine/Shaders/debug.frag

14 lines
183 B
GLSL

#version 450 core
layout (location = 4) out vec4 gDebug;
in vec2 TexCoords;
in vec3 WorldPos;
in vec3 Normal;
uniform vec3 color;
void main()
{
gDebug = vec4(color,1);
}