Dynamic texture help

I want my texture to be 2048p. .but when i come near to the surface it should be 4096p. .like a fresnel effect. .the more mesh is near the camera. .the higher the resolution of the texture. .the farther the mesh the lower the resolution of the texture