WebGL doesn’t have to suck.

Here is a small demo that we put together. We are still trying to find everything needed to make this an asset available to the public, but we think we’ve come up with a cool technique to fake realtime GI. To do this we did two things.

  1. Get the average colors from the cameras render texture.
  2. Use a color overlay on the camera to fake the ambient color.


  1. Clear the average color before taking the next sample.
  2. Position the Render Camera at the back of the scene to asses the average colors more accurately.


¬† Large demo. Works best in Firefox on Windows”