mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Fix paralax occlusion setting
This commit is contained in:
parent
e15681080e
commit
96f753a108
@ -821,7 +821,7 @@ public:
|
||||
services->setPixelShaderConstant("enableBumpmapping", &enable_bumpmapping, 1);
|
||||
|
||||
float enable_parallax_occlusion = 0;
|
||||
if (g_settings->getBool("enable_parallax_occlusion"));{
|
||||
if (g_settings->getBool("enable_parallax_occlusion")) {
|
||||
enable_parallax_occlusion = 1;
|
||||
float parallax_occlusion_scale = g_settings->getFloat("parallax_occlusion_scale");
|
||||
services->setPixelShaderConstant("parallaxOcclusionScale", ¶llax_occlusion_scale, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user