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

TRAAPassNode: Incomplete MRT support. #29842

Open
ligaofeng0901 opened this issue Nov 8, 2024 · 2 comments
Open

TRAAPassNode: Incomplete MRT support. #29842

ligaofeng0901 opened this issue Nov 8, 2024 · 2 comments

Comments

@ligaofeng0901
Copy link
Contributor

ligaofeng0901 commented Nov 8, 2024

Description

If we add some other postprocessing node after TRAA, we got a black screen.
It appears that TRAA can not work with other MRT, it only takes two textures as output when rendering pass.
https://jsfiddle.net/ligaofeng0901/g0u9qdb6/14/
I created a demo. In this demo, traa and bloom doesn't work fine together. Or, my usage of traa is not a proper way?

Reproduction steps

Code

// code goes here

Live example

Screenshots

No response

Version

0.170.0

Device

No response

Browser

No response

OS

No response

@Mugen87
Copy link
Collaborator

Mugen87 commented Nov 8, 2024

It appears that TRAA can not work with other MRT, it only takes two textures as output when rendering pass.

It is known limitation that TRAAPassNode is not MRT ready yet, see #29636 (comment).

You can see corresponding warnings in the browser console for both WebGL and WebGPU. The root cause is the resolve step which only works with the beauty pass so far (but not with other MRT outputs).

@Mugen87 Mugen87 changed the title TRAA: Can not work with other postprocessing node TRAAPassNode: No full MRT support. Nov 8, 2024
@Mugen87 Mugen87 changed the title TRAAPassNode: No full MRT support. TRAAPassNode: Incomplete MRT support. Nov 8, 2024
@ligaofeng0901
Copy link
Contributor Author

Thanks! It is clear to me now.

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

No branches or pull requests

2 participants