Files
MinecraftLegends/Win32.DX11.Release/data/shaders/hlsl/shadow_stencil_overlay.fragment.hlsl
2026-03-08 15:34:38 -05:00

19 lines
355 B
HLSL

#include "ShaderConstants.fxh"
struct PS_Input
{
float4 position : SV_Position;
float4 color : COLOR;
};
struct PS_Output
{
float4 color : SV_Target;
};
void main( in PS_Input PSInput, out PS_Output PSOutput )
{
PSOutput.color.rgb = lerp(PSInput.color.rgb, CURRENT_COLOR.rgb, PSInput.color.a);
PSOutput.color.a = 1;
}