Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glitched visuals in entities #35

Open
style-nine opened this issue Jun 21, 2019 · 3 comments
Open

Glitched visuals in entities #35

style-nine opened this issue Jun 21, 2019 · 3 comments

Comments

@style-nine
Copy link

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

@thomasrudin
Copy link
Contributor

this should be fixed with #36

@style-nine
Copy link
Author

style-nine commented Jan 6, 2020

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants