Layer WebGL clipping example.
This example shows how to use the precompose and postcompose rendering hooks to clip layers using WebGL.
precompose
postcompose
See the layer-clipping-webgl.js source to see how this is done.