three.js - Unbiased Manual Multi-Sample Anti-Aliasing (MSAA) pass by Ben Houston

This example shows how to unbias the rounding errors accumulated using high number of MSAA samples on a 8-bit per channel buffer.

Turn off the "unbiased" feature to see the banding that results from accumulated rounding errors.