altered camera to support shaders
resolving errors