drawers
drawers copied to clipboard
Glitched visuals in entities
Linux Minetest 5.1.0-dev-39c54e1 GeForce GTX 1050 nvidia driver 390.116-0ubuntu0.18.04.1
At a distance the drawer entities exhibit what appears to be z-fighting. See the attached image for an example. I've found that changing the node box (in api.lua) clears up the issue, but there might be a better way to solve this.
drawers.node_box_simple = { {-0.5, -0.5, -0.42, 0.5, 0.5, 0.5}, {-0.5, -0.5, -0.5, -0.42, 0.5, -0.42}, {0.42, -0.5, -0.5, 0.5, 0.5, -0.42}, {-0.42, 0.42, -0.5, 0.42, 0.5, -0.42}, {-0.42, -0.5, -0.5, 0.42, -0.42, -0.42}, }
this should be fixed with #36
That actually does not fix it. That actually makes the problem worse. The value needs to be lower, not higher.
EDIT: I may be wrong about that. Let me test this some more. It seems the update requires some dramatic changes to existing worlds.
Okay, this works but you have to completely remove and replace the old drawers.