softbox 4.18.0 → 4.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -32,6 +32,7 @@ Balanced studio lighting, a baked soft contact shadow that grounds the model, au
32
32
  ## What you get
33
33
 
34
34
  - **[Visual presets](#visual-presets)** — `studio · product · neutral · dark · outdoor`, one word, switched live
35
+ - **[Scenes](#scenes)** — `studio_dome · studio_soft`, one word picks the set the model stands in
35
36
  - **[Turntable](#turntable)** — one-word showcase auto-rotate that pauses while the user drags
36
37
  - **[Animations](#animations)** — GLTF clips autoplay with one word; play/pause/clip-picker API
37
38
  - **[Photoreal mode](#photoreal-mode--stills)** — progressive path tracing + `captureStill()` PNG export
@@ -84,6 +85,26 @@ Let your users switch presets with the built-in picker (off by default):
84
85
  <SimpleViewer object={url} options={{ ui: { presets: true } }} />
85
86
  ```
86
87
 
88
+ ## Scenes
89
+
90
+ Presets grade the picture; **scenes** choose the set. `options.scene` selects
91
+ the physical set the model stands in — the floor, the backdrop and how the
92
+ built-in studio environment is built. Unlike presets, a scene is structural:
93
+ switching one rebuilds the viewer.
94
+
95
+ ```tsx
96
+ <SimpleViewer object={url} options={{ scene: 'studio_soft' }} />
97
+ // studio_dome (default) | studio_soft
98
+ ```
99
+
100
+ - `studio_dome` — the default set: shadow-catcher floor, baked soft contact
101
+ shadow and a crisp, contrast-pushed studio light with distinct highlights.
102
+ - `studio_soft` — the same set lit softly: an even, low-contrast wraparound
103
+ light that flatters matte materials and softens speculars.
104
+
105
+ Scenes compose with presets — `scene` picks the set, `preset` grades it, and
106
+ any explicit option you pass overrides both.
107
+
87
108
  ## Turntable
88
109
 
89
110
  One word puts the model on a slowly rotating showcase turntable. It pauses while the user drags and resumes on release; toggling is live, like presets.