Lighting fixes:
- Re-enabled lightsprites (glowing lamp sprites on lamps). - Limb sprites use lightsprites instead of overriding the texture (positioned correctly now). - Fixed lights that don't cast shadows not being rendered.
This commit is contained in:
@@ -81,6 +81,7 @@ namespace Barotrauma
|
||||
if (LightSource != null)
|
||||
{
|
||||
LightSource.Position = body.DrawPosition;
|
||||
LightSource.LightSpriteEffect = (dir == Direction.Right) ? SpriteEffects.None : SpriteEffects.FlipVertically;
|
||||
}
|
||||
|
||||
foreach (WearableSprite wearable in wearingItems)
|
||||
|
||||
Reference in New Issue
Block a user