1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 17:15:21 +02:00

Add API to control shadow intensity from the game/mod (#11944)

* Also Disable shadows when sun/moon is hidden. Fixes #11972.
This commit is contained in:
x2048
2022-03-26 16:58:26 +01:00
committed by GitHub
parent 8d55702d13
commit 0f25fa7af6
24 changed files with 375 additions and 169 deletions

View File

@@ -376,4 +376,10 @@ private:
// set_minimap_modes(self, modes, wanted_mode)
static int l_set_minimap_modes(lua_State *L);
// set_lighting(self, lighting)
static int l_set_lighting(lua_State *L);
// get_lighting(self)
static int l_get_lighting(lua_State *L);
};