summaryrefslogblamecommitdiffstats
path: root/src/extras/shaders/screenDroplet.frag
blob: 84d30bd55c56d7734547a203b4f36de2ac0201cb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                    
uniform sampler2D tex0;
uniform sampler2D tex1;

FSIN vec4 v_color;
FSIN vec2 v_tex0;
FSIN vec2 v_tex1;
FSIN float v_fog;

void
main(void)
{
	vec4 color;
	color = v_color*texture(tex0, vec2(v_tex0.x, 1.0-v_tex0.y));
	color *= texture(tex1, vec2(v_tex1.x, 1.0-v_tex1.y));

	FRAGCOLOR(color);
}