The two first settings of this section define the appearance of the viewer background when the environment map is not visible. If the environment is visible, these parameters don't have any effect.
Define the color used for the background of the viewer window (default is white).
Define the transparency used for the background of the viewer window (default is 1 - opaque).
The rest of the parameters of this section control the visibility and properties of the environment used in the scene.
This setting toggles the visibility of the environment map in the scene. The environment is always used for rendering, even if this setting is OFF. In order to disable the environment, see next setting.
Choose between a number of presets included in the ShapeDiver viewer. In order to completely disable the environment, pick the preset called none.
This settings controls the resolution of the chosen environment preset. Four sizes are always available: 256x256px, 512x512px, 1024x1024px, 2048x2048px
This setting only affects presets. Custom environments (next paragraph) are only available in the resolution of the uploaded files.
In order to add custom environment maps, you need to provide cube maps. These cube maps can be obtained with an HDRI image here. The converter will convert the HDRI into a series of six images representing a cube map:
Those images need to be stored in an online location that can be accessed by the viewer. In particular:
- The folder where the images are stored needs to be publicly accessible.
- Make sure the CORS configuration of the location allows access. An example of CORS configuration would be:
Once the files are online and configured correctly, the environment map can be set by entering the url of the folder in the text box of this setting.