Today I decided to use a TBO instead of an SSBO for culling information.
Since the light structure is fairly big, I'm still using the SSBO for shading, but for culling I'm using a TBO that holds just the radius and the position of the light. I did expect an improvement in performance, but the result is far beyond expectations.As you can see from the picture, I'm rendering 10.000 lights at more than 50 fps. Also, the technique is more efficient with a grid size of 16x16, which is one of the problems I still had to address.
Tomorrow I plan to do some testing of the algorithm under different conditions, and I'm also planning on writing a short article about it, as I'm quite happy with the results.

Nessun commento:
Posta un commento