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

Node: Add DepthOfFieldNode. #28740

Merged
merged 5 commits into from
Jun 25, 2024
Merged

Node: Add DepthOfFieldNode. #28740

merged 5 commits into from
Jun 25, 2024

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jun 25, 2024

Related issue: #28733

Description

This PR adds a DepthOfFieldNode by converting BokehShader TSL.

Compared to the original BokehPass, this implementation does not perform a separate depth pass but uses the existing depth information from the beauty pass. In this way, there is no unnecessary render pass in place which is a plus in performance.

@Mugen87 Mugen87 added this to the r166 milestone Jun 25, 2024
@Mugen87 Mugen87 merged commit 4feb137 into mrdoob:dev Jun 25, 2024
10 of 11 checks passed
@Methuselah96 Methuselah96 mentioned this pull request Jun 25, 2024
36 tasks
@Mugen87 Mugen87 changed the title Addons: Add DepthOfFieldNode. Node: Add DepthOfFieldNode. Jun 26, 2024
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.

3 participants