Unity-Technologies/com.unity.demoteam.mesh-to-sdf

Some meshes seem to cause artifacts (sometimes)

qlee01 opened this issue · 3 comments

Seems that meshes with e.g. holes in the mesh seem to create artifacts in created SDF. Strangely, this only seems to happen sometimes. With exact same setup, I get different behavior. Sometimes these artifacts are created, and if they get created, they seem to stay. Sometimes they are not created at all, and in that case also don't start appearing in same run.
Here are some images of the good case, and two images of the artifacts created in bad case (artifacts vary during the run of application). I also saw artifacts being created if the bounding box of SDF does not cover the full mesh, probably same cause, as this then naturally creates "holes" in the processed part of the mesh.

SDF_Good
SDF_Bad2
SDF_Bad1

Hey, is this on metal? If not, do you still see these artifacts in unsigned mode?

@rob

Hey, is this on metal? If not, do you still see these artifacts in unsigned mode?

Hey, this is on Windows / DX11. In unsigned mode I don't see the artifacts, but the hair collision system does not seem to work correctly with "unsigned" or "jump". Seems to only work correctly with "signed".

rob commented