I’ve set up a material and a post-process volume to make my character visible through walls.
The issue is, I’d like the effect to be semi-transparent, but I’m not sure how to achieve that. Also, if possible, I’d love to smooth out the outlines a bit.
For A>B (Custom Dist is further than the viewport distance / covered) make it a lerp between highlight and original, set the alpha to about 0.5
1. Hold S and click to make a Scalar var, name it Blend, and set it to 0.5 default.
2. Make a Lerp node, plug in this Scalar to A (alpha)
3. Connect Custom + Original to the Lerp inputs
Edit: Derp. I Just noticed you are already lerping - so ur already good-to-go!
Just divide that Lerp’s alpha by 2-3 before plugging it in!
Hold S and click to make a Scalar var, name it Blend, and set it to 3.0 default.
Drag a link off Ceil, Hold D and click to plug in a Divide node.
Plug the Blend Scalar into B of the new Divide node.