I made a magnifying lens with meshphysicalmaterial before. Iirc it just worked out of the box if you set the thickness params.
If you need more like… a camera zoom… you can animate the camera.fov followed by camera .updateProjectionMatrix()
edit: oh i see u want r3f… is this Fisheye camera (tested with Bruno Simons Level1) + code relevant ?