also do Actor Trace for non-lightmaplights if gl_light_shadows is 2
This commit is contained in:
parent
bd6101bf13
commit
5d35ae9b4d
2 changed files with 3 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ public:
|
|||
bool TraceLightVisbility(FLightNode* node, const FVector3& L, float dist)
|
||||
{
|
||||
FDynamicLight* light = node->lightsource;
|
||||
if (!light->Trace() || !level.levelMesh || !Actor)
|
||||
if (!light->TraceActors() || !level.levelMesh || !Actor)
|
||||
return true;
|
||||
|
||||
if (!ActorMoved && CurrentBit < 64)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue