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

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

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