set camera and webgl