sceneDepth vignetting

mitjaprelovsek
Thu, 11 Jan 2018 07:23:25 +0000
Rendering

Hi,

We are using UE4.16 for a science project and need to extract sceneDepth, however it seems sceneDepth exhibits some vignetting on the edges of the screen.

I’ve reproduced this problem in a clean project based on the Flying template. The only modifications I made are:

I created a post process material as shown in the screenshot

I applied this material to a Post Process Volume.

Material screenshot:

Then I’ve positioned a camera facing a wall perpendicularly, created a screenshot and then rotated it (without any translational) movement and made another screenshot. The distance between the camera and any point on the wall should, therefore, be the same in both screenshots.

Real render of the screen (for representation):

However, I’ve measured the color values of the same spot on the wall and they are quite different. As my depth material is from white to black (with white meaning close and black meaning far), the color of the same spot is much darker when it’s at the edge of the screen.

To make this problem more apparent I imported the screenshots to Photoshop and increased contrast.

Can anyone please confirm this is the case with sceneDepth node and any possible solution?

Thanks!

5 posts - 1 participant