Add env map to object

Hello;
in this example exr how can I use my own object instead of TorusKnotBufferGeometry;
I tried something like this but I couldn’t

Option 1 (easy): Add env map to the scene using environment. It will be applied to all models that have compatible/PBR materials. It should work right away, especially with glTFs, though I believe it may depend on the model you’re using. See for example here.

Option 2: Apply environment to every material in the model manually by traversing it and update it’s materials afterwards.

2 Likes