2019-05-25 20:15:08 +02:00
|
|
|
#version 450
|
|
|
|
|
|
2019-08-22 12:05:03 +02:00
|
|
|
#include "../std/filters.glsl"
|
2019-05-25 20:15:08 +02:00
|
|
|
|
|
|
|
|
uniform sampler2D tex;
|
|
|
|
|
uniform vec2 screenSizeInv;
|
|
|
|
|
|
|
|
|
|
in vec2 texCoord;
|
|
|
|
|
out vec4 fragColor;
|
|
|
|
|
|
|
|
|
|
void main() {
|
|
|
|
|
// 4X resolve
|
|
|
|
|
fragColor = textureSS(tex, texCoord, screenSizeInv / 4.0);
|
|
|
|
|
}
|