As part of our plugin, we’ve written code to access the DeviceDepth in a callback to IRendererModule::RegisterPostOpaqueRenderDelegate using a DrawPrimitive call, and convert it to a suitable SceneDepth ourselves. In versions 4.22 - 4.26 of UE, this works great (picture a nice normal depth map), but in version 4.27, I instead get a very weird pattern:
This is from reading out FPostOpaqueRenderParameters::DepthTexture , passed to the callback by the event itself, so I would’ve expected everything to stay the same.
I’ve attached the core code that we’re calling in case it helps.
OpaqueGrab.cpp (9.5 KB)