mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-22 21:32:19 +01:00
16 lines
354 B
Plaintext
16 lines
354 B
Plaintext
#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;
|
|
} |