Hey there @Ryucarta1 ! Are you just trying to get depth information based on everything landscape + static meshes? You could get depth from a SceneCapture2D like the user does in this thread:
I need to capture scene depth for my level, top down view. I am using Scene Capture 2D component placed on the level and this is what I am getting:
[2022 06 02 21 40 11]
When I worked with depth in other engines and 3D apps, it was always a grayscale image with smooth transitions (kinda like a heightmap). I am not quite sure why it’s coming out like a stencil mask in UE4. If I capture scene color, the image comes out the way it suppose to come out.
So that’s the first issue I need …
Hi, I want to get a depth map from a specific view. And I want it as texture because I want to be able to access the data in C++.
So I did the following setup. I placed a SceneCapture2D in the view I want. In the rendering settings it should render the scene into rgb and the depht into a-channel of a rendertarget:
[254214-testsetup-scenecapturesetup.jpg]
When It take a look at the render target, the rgb channels are good:
[254215-testsetup-bodyrgb.jpg]
but the alpha channel does not conta…