e4s-sdk/gamedata/shaders/r1/add_ppa.ps.hlsl
2026-06-17 23:06:51 +03:00

20 lines
361 B
HLSL

#include "common.hlsli"
struct v2p
{
float2 tc0 : TEXCOORD0; // base
float2 tc1 : TEXCOORD1; // base
};
uniform sampler2D s_base0;
uniform sampler2D s_base1;
// Pixel
float4 main(v2p I) : COLOR
{
float4 t_0 = tex2D(s_base0, I.tc0);
float4 t_1 = tex2D(s_base1, I.tc1);
// out
return t_0 * t_1 * L_dynamic_color;
}