#include "ShaderConstantsGNM.h" struct PS_Input { float4 position : S_POSITION; float4 light : LIGHT; }; float4 main( in PS_Input PSInput ) : S_TARGET_OUTPUT { float4 color = lerp( float4( 1, 1, 1, 1 ), PSInput.light, PSInput.light.a ); color.rgb = lerp( color, OVERLAY_COLOR, OVERLAY_COLOR.a ).rgb; return color; }