Offscreen Rendering #7873
Unanswered
AudreyWong
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using filament to implement OIT effect base on weighted-blended (https://learnopengl.com/Guest-Articles/2020/OIT/Weighted-Blended)
This method needs to render opaque element and transparent element in two pass, and then composite them together. Specially, in transparent pass, it have to output two result texture, one records the accumulated color information, and the other records the alpha.
I try to achieve it with offscreen view, create two texture which bind to attachment0 and attachment1 respectively.
But I don't know how to get the result color after shading and write them to different attachment. I need help TAT!!!!!
Beta Was this translation helpful? Give feedback.
All reactions