Skip to main content

envmap

Typestring | null
Defaultnull

Source to the HDR texture image (RGBE), which will used as the scene environment map.

Example

{
src: "/egjs-view3d/model/draco/alarm.glb",
envmap: "/egjs-view3d/texture/spruit_sunrise_1k.hdr"
}
{
src: "/egjs-view3d/model/draco/alarm.glb",
envmap: "/egjs-view3d/texture/royal_esplanade_1k.hdr"
}
{
src: "/egjs-view3d/model/draco/alarm.glb",
envmap: "/egjs-view3d/texture/evening_meadow_1k.hdr"
}