Skip to content

Add support for Nodes system to work with JS code similar to GLSL and WGSL #25256

@LeviPesin

Description

@LeviPesin

Description

I suggest to add support for Nodes system to work with JS code similar to GLSL and WGSL. I see multiple ways in which it can be useful:

  • It can be useful for doing CPU/GPGPU calculations depending on environment. I.e. you can build a large Nodes program, which then can be executed either by JavaScript, by WebGPURenderer.compute(), or WebGLRenderer.compute() (I will do a PR adding WebGLRenderer.compute() soon).
  • It can be used to replicate the removed SoftwareRenderer (a CPU-side renderer).

Solution

Add support for Nodes system to work with JS code. I can work on adding it.

Alternatives

Don't add support for Nodes system to work with JS code.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions