Question

When dealing with particles in three.js and using Additive blending I find that the resulting particle system is visible even when there is an object, or objects for that matter, between it and the camera.

Is there a way to make sure that the particles stop being visible when there is an object obstructing them?

Was it helpful?

Solution

I had this same issue and it turned out that the normals of the obstruction's faces were not being calculated correctly. Once I corrected their calculation, the faces obstructed the objects behind them as one would expect.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top