Nigel Barink
d019155d10
* Added a basic material abstraction * Started implementation of RenderTarget (such as render textures)
11 lines
203 B
GLSL
11 lines
203 B
GLSL
#version 440 core
|
|
layout (location = 0) in vec2 aPos;
|
|
layout (location = 1) in vec2 aTexCoords;
|
|
|
|
|
|
out vec2 aTexCoords;
|
|
|
|
void main(){
|
|
gl_Position = vec4(aPos.xy , 0.0 ,1.0);
|
|
aTexCoords = aTexCoords;
|
|
} |