Render test of deferred rendering in openFrameworks.
The GBuffer consists of normals + linear depth in an RGBA32F texture and a diffuse/albedo RGBA16F texture. All lighting is done in viewspace and positions are recreated in the shaders via the linear depth values.
60fps with 1200 lights + SSAO
60fps with 375 lights/30fps with 750 lights + SSAO) on a GTX 670
60fps with 75 lights/30-35fps with 110 lights + SSAO on a 2010 Macbook Pro with nvidia 330M card
Source code is available here: