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
13 lines
213 B
GLSL
13 lines
213 B
GLSL
#version 460 core
|
|
layout (location = 0) in vec3 aPos;
|
|
|
|
out vec3 TexCoords;
|
|
|
|
uniform mat4 projection;
|
|
uniform mat4 view;
|
|
|
|
void main()
|
|
{
|
|
TexCoords = aPos;
|
|
gl_Position = projection * view * vec4(aPos ,1.0);
|
|
} |