Welcome to mirror list, hosted at ThFree Co, Russian Federation.

clay_fxaa.glsl « shaders « clay « engines « draw « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 924e51421aa3b11a9e0db3726b6dea99f7b223aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

in vec4 uvcoordsvar;
out vec4 fragColor;

uniform vec2 invscreenres;
uniform sampler2D colortex;

void main()
{
	fragColor = vec4(FxaaPixelShader(
		uvcoordsvar.st,
		colortex,
		invscreenres,
		1.0,
		0.166,
		0.0833
	).rgb, 1.0);
}