3 float4 PositionPS : SV_Position;
4 float3 PosInLightViewSpace : LIGHT_SPACE_POS;
5 float3 NormalWS : NORMALWS;
6 float2 TexCoord : TEXCOORD;
9 float4 AmbientColor = float4(1, 0.5, 0, 1);
10 float4 AmbientColor2 = float4(0.5, 1, 0, 0);
12 float4 main(VSOutput VSOut) : SV_TARGET
14 if (VSOut.PositionPS.x < 400)