Problem with lens flares!

Hello!

I´m working into my Day/night cycle of my game, and i have a problem with the lens flares atached to the Sun…

I just see it when the sun goes down the terrain. (here a picture)

Any suggestion? :cry::cry::cry:

Regards!

Nobody?

Just shut it down when Sun rotation > 90. You are anyway should do it if you don’t want a backlight from the ground.

But commonly, colliders should cover Lens Flares. I see your terrain have a Collider. So, don’t know. Try to other colliders for the test. Or maybe something with collision layers or camera culling type;

You should prevent the camera from being able to clip the terrain in the first place.

–Eric