drawers icon indicating copy to clipboard operation
drawers copied to clipboard

Glitched visuals in entities

Open style-nine opened this issue 5 years ago • 3 comments

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}, } drawerbug

style-nine avatar Jun 21 '19 17:06 style-nine

this should be fixed with #36

thomasrudin avatar Jan 06 '20 14:01 thomasrudin

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.

style-nine avatar Jan 06 '20 17:01 style-nine

Okay, this works but you have to completely remove and replace the old drawers.

style-nine avatar Jan 06 '20 17:01 style-nine