renderTarget class (for shadow and cube mapping)