Description
Normal:
On Mobile, iOS:
I’ve created this test game to easily open up mobile and play the game. (Well, you have to copy the link somehow… on mobile… yep)
This issue has existed for long, but I don’t think there has been a focused Bug Report about it yet.
If you wonder, what is Z-Fighting? Here’s a very short video: https://www.youtube.com/watch?v=1PEzAE383_Y
THE ISSUE SUMMARIZED:
That what you SEE on your PC or Laptop, is not what you get on Mobile, when it comes to Z-Fighting.
Things that Z-Fight on Mobile don’t Z-Fight on PC.
The minimum offset from floor to part needed for this to not happen is about 0.1065
or less or maybe a bit more. But this causes there being a Gap, that shouldn’t be the case.
I took also an example from Alpha Strike Group’s Decal Placement strategy, where they apparently utilize the Mesh to place things on the floor in order to also adjust the offset. That one is actually also affected if you move the offset closer to the ground, but that’s an issue on all devices.
Different issue
This one is a different issue. From one side this plane is visible but if you look up it can disappear. Happens on both devices.
These here are SurfaceApperances on MeshParts
They Z-Fight more compared to Mobile.
Re-production Steps
- Create a thin part with lowest size possible
- Place it on a surface using the alignment tool on Studio, make sure it’s not on the same Z otherwise it would overlap and Z-fight intentionally.
- Observe
I’ve created a small little “sandbox” that focuses on Z-Fighting that is playable on all devices for quick testing.
Expected Result
That Z-Fighting is consistent across devices PC, Laptop to Mobile. The Z’s are not at the same location, it shouldn’t Z-Fight if the Z’s are not exactly overlapping.
Actual Result
WRONG Z-Fighting occurs on Face’s of Parts and things with SurfaceAppearance.
It doesn’t occur on Decals or Texture.
Here Z-Fighting is occuring at the thing that is accurately placed on the floor. (Not overlapping).
It is not occuring on the one where I put a gap of about 0.01065f
Notice how the Decal and Texture based yellow stripes don’t Z-Fight, but the Black Color Part does? The Decal and Texture is actually on that Black Colored Part. The only thing that is Z-Fighting is the Part however.
User Defined Terminology:
-
What is wrong Z-Fighting?
- Wrong Z-Fighting is when two things are actually not even overlapping, but it Z-Fights somehow.
A private message is associated with this bug report