Capture Depth from Render Target

How/can I capture the depth buffer from a SceneCapture2D to a RenderTarget to use in a material?

Simplest example would be: I want a security camera rendering on a material that doesn’t display RGB, but instead displays depth from the camera. Like a Kinect.

This was a simple answer. In the Details tab for the SceneCapture2D, the Capture Source has multiple options for capturing the Scene Depth with or without the color.

232559-rendertargetdepth.png

1 Like