WebGPURenderer: Auto-MRT#28833
Conversation
📦 Bundle sizeFull ESM build, minified and gzipped.
🌳 Bundle size after tree-shakingMinimal build including a renderer, camera, empty scene, and dependencies.
|
|
Added a MRT example |
|
The new example is awesome! |
|
@sunag I have deleted my previous comments since I have found solution for my problem 😇 . Still, can you check if below code is okay if I want two MRT outputs for an internal FX pass? I had to abuse |
Could you use However, it shouldn't be a compatibility issue to use sub-MRT in rendering. |
Reading it again now I noticed you're using The code looks great to me. 👍 |


Related issue: #28749
Description
This PR starts the implementation of Auto-MRT, this will allow any RenderObject to be rendered as output (beauty), keeping the original code with extra outputs customized in the same draw.
Below shows how simple the process is to create automatic MRT, it is also possible to add more complex operations such as
tslFnwithin themrt()inputs.Examples of approach