useFBX
A composable that allows you to easily load glTF models into your TresJS scene.
Usage
ts
import { useFBX } from '@tresjs/cientos'
const model = await useFBX('/models/AkuAku.fbx')
Then is as straightforward as adding the scene to your scene:
html
<Suspense>
<TresCanvas shadows alpha>
<TresScene>
<TresMesh v-bind="scene" />
</TresScene>
</TresCanvas>
</Suspense>