1
0
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:
RealBadAngel
2015-08-18 23:59:44 +02:00
committed by est31
parent 5009d31a33
commit 8b8d17b22b
6 changed files with 13 additions and 84 deletions

View File

@@ -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;