Skip to content

Documentation: State of WebGPURenderer and Nodes #28957

@hybridherbst

Description

@hybridherbst

Description

I'm trying to understand what the current state is, where examples went, and how things in regards to nodes are done now. This is a documentation issue :)

From what I can see:

  • All WebGL examples regarding node materials have been removed in NodeMaterial: Remove WebGLNodeBuilder #28167.

  • New features and bug fixes to the nodes system are only added to the WebGPURenderer. No nodes-related features are officially available for WebGLRenderer anymore.

  • WebGPURenderer is currently in examples. It's not part of core three.js. WebGPURenderer is now in a separate bundle.

  • There is no documentation (that I could find) on how to switch from WebGLRenderer to WebGPURenderer. I was wondering if switching with { forceWebGL: true } is a safe step, for example.

Documentation Questions

  1. Is WebGPURenderer mature enough to start switching to it?

  2. Is WebGPURenderer with { forceWebGL: true } currently 100% matching WebGLRenderer?

  3. Are there specific things to keep in mind when using GLTFLoader with WebGPURenderer? Is there anything extra that a developer needs to do? Does it use nodes when doing that, or the previous materials?

  4. Will WebGPURenderer move to core at some point, or will it stay an example?

  5. Is there documentation for switching? For example, it's not clear to me if all classes WebGL* need to be swapped, or if it's fine to use WebGLRenderTarget with WebGPURenderer.

Solution

Documentation for how to start using WebGPURenderer.

Alternatives

Waiting until a further point and not starting to use/test WebGPURenderer.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions