toneMapping
Apply tone mapping.
This is used to approximate the appearance of high dynamic range (HDR) on the low dynamic range medium of a standard computer monitor or mobile device's screen.
Available values are stored in TONE_MAPPING
import View3D, { TONE_MAPPING } from "@egjs/view3d";
new View3D("#el", {
toneMapping: TONE_MAPPING.ACES_FILMIC
})
Example
ToneMapping: | |
Skybox Image: | |
Exposure: 1 |
- JSON
- JavaScript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
src: "/egjs-view3d/model/draco/alarm.glb",
skybox: "/egjs-view3d/texture/royal_esplanade_1k.hdr",
toneMapping: 1
}