Implement TS-style terrain lighting.
This commit is contained in:
@@ -394,6 +394,13 @@ namespace OpenRA.Traits
|
||||
[RequireExplicitImplementation]
|
||||
public interface IRenderTerrain { void RenderTerrain(WorldRenderer wr, Viewport viewport); }
|
||||
|
||||
[RequireExplicitImplementation]
|
||||
public interface ITerrainLighting
|
||||
{
|
||||
event Action<MPos> CellChanged;
|
||||
float3 TintAt(WPos pos);
|
||||
}
|
||||
|
||||
public interface IRenderAboveShroud
|
||||
{
|
||||
IEnumerable<IRenderable> RenderAboveShroud(Actor self, WorldRenderer wr);
|
||||
|
||||
Reference in New Issue
Block a user