A lot of people here don't like good graphics because it reminds them of what losers they are. Camera flares are a great-looking effect, and easy to implement. Here are some tips to keep the speed up.
-Only update flares before the RenderWorld()
-Have a distance fade so you don't have to check visibility past a certain range.
-You can skip updates so that you only check visiblity every other time, or every 20th time.
-Keep separate copies of the objects that make up your map for collision/occlusion. Do not merge these collision objects.
-For staticmesh-type geometry, run a check on the bounding box of the mesh, then run a check on the complex mesh if the bounding box intersects.
-Only update flares before the RenderWorld()
-Have a distance fade so you don't have to check visibility past a certain range.
-You can skip updates so that you only check visiblity every other time, or every 20th time.
-Keep separate copies of the objects that make up your map for collision/occlusion. Do not merge these collision objects.
-For staticmesh-type geometry, run a check on the bounding box of the mesh, then run a check on the complex mesh if the bounding box intersects.