I am currently working with THREE.js and the WebGL renderer, facing an issue with a self-transparent object in my scene. This object is composed of a single geometry with a basic material that includes a texture and has the transparent: true
property enabled. Strangely, when viewed from one side, the transparent parts of the object layer correctly, but not from the other perspective:
On the left side, the trees appear incorrect as they ignore the map behind them. However, on the right side, the trees display fine allowing the background map to be visible through them. It's worth noting that everything you see is part of a single geometry.
Does anyone have any suggestions for solving this problem?
As a temporary workaround, I have been creating each transparent face as its own individual object, although I know this is far from an ideal solution.