@react-three/drei 9.56.7 → 9.56.9
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 +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -195,6 +195,7 @@ The `native` route of the library **does not** export `Html` or `Loader`. The de
|
|
|
195
195
|
<li><a href="#environment">Environment</a></li>
|
|
196
196
|
<li><a href="#lightformer">Lightformer</a></li>
|
|
197
197
|
<li><a href="#spotlight">SpotLight</a></li>
|
|
198
|
+
<li><a href="#spotlightshadows">SpotLightShadows</a></li>
|
|
198
199
|
<li><a href="#shadow">Shadow</a></li>
|
|
199
200
|
<li><a href="#caustics">Caustics</a></li>
|
|
200
201
|
<li><a href="#contactshadows">ContactShadows</a></li>
|
|
@@ -3395,6 +3396,11 @@ function Foo() {
|
|
|
3395
3396
|
```
|
|
3396
3397
|
|
|
3397
3398
|
#### SpotLightShadows
|
|
3399
|
+
[](https://drei.pmnd.rs/?path=/story/staging-spotlight--spotlight-shadows-st)
|
|
3400
|
+
|
|
3401
|
+
<p>
|
|
3402
|
+
<a href="https://codesandbox.io/s/yyk6gv"><img width="20%" src="https://codesandbox.io/api/v1/sandboxes/yyk6gv/screenshot.png" alt="Demo"/></a>
|
|
3403
|
+
</p>
|
|
3398
3404
|
|
|
3399
3405
|
A shadow caster that can help cast shadows of different patterns (textures) onto the scene.
|
|
3400
3406
|
|