Open yosun opened 4 months ago
Is there a way to download .glb from the API?
There isn't a way to do this. But the latest version in the app store does support mesh generation.
See #7
Hence why it's a feature request? The web app generates .glb so I assume the server is already setup to generate the .glb ... just expose the API
Major issue is that the depth mask shader does not work for visionos's strict URP - but I have been able to load .glb at runtime https://github.com/Blockade-Games/BlockadeLabs-SDK-Unity/issues/8
Hence why it's a feature request? The web app generates .glb so I assume the server is already setup to generate the .glb ... just expose the API
No API needed. Mesh generation is done in the unity package directly based on the depth information.
ah only quickly tested on visionos -
is that editor only or runtime as well?
if mesh is generated what's with the depth masks? Shader 'BlockadeLabsSDK/BlockadeSkyboxDepth etc
is that editor only or runtime as well?
Yes you should be able to request a skybox at runtime and it generate the mesh for you.
Unfortunately I think it is going to use the shader that breaks for visionOS. I believe a fix is in progress for #8
Edit: I was informed that mesh is driven completely by shader. So you'll likely need to download directly in website until it can be addressed properly.
or just request that they add a .glb to their API endpoint
Is there a way to download .glb from the API?