Hi!
I bought two GTLF models for testing out my codes. The problem is that one of them worked fine, but for the other one, the mesh becomes transparent when seen from inside.
I know it can usually be fixed with backFaceCulling=false
but then when I apply texture to it, the texture is applied to the inside of the mesh as well.
I am not sure how this became a problem while the first model worked fine
When I add shadow, the light goes through inside of the bag too. I assume it’s because the transparent part is not just color-less, but actually works as if there’s nothing.
Here are photos of them.
This one has solid(no transparent) mesh
Yet, this one becomes transparent from inside
With backFaceCulling=false
+ adding texture to it, texture is applied to the inside of the mesh as well.
Is there a way to fix this?
Also, those two models seems to have different settings in the beginning so I feel like it can be fixed within GLTF file.
Thank you!!