cube map and sphere map environment shader fully working.
Calculating the ModelView matrix and passing it to Material instead of the ViewMatrix. Also removed the camera position parameter which is not needed anymore.