forked from minetest/minetest_game
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:
parent
e3dd3d19cd
commit
f6dfa4a1cb
|
@ -264,7 +264,7 @@ minetest.register_node("flowers:waterlily", {
|
||||||
node_placement_prediction = "",
|
node_placement_prediction = "",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
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 = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user