1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-10 20:39:15 +00:00
re3/src/extras/shaders/screenDroplet_PS.hlsl
2020-11-19 19:07:32 +01:00

18 lines
368 B
HLSL

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;
}