19 lines
278 B
Plaintext
19 lines
278 B
Plaintext
|
#version 450
|
||
|
|
||
|
#ifdef GL_ES
|
||
|
precision mediump float;
|
||
|
#endif
|
||
|
|
||
|
#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);
|
||
|
}
|