1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-01-22 05:10:24 +01:00

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.
This commit is contained in:
octacian 2017-02-10 17:13:13 -08:00 committed by paramat
parent e3dd3d19cd
commit f6dfa4a1cb

View File

@ -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",