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

Addons: Add OutlineNode. #29575

Merged
merged 3 commits into from
Oct 7, 2024
Merged

Addons: Add OutlineNode. #29575

merged 3 commits into from
Oct 7, 2024

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Oct 7, 2024

Related issue: #29295

Description

This ports OutlinePass to WebGPURenderer as OutlineNode.

The great thing about this port is that setRenderObjectFunction() allows a cleaner implementation since no visibility toggling via hierarchy traversal is required anymore. That was by far the most messy part of the previous code and also a performance issue for scenes with many 3D objects.

@Mugen87 Mugen87 added this to the r170 milestone Oct 7, 2024
@Mugen87 Mugen87 merged commit 702b698 into mrdoob:dev Oct 7, 2024
11 checks passed
@sunag
Copy link
Collaborator

sunag commented Oct 8, 2024

There's a curious accuracy problem. The WebGL version appears to have more refined blur.

WebGL
image

WebGPU
image

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

Successfully merging this pull request may close these issues.

2 participants