mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-30 12:43:49 +01:00
Remove use of engine sent texture tiling flags - theyre no longer needed
This commit is contained in:
@@ -1012,9 +1012,7 @@ void CNodeDefManager::fillTileAttribs(ITextureSource *tsrc, TileSpec *tile,
|
||||
if (use_normal_texture) {
|
||||
tile->normal_texture = tsrc->getNormalTexture(tiledef->name);
|
||||
}
|
||||
tile->flags_texture = tsrc->getShaderFlagsTexture(
|
||||
tile->normal_texture ? true : false,
|
||||
tiledef->tileable_vertical, tiledef->tileable_horizontal);
|
||||
tile->flags_texture = tsrc->getShaderFlagsTexture(tile->normal_texture ? true : false);
|
||||
|
||||
// Material flags
|
||||
tile->material_flags = 0;
|
||||
|
||||
Reference in New Issue
Block a user