commented out static shader since it only works without the skeletal renderer, so there is probably some conflict and I don't want to deal with it now
added a function to use gpu contiguous memory 'trick'/hack to fill out uniform arrays