Installation
How to install and set up effectable-gltf
Prerequisites
Before installing effectable-gltf, make sure you have the following dependencies in your project:
- React (16.8 or higher)
@react-three/fiber
@react-three/drei
@react-three/postprocessing
three
You can install them via
npm i @react-three/fiber @react-three/drei @react-three/postprocessing
Package Installation
You can install effectable-gltf using your preferred package manager:
# Using npm
npm install @vantezzen/effectable-gltf
# Using yarn
yarn add @vantezzen/effectable-gltf
# Using pnpm
pnpm add @vantezzen/effectable-gltf
TypeScript Support
The library includes TypeScript definitions out of the box. No additional type packages are required.
Next Steps
Once you've installed the package, you can:
- Import the components in your React application
- Start using the
EffectableGltf
component - Apply built-in effects or create custom ones
Check out the Basic Usage guide to learn how to use the library in your project.