Why LensFlareSystem cannot be occluded by Mesh

https://www.babylonjs.com/demos/planet/

I see that the lens halo is occluded by the earth in this example, but why isn’t the lens halo occluded by the sphere in my example?

It needs to meet some additional conditions.

PG: https://playground.babylonjs.com/#1ISP3G#3

3 Likes

Thank you for your reply, this is the correct answer.