Skip to content

Commit

Permalink
Waterlily: Avoid z-fighting of base texture with water surface
Browse files Browse the repository at this point in the history
Avoid z-fighting visible from below.
Raise the nodebox base 1/64th of a node.
  • Loading branch information
octacian authored and paramat committed Feb 12, 2017
1 parent e3dd3d1 commit f6dfa4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/flowers/init.lua
Expand Up @@ -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",
Expand Down

0 comments on commit f6dfa4a

Please sign in to comment.