Framebuffer rendering on quad is now working! 😂

This commit is contained in:
2020-03-25 13:06:40 -05:00
parent 87ae77a9cb
commit 15e5d0a5e1
6 changed files with 60 additions and 21 deletions

View File

@@ -1,10 +1,10 @@
#version 330 core
out vec4 FragColor;
in vec2 outTexCoords;
uniform sampler2D screenTexture;
void main() {
void main() {
FragColor = texture(screenTexture, outTexCoords);
}