Nigel
4355a12b9a
PART 1: - Added a Renderer class - Added a Application interface - Added a RenderPass interface - Added multiple RenderPass classes - Added a Window class - Moved Shaders into a Shader folder The idea behind this redesign is to make more abstractions. These abstraction are then supposedly going to make it easier to focus on the next couple tutorials main elements
12 lines
204 B
GLSL
12 lines
204 B
GLSL
#version 460 core
|
|
layout (location = 0) in vec2 aPos;
|
|
layout (location = 1) in vec2 aTexCoords;
|
|
|
|
|
|
out vec2 TexCoords;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = vec4(aPos, 0.0f, 1.0f);
|
|
TexCoords = aTexCoords;
|
|
} |