Когда использовать
Use high-dynamic-range environments to control reflections and illumination consistently.
Решения для реализации
- Load a 1K HDR for the interactive preview. Increase resolution only if the final shot needs it and the device budget allows.
- Generate a PMREM environment for physical materials. Keep the original equirectangular texture only when it is also the visible background.
- Compare materials under the same environment and exposure. Avoid compensating for incorrect color space with arbitrary lighting.
- Dispose old PMREM targets when changing the environment and stop loading work when the scene unmounts.
Как проверить результат
- Metal reflects the selected environment.
- Exposure updates without a geometry reload.
- Selecting a second environment does not retain the old GPU textures.