implemented fragment shader and fix camera transformation bug