Added a bunch of shit. Implemented 2DTextureArray function.
lolomfg  fixed all shadow artifacts