Shader:  Code factoring.  Allow NULL shaders.

TODO : Update content for shadow mapping algorithm
Pass NULL fragment shader to stencil program since only vertex shader is used to
update stencil buffer.