- added code to manually compile and upload the vertex and pixel shader lighting state, because the shader API only offers lighting data out of order, so it cannot be only partially overridden.
- converted skin shader dynamic state to use commandbuffer.