Your browser (Internet Explorer 6) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.
X

Some adjustments

After I revised my light calculation I was able to get a smaller radius on the lights which enabled me to fully utilize the tiled shading technique. I was able to render 4096 lights without any per tile limit on the lights, albeit I did spread the lights out over a 300×300 area. I was even able to do 8196 with mild lag but I wasn’t able to spread the lights over a far enough area so when you looked down the scene some tiles flickered due to the imposed 40 light calculations per tile. Also I spent some time tinkering with the lights to get them to look good but in the end I realised I was wasting time and I’ll do it later, you could probably optimize the code even further but that comes later. Here’s a fancy picture of it running on 4096 lights.

4096 lights

Be Sociable, Share!

Leave a comment  

name*

email*

website

Submit comment