Lighting & Environment. Control the lighting and the environment surrounding <model-viewer>. This page showcases the skybox-image attribute, which links to an equirectangular projection image which is used as the skybox, and applied as an environment map to the model.

An equirectangular HDR skybox-image

An equirectangular HDR skybox-image

An equirectangular LDR skybox-image

An equirectangular skybox-image with a lit model

An equirectangular skybox-image with an unlit model

Use environment-image to set environmental lighting without changing the background

Supports different skybox-image and environment-image images

Control render exposure with exposure

Control shadow with shadow-intensity and shadow-softness