Original Post
Hi, I've been using multiple lights in my demo. My question is about improving performance. The scene consists of 95.743 triangles and 15 lights (A screenshot here). I got approx 140 FPS on 800x600 with my HD2600 Pro. If I use 20 lights, I got approx 120 FPS. I'm using a stencil based technique (using light volumes and stencil clipping) with Deferred Shading. Do you think that it's good enough? If not, how can I improve performance? Because I'll add some different effects (e.g. reflection/refraction, shadow mapping, projective texturing for spotlights[like Doom3], custom HDR techniques, motion blur and DoF. My previous demo which consists of all these effects [you can look at forum Image of The Day - "The New HDR Experience" thread], works on 640x480 with same hardware and gives me 30-35 FPS with only 2 lights). I will be grateful for any suggestions. Regards, Rohat.