When the Sequence is finally output, we also need information such as motion blur, screen space normal, and Id channel for later processing, so let’s talk about how to do it.
1. First install the output channel plug-in Movie Render Queue Additional Render Passes, so that there are additional options:
2. Search for custom in Project Settings, find Custom Depth-Stencil Pass, set it to Enable with Stencil:
3. Then in the UE main window Window Open the movie output window at /Cinematics/Movie Render Queue:
4. Add the Object Ids rendering channel
5. You can set the Id classification rules, which are classified by folders, and then create a new folder in the Outliner to test the mask effect:
6. Output After that, you can see that the mask works: