I want to create lense flare effect on my planet. I am creating planet using using react babylon.js. I am not sure how to use this sphere to create effect in
`var lensFlareSystem = new BABYLON.LensFlareSystem(“lensFlareSystem”, sphere, scene);
Hey, we will need more info. like code for instance:)
can you repro somewhere? maybe in the playground?
thanks for quick response, But I got the problem solved. I found a function to get that mesh and I put the effect on that. It’s working. haha I spend like one day figuring this out.
1 Like