Skip to content

Commit f6dfa4a

Browse files
octacianparamat
authored andcommittedFeb 12, 2017
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.
1 parent e3dd3d1 commit f6dfa4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎mods/flowers/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ minetest.register_node("flowers:waterlily", {
264264
node_placement_prediction = "",
265265
node_box = {
266266
type = "fixed",
267-
fixed = {-0.5, -0.5, -0.5, 0.5, -15 / 32, 0.5}
267+
fixed = {-0.5, -31 / 64, -0.5, 0.5, -15 / 32, 0.5}
268268
},
269269
selection_box = {
270270
type = "fixed",

0 commit comments

Comments
 (0)
Please sign in to comment.