mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Meshgen: Handle enable_water_reflections like smooth_lighting
This commit is contained in:
parent
9a60b83061
commit
c0ce918d77
8 changed files with 13 additions and 19 deletions
|
@ -311,7 +311,8 @@ static scene::SMesh *createSpecialNodeMesh(Client *client, MapNode n,
|
|||
{
|
||||
MeshMakeData mesh_make_data(client->ndef(), 1);
|
||||
MeshCollector collector(v3f(0.0f * BS), v3f());
|
||||
mesh_make_data.setSmoothLighting(false);
|
||||
mesh_make_data.m_smooth_lighting = false;
|
||||
mesh_make_data.m_enable_water_reflections = false;
|
||||
MapblockMeshGenerator gen(&mesh_make_data, &collector);
|
||||
|
||||
if (n.getParam2()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue