Lens Flares shines through (maya)-object geometry..


ive made a simple project where a sun is rotating around a object (created in maya) 360 degrees. For this light ive activated lens flares. If i start the scene and orbit through the mousescript that the object is between camera and light-source, the lens flares shines through the object.

If i create a simple cube and position this one between light and camera, it works perfect and no lensflares are shown.

Does anybody know something about this "bug"?

Thanks for your time

From http://unity3d.com/support/documentation/Components/class-Flare.html

Lens Flares are blocked by Colliders. A Collider in-between the Flare GameObject and the Camera will hide the Flare, even if the Collider does not have a Mesh Renderer.