(20b8797d8) WIP los effect improvements to prevent weird-looking shadows at spots where two wall pieces meet
This commit is contained in:
@@ -75,7 +75,10 @@ namespace Barotrauma
|
||||
};
|
||||
|
||||
var h = new ConvexHull(verts, Color.Black, this);
|
||||
h.Rotate(position, rotation);
|
||||
if (Math.Abs(rotation) > 0.001f)
|
||||
{
|
||||
h.Rotate(position, rotation);
|
||||
}
|
||||
convexHulls.Add(h);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user