mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Real global textures (#6105)
* Real global textures * Add world-aligned textures * Update minimal to support world-aligned tiles * Update minimal
This commit is contained in:
@@ -200,7 +200,8 @@ struct MeshCollector
|
||||
const u16 *indices, u32 numIndices);
|
||||
void append(const TileLayer &material,
|
||||
const video::S3DVertex *vertices, u32 numVertices,
|
||||
const u16 *indices, u32 numIndices, u8 layernum);
|
||||
const u16 *indices, u32 numIndices, u8 layernum,
|
||||
bool use_scale = false);
|
||||
void append(const TileSpec &material,
|
||||
const video::S3DVertex *vertices, u32 numVertices,
|
||||
const u16 *indices, u32 numIndices, v3f pos,
|
||||
@@ -208,7 +209,8 @@ struct MeshCollector
|
||||
void append(const TileLayer &material,
|
||||
const video::S3DVertex *vertices, u32 numVertices,
|
||||
const u16 *indices, u32 numIndices, v3f pos,
|
||||
video::SColor c, u8 light_source, u8 layernum);
|
||||
video::SColor c, u8 light_source, u8 layernum,
|
||||
bool use_scale = false);
|
||||
/*!
|
||||
* Colorizes all vertices in the collector.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user