Replies: 1 comment 1 reply
-
this one? https://codesandbox.io/s/volumetric-spotlight-tx1pq const [light, set] = useState()
return (
<>
<spotLight ref={set} />
{light && <primitive object={light.target} />} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Does anyone know of an example of a spotlight with a target? Or any example with a light using
lookAt
.Beta Was this translation helpful? Give feedback.
All reactions