let cpu traces pass through non-opaque surfaces
This commit is contained in:
parent
5b1c1db0e9
commit
f4b7c3933e
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ LevelMeshSurface* LevelMesh::Trace(const FVector3& start, FVector3 direction, fl
|
|||
hitSurface = &Mesh.Surfaces[Mesh.SurfaceIndexes[hit.triangle]];
|
||||
|
||||
int portal = hitSurface->PortalIndex;
|
||||
if (!portal)
|
||||
if (!portal && hitSurface->Alpha >= 1.0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue