From: octacian Date: Sat, 11 Feb 2017 01:13:13 +0000 (-0800) Subject: Waterlily: Avoid z-fighting of base texture with water surface X-Git-Tag: 0.4.16~89 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f6dfa4a1cbb4c9981db94abdf304dc04aab670ef;p=oweals%2Fminetest_game.git Waterlily: Avoid z-fighting of base texture with water surface Avoid z-fighting visible from below. Raise the nodebox base 1/64th of a node. --- diff --git a/mods/flowers/init.lua b/mods/flowers/init.lua index c7cc670e..da82bb7c 100644 --- a/mods/flowers/init.lua +++ b/mods/flowers/init.lua @@ -264,7 +264,7 @@ minetest.register_node("flowers:waterlily", { node_placement_prediction = "", node_box = { type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -15 / 32, 0.5} + fixed = {-0.5, -31 / 64, -0.5, 0.5, -15 / 32, 0.5} }, selection_box = { type = "fixed",