[4.13] Scenecapture2D, SceneDepth capture not working as expected
I'm trying to use the new 4.13 features for capturing scene depth to a render target from an ortographic scenecapture2d.
However, I'm currently having these issues which leave me unable to proceed:
1) The Setting "Capture Source" in 4.13 has an option for capturing "SceneDepth in R" However, there are no settings for the depth scale of the capture. The default settings give me a very narrow depth so I only see what's immediately in front of the camera.
I found a workaround for this though: By instead capturing "Final Color (LDR) in RGB" and using a post process material with a "SceneTexture:SceneDepth" node, I can then divide by 10000 before outputting to emissive which gives me the intended result!
This though, leads into another issue:
2) The Blueprint Node "Capture Scene" does not seem to work with the "Final Color (LDR) in RGB" setting on the SceneCapture2D.
It works fine if the scene capture is set to any of the other modes (Scenecolor, normal, scenedepth), but Final Color just gives a black result. Worth mentioning is that it works fine if I check the "Capture Every Frame" Box, but I can't do that for performance reasons.
Any help would be super appreciated, thanks!
asked Oct 06 '16 at 01:20 PM in Rendering
Thanks for the clear and precise repro steps. I was able to confirm what you are reporting and have gone ahead and entered a bug report for the issue. You can track the issue following the link below on our public issues tracker.
Once the issue has been addressed by our engineers either myself or another staff member will return with an update.
Let me know if you have further questions or need additional assistance.
answered Oct 14 '16 at 06:20 PM
So still nothing on either of these issues? We have managed to create a workaround for our implementation, where we create a C++ plugin to export the render targets to disk as PNG files during runtime, and then we import them back manually into the editor. It sort of works, but it's... less than elegant.
answered Sep 26 '17 at 03:28 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here