Fix for lodlights intensity

This commit is contained in:
dexy
2021-05-04 18:42:41 +10:00
Unverified
parent 37ac0ba62b
commit 5426ceada8
4 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ float4 DeferredLODLight(float3 camRel, float3 norm, float4 diffuse, float4 specu
if (ldist <= 0) return 0;
float4 rgbi = Unpack4x8UNF(lodlight.Colour).gbar;
float3 lcol = rgbi.rgb * rgbi.a * 100.0f;
float3 lcol = rgbi.rgb * rgbi.a * 96.0f;
float3 ldir = srpos / ldist;
float pclit = saturate(dot(ldir, norm));
float lamt = 1;