Fix node highlight z-fighting
This commit is contained in:
parent
b0d487312e
commit
479e234ba7
3
init.lua
3
init.lua
|
@ -102,7 +102,8 @@ local function register_scaffold(name, groups)
|
|||
groups.cracky = 1
|
||||
minetest.register_node(name, {
|
||||
paramtype = "light",
|
||||
drawtype = "glasslike",
|
||||
drawtype = "mesh",
|
||||
mesh = "meshnode_highlight.obj",
|
||||
is_ground_content = false,
|
||||
sunlight_propagates = true,
|
||||
use_texture_alpha = true,
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
# Blender v2.72 (sub 0) OBJ File: ''
|
||||
# www.blender.org
|
||||
mtllib meshnode_highlight.mtl
|
||||
o Cube
|
||||
v -0.506010 -0.506010 0.506010
|
||||
v -0.506010 -0.506010 -0.506010
|
||||
v 0.506010 -0.506010 -0.506010
|
||||
v 0.506010 -0.506010 0.506010
|
||||
v -0.506010 0.506010 0.506010
|
||||
v -0.506010 0.506010 -0.506010
|
||||
v 0.506010 0.506010 -0.506010
|
||||
v 0.506010 0.506010 0.506010
|
||||
usemtl None
|
||||
s off
|
||||
f 5 6 2 1
|
||||
f 6 7 3 2
|
||||
f 7 8 4 3
|
||||
f 8 5 1 4
|
||||
f 1 2 3 4
|
||||
f 8 7 6 5
|
Loading…
Reference in New Issue