JPG/PNG to Scene.environmentTexture?

How to set jpg/png as reflection texture for Scene.environmentTexture?

You can create a texture by doing new Texture("url to image", scene) and set it to scene.environmentTexture.

Note, however, that if you want to use the environment texture for PBR materials, you will have to use a prefiltered cube texture. See this doc for more context:

2 Likes