Hello, this is my first post on the Three forum. I am more familiar with Babylon and I am on the that forum a bit. I got looped into making a game in VR using React Three Fiber for Niantic/8th Wall and I am struggling with an issue I can’t find an exact answer for.
Opaque objects are initially sorted by distance to camera… but all the meshes in your glb have their position at 0,0,0, so you’ll definitely need to set .renderOrder on them to control their ordering.
Make sure you set it on the meshes themselves… and also make sure the transparent honey meshes are marked as material.transparent = true
R.e. file size… You can use mesh compression via DRACO, or meshopt to get the file size way down.
@manthrax Thanks man!
I have been moving so fast I forgot that was a thing. I will for sure have to get all the glbs compressed by the time we launch. @Hans_Beemsterboer
And good news I found a solution.
I guess the artist made the hive core (everything but the honey) into one object at the start. All the honey parts were there own separate object. We went through several different versions to see what worked and found breaking up the walls into smaller objects fixed the issue.
Like I said it works perfectly fine on desktop but in VR it seems to have issues and I have no idea why.