aboutsummaryrefslogtreecommitdiff
path: root/src/extras/shaders/screenDroplet_PS.hlsl
blob: 4d41da68f1d07e7f2c4e93cee5e57f5f14682dd0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
struct VS_out {
	float4 Position		: POSITION;
	float2 TexCoord0	: TEXCOORD0;
	float2 TexCoord1	: TEXCOORD1;
	float4 Color		: COLOR0;
};

sampler2D tex0 : register(s0);
sampler2D tex1 : register(s1);

float4 main(VS_out input) : COLOR
{
	float4 color = input.Color;
	color *= tex2D(tex0, input.TexCoord0.xy);
	color *= tex2D(tex1, input.TexCoord1.xy);
	return color;
}