The model with transparency has a strange effect in Reality Composer Pro.

As you can see, it is a transparent spherical shell model with a ball inside. Everything is normal on the front side, but there are strange mesh triangles on the side and back view. I don't know if this is as expected and what I need to do to remove these strange effects.

Answered by Vision Pro Engineer in 810060022

Hi @_rdy

This appears to be a transparency sorting artifact, which is not unexpected when dealing with overlapping transparent geometry—especially when it's within the same model.

One approach to remedying this issue for this specific model would be to split it into three unique meshes: the opaque ball, the inner transparent shell, and the outer transparent shell. This way you can apply a ModelSortGroupComponent to each of the meshes such that the opaque ball is always drawn first, the inner transparent shell is always drawn second, and the outer transparent shell is always drawn last, which will ideally resolve the visual anomalies from most, if not all, viewing angles.

This section in the Swift Splash sample project discusses a similar approach.

Let me know if you run into any issues!

Accepted Answer

Hi @_rdy

This appears to be a transparency sorting artifact, which is not unexpected when dealing with overlapping transparent geometry—especially when it's within the same model.

One approach to remedying this issue for this specific model would be to split it into three unique meshes: the opaque ball, the inner transparent shell, and the outer transparent shell. This way you can apply a ModelSortGroupComponent to each of the meshes such that the opaque ball is always drawn first, the inner transparent shell is always drawn second, and the outer transparent shell is always drawn last, which will ideally resolve the visual anomalies from most, if not all, viewing angles.

This section in the Swift Splash sample project discusses a similar approach.

Let me know if you run into any issues!

The model with transparency has a strange effect in Reality Composer Pro.
 
 
Q