projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3dd3d1
)
Waterlily: Avoid z-fighting of base texture with water surface
author
octacian
<enduffy2014@outlook.com>
Sat, 11 Feb 2017 01:13:13 +0000
(17:13 -0800)
committer
paramat
<mat.gregory@virginmedia.com>
Sun, 12 Feb 2017 01:23:53 +0000
(
01:23
+0000)
Avoid z-fighting visible from below.
Raise the nodebox base 1/64th of a node.
mods/flowers/init.lua
patch
|
blob
|
history
diff --git
a/mods/flowers/init.lua
b/mods/flowers/init.lua
index c7cc670e8f2e12ca322fcd645b1cde4546c217e9..da82bb7c6757226933f1ea19395befaed7df321e 100644
(file)
--- a/
mods/flowers/init.lua
+++ b/
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",