04.12.2023 – Export HDRI map and Stencil
Week 10 – Export HDRI map and Stencil in Unreal
Create HDRI map in Unreal



For some reason, you might render separately from Unreal and other 3D programs like Maya. In this case, matching the light and environment is crucial to creating an exact rendered image. To achieve this, you can utilize HDRI images rendered in Unreal Engine by following this process:
Create Scene capture cube - texture target - create a new asset - cube render target - set the path and create. After creating it, right-click on the Content browser and create a static texture. Right-click - asset actions - export - set the path and format to export the file you created as a static texture.
Stencil layer



It’s alternative to Object ID. You use Layers to define which objects will be assigned to each layer. In Project Settings, search for ‘alpha’ and select ‘Linear Color Space Only’. You might need to use ‘Merge’ with operation ‘Plus’ in Nuke to combine all layers together.


It doesn’t work with Nanaite. Turn off the Nanite option in Console Variables (r.Nanite, 0) before rendering. If you want to get correct data for stencil, turn off the ‘Disable Multisample layers’ option.
Leave a Reply