Enhanced Reflector: I want to use Reflector like envMap

I tried CubeCamera for Reflection but it doesn’t work properly on Cube, but it’s ok on Sphere. Therefore, right now I’m trying to rewrite the Shader of the Reflector so that it reflects as an envMap, that is, I want to transfer not just a color, but a texture, normalTexture and the Reflector reflects its texture as an envMap. But I could not get enough shader examples for this, I would be glad if someone can help