diff --git a/src/client/mapblock_mesh.cpp b/src/client/mapblock_mesh.cpp index f1b985dd2..7b3d6d23e 100644 --- a/src/client/mapblock_mesh.cpp +++ b/src/client/mapblock_mesh.cpp @@ -806,6 +806,7 @@ MapBlockMesh::MapBlockMesh(MeshMakeData *data, v3s16 camera_offset): #if !FARMESH_SHADOWS if (data->far_step <= 0) #endif + if (m_enable_shaders) { material.MaterialType = m_shdrsrc->getShaderInfo( p.layer.shader_id).material; p.layer.applyMaterialOptionsWithShaders(material);