Skip to content
Permalink
Browse files

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.
  • Loading branch information...
octacian authored and paramat committed Feb 11, 2017
1 parent e3dd3d1 commit f6dfa4a1cbb4c9981db94abdf304dc04aab670ef
Showing with 1 addition and 1 deletion.
  1. +1 −1 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",

0 comments on commit f6dfa4a

Please sign in to comment.
You can’t perform that action at this time.