Hello, I have an issue with three.js. I import a “big” glb model on my scene. The object is NOT transparent but if the model is covered by itself on the camera view, the foreground become transparent. (as you can see on the picture, the background montain is on foreground).
I tried some solutions like :
- depthTest to false on glb material
- sortOrder to false
- Use logarithmicDepthBuffer
- Change material transparent to false
- Change alphaTest from 0 to 1 by 0.1 steps
- Change the material to double side
I’m not the only one to get this error because when I upload my .glb file on this website based on three.js : gltf-viewer.donmccurdy.com I get the same problem. But if I upload my model on this other website (also based on three.js gltf.insimo.com there is no more problem. I tried to read the code of the second website on github but ther is too much source file
You can download my glb file at : 1fichier.com/?z6hwqimlej12yw3uzaxv
Sorry for my English,
and thank you for help