Lense flares don't work inside spheres

Hello,
I have created a sphere that has frontward culling meaning that the sphere gets rendered from the inside (to be able to later create a sky that has random clouds). Both the camera and the sun is inside the sphere, but the 50 mm effect I get from the sun is then gone because of it even if I make the sphere 100% transparent so that I don’t see the sphere at all. I notice how the 50 mm lighting effect is only visible if the camera and the sun is both outside the sphere regardless of the sphere’s transparency. How can I have the 50 mm effect and the camera and the sun be inside sphere at the same time?

Thank you,
Michael S. Lowe

Does the sphere have a collider on it?

Thank you. Why should colliders control the lighting effects?

Because you usually don’t want lens flares showing through solid objects :wink:

The lensflare effects base on rays from light to you. if there is a collider between you and the light “you don’t see the light” technically and as such no lens flare either.

EDIT: fixed missleading info - thanks eric

Shadows are only based on mesh renderers with the appropriate shader, not colliders.

–Eric