SpriteRenderer Visible from Both Sides?

Hi all! I’m trying to have a spriterenderer visible from both sides in MR. For environment, I tried both PolySpatial sample project and also created a project from scratch. For material I tried from default sprite material to all types of shadergraphs with double-sided render, all of which work in fresh URP. Is this functionality currently supported by PolySpatial? If so, are there configurations I have missed? Thank you so much!!!

It is currently not supported, due to limitations in RealityKit’s ShaderGraphMaterial, which we use for rendering sprites. That material does not allow changing the cull face mode to render both sides. We have suggested to Apple that they support a cull face setting on the material, and it might help convince them if you also request this, via their Feedback Assistant.

In the future, if Apple doesn’t add that setting, we plan to investigate generating additional geometry to support double-sided rendering. Until we do that, one workaround would be to use two Sprites facing opposite directions.

3 Likes

Update on this: Apple did indeed add support for changing the cull face option on shader graph materials in visionOS 2.0. In PolySpatial 2.X, we transfer the Render Face setting on the shader graph target to the RealityKit ShaderGraphMaterial, allowing back-face or double-sided rendering.

1 Like