In this episode, I discuss the method gl.colorMask() and show off a few examples of how it works.
API: colorMask(r,g,b,a)
Resources:
https://github.com/davidwparker/programmingtil-webgl/tree/master/0003-color-mask
https://www.khronos.org/opengles/sdk/docs/man/xhtml/glColorMask.xml