Spectator mode renders faces incorrectly

Unity Editor version: 2022.3.11f1
ML2 OS version: 1.8.0
Unity SDK version: 2.1.0
Host OS: MacOS
Spectator version: 1.3.4

The spectator app is rendering faces incorrectly when the ML2 renders them just fine.
Not sure if it's related but we do use custom compute shaders to render textures onto our meshes.

I took some video captures:
brain video
shapes video

In the brain video it looks like the normals are flipped.
In the shapes video we can also notice that the render order of the meshes is not correct.

Thank you for the video. If you are using URP I think you may need to under the configuration on your pipeline:

The Intermediate Texture mode on the Universal Render Data Asset should be set to Always (located under Compatibility) and Depth Texture should be enabled on the Universal Render Pipeline Asset (located under Rendering) to ensure correct render order for the ML Spectator rendering camera.

Setting Intermediate Texture to Always and Depth Texture enabled ensures that secondary scene cameras operating outside of a scriptable render pass have proper depth projection and layer order.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.