reset emissive to show 0,0,0,0 for local/vector lights in a manner th…
@@ -154,7 +154,7 @@ void main()
//early out if emissive
if (getFlag(surface.matFlag, 0))
{
- OUT_col = vec4(surface.albedo, 0);
+ OUT_col = vec4(0, 0, 0, 0);
return;
}
@@ -86,7 +86,7 @@ void main()
@@ -189,7 +189,7 @@ void main()
@@ -157,7 +157,7 @@ float4 main( ConvexConnectP IN ) : SV_TARGET
- return float4(surface.albedo, 0);
+ return float4(0, 0, 0, 0);
float3 L = lightPosition - surface.P;
@@ -92,7 +92,7 @@ float4 main( ConvexConnectP IN ) : SV_TARGET
@@ -180,7 +180,7 @@ float4 main(FarFrustumQuadConnectP IN) : SV_TARGET
//create surface to light