I’m trying to figure out how to capture something like Unreal’s “Detailed Lighting” view mode and write it into a render target so I can use it during gameplay.
The idea is to isolate just the lighting (like the editor view mode does). I’m not sure if this would need engine source changes to hook into the deferred renderer at the right stage, or if there’s another way to get that data.
If anyone knows where this is handled in the rendering pipeline, or has tried something similar, I’d really appreciate any tips.
No, this is settings the viewmode as the whole view for the current camera, I’m trying to get that data into a render target.
Also this would not work in a shipping build.