armory/Shaders/supersample_resolve/supersample_resolve.frag.glsl
2017-12-13 14:44:21 +01:00

15 lines
229 B
GLSL
Executable file

#version 450
#include "std/filters.glsl"
uniform sampler2D tex;
uniform vec2 screenSizeInv;
in vec2 texCoord;
out vec4 fragColor;
void main() {
// 4X resolve
fragColor.rgb = textureSS(tex, texCoord, screenSizeInv / 4.0);
}