Lots of shader stuff.. still only works for one frame.