Hi,
I am trying to run the integration made here Add ability to exclude tiles by implementing a C# class. by kring · Pull Request #248 · CesiumGS/cesium-unity · GitHub for my poly spatial visionpro unity project. However, the custom material (CesiumClippingTilesetMaterial) made to prevent tiles drawn outside the box does not work in my visionpro application unfortunately. It seems that the map is not rendered directly. Can you help me with this?
Hi @simtech, welcome to the community!
Can you please tell us:
- How you’ve gone about running Cesium for Unity on the Vision Pro, since it’s not an officially-supported platform.
- What version of Cesium for Unity you’re using?
- In what way the material is not working? Is it an error message? Does something look wrong? (and if so, in what way?)
Hi @Kevin_Ring !
I’m using Cesium for Unity version 1.13.0.
I was able to get Cesium for Unity running on the Vision Pro by following steps from a developer’s blog. Here’s a summary of what I did:
- I made some modifications to the runtime-generated code within the plugin to make it compatible with VisionOS.
- Then, I added custom edits to Cesium’s sub-graph assets.
- Lastly, I changed the mesh triangle order in the Cesium tile set.
Following these steps, I successfully ran Cesium for Unity on Vision Pro.
However, since I need to use the map in a tabletop format, I needed the CesiumBoxExcluder functionality. After applying a pull request (PR) that included a custom shader to prevent tiles from extending outside the box, I was no longer able to see the map on Vision Pro.
Do you have any suggestions on how to address this issue?
And is official Vision Pro support for Cesium for Unity expected anytime soon?
Thanks!
Can you please share a link to the blog post, as well as the “pull request (PR) that included a custom shader to prevent tiles from extending outside the box”?