1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Don't force-enable tileable_horizontal/vertical for solid nodes

This commit is contained in:
grorp 2025-06-05 23:55:58 +02:00 committed by SmallJoker
parent f431c12b85
commit e452c2900f

View file

@ -464,8 +464,6 @@ void MapblockMeshGenerator::drawSolidNode()
for (auto &layer : tiles[face].layers) {
if (backface_culling)
layer.material_flags |= MATERIAL_FLAG_BACKFACE_CULLING;
layer.material_flags |= MATERIAL_FLAG_TILEABLE_HORIZONTAL;
layer.material_flags |= MATERIAL_FLAG_TILEABLE_VERTICAL;
}
if (!data->m_smooth_lighting) {
lights[face] = getFaceLight(cur_node.n, neighbor, nodedef);