Skip to content

[Feature] Shader Language #3636

Description

@daker

Motivation

VTK.js contains two shader generation systems. Both build GPU source by splicing strings into templates at markers of the form //VTK::Section::Slot. Both implement the same rendering features independently, one in GLSL and one in WGSL.

Detailed Description

Shader Language replaces both with a single typed graph that describes what a shader means, backends decide how to say it. A rendering feature is written once. The compiler decides the language, the stage, the resource layout, and the varyings.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions