How to create metallic surface

I want to create a metallic looking torus like the one here: three.js examples but am having trouble getting my code to work, not sure what I am missing, see my code here: Glitch :・゚✧ any help would be appreciated

Similar to the example, you have to add an environment map to your torus:


after adding the envmap to the torus it says “THREE.EXRLoader is not a constructor”, see code here: Glitch :・゚✧

Sorry, but I have shared a working live example that should everything contain to fix your issue.

You have to invest more time in studying and trying before asking the community.


Thanks for all your help, your advice is noted. edit: Thanks it’s working now