Good looking blur, need some fixes, but framerates takes a huge hit.

This commit is contained in:
Tleety
2016-02-09 16:19:17 +01:00
parent a33cd42ca3
commit 64e7bb1e94
9 changed files with 220 additions and 24 deletions
@@ -0,0 +1,21 @@
#version 430
layout (binding = 0) uniform sampler2D Texture0;
layout (binding = 1) uniform sampler2D Texture1;
in VertexData{
vec2 TextureCoordinate;
}Input;
out vec4 fragmentColor;
void main()
{
vec4 texel0 = texture(Texture0, Input.TextureCoordinate);
vec4 texel1 = texture(Texture1, Input.TextureCoordinate);
fragmentColor = texel0 + texel1;
//fragmentColor = vec4(1,0.5,0.7,1);
}