Implement TS-style terrain lighting.

This commit is contained in:
Paul Chote
2020-07-10 12:46:45 +01:00
committed by abcdefg30
parent fdb66c769c
commit 01e955ca37
11 changed files with 300 additions and 14 deletions

View File

@@ -59,7 +59,7 @@ namespace OpenRA.Mods.Common.Traits
var sprite = theater.TileSprite(tile);
foreach (var kv in spriteLayers)
kv.Value.Update(cell, palette == kv.Key ? sprite : null);
kv.Value.Update(cell, palette == kv.Key ? sprite : null, false);
}
void IRenderTerrain.RenderTerrain(WorldRenderer wr, Viewport viewport)