]> git.lizzy.rs Git - signs_lib.git/commitdiff
disable backface culling on the sign entity
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>
Thu, 19 Sep 2019 05:02:44 +0000 (01:02 -0400)
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>
Thu, 19 Sep 2019 05:02:44 +0000 (01:02 -0400)
(allows for transparent signs i.e. glass)

api.lua

diff --git a/api.lua b/api.lua
index 224754d5e87b0841ce6d629420cc21e05b4320d6..788cb2ec622f86fe4b210e16428157cf26d1630a 100644 (file)
--- a/api.lua
+++ b/api.lua
@@ -124,7 +124,8 @@ minetest.register_entity("signs_lib:text", {
        visual = "mesh",
        mesh = "signs_lib_standard_wall_sign_entity.obj",
        textures = {},
-       static_save = false
+       static_save = false,
+       backface_culling = false
 })
 
 function signs_lib.delete_objects(pos)