Partially implement a framebuffer object for bluring shadows

This commit is contained in:
2021-03-16 20:27:05 +01:00
parent 76a4731785
commit 3707954913
10 changed files with 108 additions and 15 deletions
+11
View File
@@ -0,0 +1,11 @@
#version 430 core
in vec2 vTexPos;
out vec4 fColor;
uniform sampler2D screenTexture;
void main()
{
fColor = texture(screenTexture, vTexPos);
// fColor = vec4(1,1,1,0);
}