Implemented shadowCasterMap generation.

Currently uses the CPU to generate the map from the saved texture array. This
took some optimization effort, and is probably still not optimal. Probably a way
to do this on the GPU instead as a texCopy so will look into that next.