-
Notifications
You must be signed in to change notification settings - Fork 163
Open
Labels
Description
Would it be possible to also create a surface for r3f: https://github.com/react-spring/react-three-fiber ? If that component is inside <Canvas/>
it has access to practically everything it would need, like the gl instance/render context, etc
function({ width, height }) {
const { gl } = useThree()
return (
<mesh scale={[width, height, 1]}>
<shaderMaterial ......
tommhuth, CS6, skuteli, hazem3500 and verekia