Files
2026-03-08 15:34:38 -05:00

21 lines
426 B
HLSL

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