Nigel Barink
d019155d10
* Added a basic material abstraction * Started implementation of RenderTarget (such as render textures)
11 lines
158 B
GLSL
11 lines
158 B
GLSL
#version 440 core
|
|
out vec4 FragColor;
|
|
|
|
in vec2 TexCoords;
|
|
|
|
uniform sampler2D screenTexture;
|
|
|
|
|
|
void main(){
|
|
FragColor = texture(screenTexture, aTexCoords);
|
|
} |