Increase and unify max distance for sunlight rays
This commit is contained in:
parent
a4fae58685
commit
9534e7b76e
2 changed files with 2 additions and 2 deletions
|
|
@ -94,7 +94,7 @@ public:
|
|||
}
|
||||
else
|
||||
{
|
||||
bool traceResult = level.levelMesh->TraceSky(FVector3(x, y, z), level.SunDirection, 10000.0f);
|
||||
bool traceResult = level.levelMesh->TraceSky(FVector3(x, y, z), level.SunDirection, 65536.0f);
|
||||
Actor->StaticLightsTraceCache.Bits |= ((uint64_t)traceResult) << CurrentBit;
|
||||
CurrentBit++;
|
||||
return traceResult;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue