Can anyone help me? The file sky.glb is not working in my project. but the another file work corectly
import { useGLTF } from '@react-three/drei'
import React from 'react'
import skyScene from '../assets/3d/sky.glb'
const Sky = () => {
const sky = useGLTF(skyScene);
return (
<mesh>
<primitive object={sky.scene}/>
</mesh>
)
}
export default Sky
New contributor
Christian1233 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.