Add stencil functions to threejs.
Add stencil types.
Add stencil calls for illumination passes.