Download

Custom Depth Pass has shifted in 4.19, only apparent when used in a custom node

We recently upgraded from 4.18 to 4.19 and it looks like the contents of the custom depth have shifted in screen space. We noticed it looks fine when using a scene texture node, but is offset when using a custom node. The attached gif illustrates accessing the custom depth via scene texture and custom node. Has anyone else experienced this?

my guess is the issue relies on the Screen UVs, which changed from 4.18 to 4.19
check the resulting HLSL when using the SceneTexture node and make sure the UV input matches to what you’re using on the Custom node

Can’t you use the custom depth node as an input to the HLSL node?

HTH