There is a new way to use postprocessing in three/webgpu
. It’s very different from the old version. We now use class Postprocessing
, I have some questions about how to achieve the same function like before.
- In the old version, there are 2 RenderTargets(RTs) in EffectComposor, the 2 RTs can be reuse in many passes, unless we need more other RTs. In the webgpu version, is there a way like that?
- In some pass, we need use the result of last pass to render some other things. For example, in the old version, readBuffer is A, writeBuffer is B, we render some thing in RenderTarget C with A, then compsite C and A to B. I found some node using hook
updateBefore
, but when I try this, the order of rendering is not like expecting, A is rendered twice, and C is render before all passes.