Skip to content
This repository was archived by the owner on Apr 4, 2022. It is now read-only.
This repository was archived by the owner on Apr 4, 2022. It is now read-only.

Support Custom Renderers #24

@CodyJasonBennett

Description

@CodyJasonBennett

Currently, <three-game> provides a default WebGLRenderer instance, but there are cases where users would opt to use SVGRenderer, CSS2DRenderer, CSS3DRenderer, and WebGL1Renderer.

To support these renderers, we could pick up renderer elements as children of <three-game> and conditionally revert #21 for non-WebGL instances. For instance, react-three-fiber tackles this by only using renderer.setAnimationLoop when xr is enabled.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions