-
Notifications
You must be signed in to change notification settings - Fork 4
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
Ggraffiti entites don't appear to line up quite right(?) #11
Comments
Hmm, I don't really know what you mean. This is how it looks for me: (Minetest 5.8.0 with shaders disabled and 16x FSAA) There is an offset of 0.001 units between the node surface and the graffiti entity to prevent Z-fighting between them. However, that offset shouldn't result in glitches since it's the same for all graffiti entities on the same plane. |
|
After more testing, this seems to have to do with the distance between the node and the ggraffiti entity being too small. How can I extend this value a bit and see if it fixes things for me? |
How did you come to this conclusion? The value are the 0.001 in these two places (both must be the same): Line 163 in c5ff4f1
Line 309 in c5ff4f1
Changing it for an existing world may result in existing canvases not being found anymore. To avoid that, you can increase this value: Line 53 in c5ff4f1
|
It was just a guess, because in certain cases I got z-fighting, which would suggest that the surfaces are on the same plane. This still appears to be an issue in our world - since you're now in our repo, maybe try painting on some canvas blocks in a similar way to the original screenshot and see if you get z-fighting or other glitches? Otherwise, if you join Tunnelers' Abyss briefly I could teleport you to the location and you could tell me if you see z-fighting/glitches - it could just be a client issue, I guess, and I've only tested it on two computers. |
@grorp I have a new theory - maybe try the same thing you did before, but near the bottom of the world, and see if there are any glitches? Then maybe on one of the edges of the world too. I just noticed that the painting in question is in a pretty deep spot. |
To reproduce:
Graffiti four nodes completely with different colors, all on the same plane.
There seem to be small glitches between the graffiti entities, maybe z-fighting?
Tested on Minetest 5.8.0 with a few custom commits unrelated to this
The text was updated successfully, but these errors were encountered: