You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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!!!!!
The text was updated successfully, but these errors were encountered: