three.js - Unbiased Manual Supersampling Anti-Aliasing (SSAA) pass by
Ben Houston
This example shows how to unbias the rounding errors accumulated using high number of SSAA samples on a 8-bit per channel buffer.
Turn off the "unbiased" feature to see the banding that results from accumulated rounding errors.