light/Engine/res/Shaders/Quad/Quad_VS.glsl
Light 033a3b1dd1 Shader files: hlsl & glsl
- Moved #define LT_ENGINE_RESOURCES_*_SHADER_* definitions to files
       * Note: This was done so for a gcc compilation error caused by R"()" string

- Removed test print fps in  'Application::GameLoop()'
2021-07-10 19:59:27 +04:30

17 lines
No EOL
310 B
GLSL

#version 440 core
layout(location = 0) in vec3 a_Position;
layout(location = 1) in vec4 a_Color;
layout(std140, binding = 0) uniform ub_ViewProjection
{
mat4 viewProjection;
};
out vec4 vso_FragmentColor;
void main()
{
gl_Position = viewProjection * vec4(a_Position, 1.0);
vso_FragmentColor = a_Color;
}