three.js - Manual Supersampling Anti-Aliasing (SSAA) pass by Ben Houston

This manual approach to SSAA re-renders the scene once for each sample with camera jitter and accumulates the results.

Texture interpolation, mipmapping and anistropic sampling is disabled to emphasize
the effect SSAA levels have one the resulting render quality.