Skip to content

react-three-fiber support #270

@drcmda

Description

@drcmda

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 ......

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions