Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDrawLoader: Add WebGPU support. #29752

Merged
merged 4 commits into from
Oct 28, 2024
Merged

LDrawLoader: Add WebGPU support. #29752

merged 4 commits into from
Oct 28, 2024

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Oct 27, 2024

Related issue: #29295

Description

The PR adds WebGPURenderer support to LDrawLoader by moving the internal custom shader material to an external file LDrawConditionalLineMaterial so there is no dependency to ShaderMaterial anymore. The line type is now configurable with a new method (same pattern like with other addons e.g. GLTFExporter).

The PR also adds the node material version of the custom material so the loader can be used with WebGPURenderer.

@Mugen87 Mugen87 added this to the r170 milestone Oct 27, 2024
@Mugen87 Mugen87 merged commit d067dfd into mrdoob:dev Oct 28, 2024
11 checks passed
@mrdoob
Copy link
Owner

mrdoob commented Oct 29, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants