diff options
author | Lars <larsh@apache.org> | 2020-10-12 13:29:31 -0700 |
---|---|---|
committer | lhofhansl <larsh@apache.org> | 2020-10-17 13:09:16 -0700 |
commit | ed22260822086f84016aa8384c3174bfc6d1739d (patch) | |
tree | 0b6d04bf315b4d6c832993efeb1b58244b1bcb50 /src/client/mesh_generator_thread.cpp | |
parent | f43d1cfa81aa496174af6cdfa648dab9dd17288c (diff) | |
download | minetest-ed22260822086f84016aa8384c3174bfc6d1739d.tar.gz minetest-ed22260822086f84016aa8384c3174bfc6d1739d.tar.bz2 minetest-ed22260822086f84016aa8384c3174bfc6d1739d.zip |
Remove all bump mapping and parallax occlusion related code.
Diffstat (limited to 'src/client/mesh_generator_thread.cpp')
-rw-r--r-- | src/client/mesh_generator_thread.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/mesh_generator_thread.cpp b/src/client/mesh_generator_thread.cpp index 53b980eeb..c8d1cba26 100644 --- a/src/client/mesh_generator_thread.cpp +++ b/src/client/mesh_generator_thread.cpp @@ -52,9 +52,6 @@ MeshUpdateQueue::MeshUpdateQueue(Client *client): m_client(client) { m_cache_enable_shaders = g_settings->getBool("enable_shaders"); - m_cache_use_tangent_vertices = m_cache_enable_shaders && ( - g_settings->getBool("enable_bumpmapping") || - g_settings->getBool("enable_parallax_occlusion")); m_cache_smooth_lighting = g_settings->getBool("smooth_lighting"); m_meshgen_block_cache_size = g_settings->getS32("meshgen_block_cache_size"); } @@ -207,8 +204,7 @@ CachedMapBlockData* MeshUpdateQueue::getCachedBlock(const v3s16 &p) void MeshUpdateQueue::fillDataFromMapBlockCache(QueuedMeshUpdate *q) { - MeshMakeData *data = new MeshMakeData(m_client, m_cache_enable_shaders, - m_cache_use_tangent_vertices); + MeshMakeData *data = new MeshMakeData(m_client, m_cache_enable_shaders); q->data = data; data->fillBlockDataBegin(q->p); |