Hi!
Anyone that happens to know how to create the following effect in UE4?
Basically what happens is that I have applied a material with a shader in unity that masks everything thats behind the object with the assigned “DepthMask-material”, the blue-ish color is the background color thats applied by the camera.
If we happen to have some shader/material-guru around here, then maybe he/she happens to know how to convert this unity-shader into a material that could be used for post processing or something :):
Shader “DepthMask”
{
SubShader
{
Tags {“Queue” = “Geometry-1” }
Lighting Off
Pass
{
ZWrite On
ZTest LEqual
ColorMask A
}
}
}
Any ideas?
Thanks in advance!