ToyEngine/Exp3/Engine/Shaders/debug.frag

14 lines
183 B
GLSL
Raw Permalink Normal View History

2023-04-18 23:58:56 +08:00
#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);
}