Panorama image is darker than original image

Hi, I don’t explicitly defined renderer in my code.
I think Canvas component automatically generate renderer in react-three-fiber(Maybe).

By the way,
in discord of threejs, kind person tell me how to fix.

Here is my procedure.

  1. I remove this line.
texture.encoding = THREE.sRGBEncoding
  1. upgrade r3f
  2. set flat and linear props of Canvas component as true.

Then, the color is same as original! here is the code i already fixed r3f ibl envmap simple (forked) - CodeSandbox

Thank you for your help!