mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-20 03:35:18 +02:00
Use polygon offset to fix z-fighting for overlay tiles
This commit is contained in:
@@ -50,6 +50,11 @@ struct FrameSpec
|
||||
video::ITexture *texture = nullptr;
|
||||
};
|
||||
|
||||
/**
|
||||
* We have two tile layers:
|
||||
* layer 0 = base
|
||||
* layer 1 = overlay
|
||||
*/
|
||||
#define MAX_TILE_LAYERS 2
|
||||
|
||||
//! Defines a layer of a tile.
|
||||
|
Reference in New Issue
Block a user