Releases: pmndrs/drei
Releases · pmndrs/drei
v2.2.18
Added
<Center />
component with story
v2.2.17
2.2.17
v2.2.16
2.1.x
Export picks
import { Text } from "@react-three/drei/Text"
import { Shadow } from "@react-three/drei/Shadow"
...
Shorter loaders
import { useGLTF, useFBX, useTexture, useCubeTexture } from "@react-three/drei"
Preload and auto CDN draco
useGLTF
will automatically pull draco binaries from 'https://www.gstatic.com/draco/v1/decoders/'
if a model is compressed. It supports react-three-fibers new preload syntax.
useGLTF.preload(url)
New helpers:
- ContactShadows
- Loader
- PointerLockControls
- useDetectGPU
- useProgress
- useMatcapTexture
- useNormalTexture
- useSubdivision
- useTessellation
- useSimplification