Files
Nuake-custom/Editor/resources/Shaders/debug.shader
Antoine Pilote 2c2612be7b Transparent
2021-07-11 14:32:01 -04:00

24 lines
367 B
GLSL

#shader vertex
#version 460 core
layout(location = 0) in vec3 VertexPosition;
uniform mat4 u_Projection;
uniform mat4 u_View;
uniform mat4 u_Model;
void main()
{
gl_Position = u_Projection * u_View * u_Model * vec4(VertexPosition, 1.0f);
}
#shader fragment
#version 460 core
uniform vec4 u_Color;
out vec4 FragColor;
void main()
{
FragColor = u_Color;
}