How to apply HDRI(env)?

@Mugen87
What is the minimum supported version of this method? Because I need to adapt to the old version

new RGBELoader()
    .setPath('textures/equirectangular/')
    .load('royal_esplanade_1k.hdr', function (texture) {

        texture.mapping = THREE.EquirectangularReflectionMapping;

        scene.background = texture;
        scene.environment = texture;

    });

This is the rendered image after I use this method

This is the rendered image obtained using the previous method

I want to know why the effect is not very good after using the new method. Do I need to adjust something?