You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
useCursor has implemented the original form of the browser.
However, when using r3f to create interactive animations, it is common to track the cursor and add styles that are not part of the browser itself, not limited to CSS cursor images, but also specially processed shaders.
Is it possible to implement cursor-tracking or further shaderMaterial on existing useCursor?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
useCursor has implemented the original form of the browser.
However, when using r3f to create interactive animations, it is common to track the cursor and add styles that are not part of the browser itself, not limited to CSS cursor images, but also specially processed shaders.
Is it possible to implement cursor-tracking or further shaderMaterial on existing useCursor?
Such as,
useCursor (event, browser cursor style, {... trackingPixels | shaderMaterial})
Beta Was this translation helpful? Give feedback.
All reactions