Why createEnvironment use Promise in three.js white furnace test
createEnvironment code:
Why createEnvironment use Promise in three.js white furnace test
createEnvironment code:
Perhaps in a previous version of the example, that code was asynchronous (e.g. to load an environment texture). It doesn’t need to use a Promise now.