Page 1 of 1

Depth Fade node

Posted: Thu Jul 07, 2022 11:45 am
by joshuamkerr
Hi, I've been trying to set up some fog cards on planes within my scene but noticed that the depth fade node doesnt work with octane. Is this something you will be looking to implement?

Re: Depth Fade node

Posted: Mon Jul 11, 2022 11:49 am
by ChrisHekman
There is currently no way to implement this in octane.
Depthfade is an unreal node that depends on how rasterizers do translucency.
In a rasterizer, translucent objects are drawn after solid ones, which means you can do a depth test on the solid geometry behind the translucent object.

In a pathtracer I would need to emit another ray to detect what is behind the translucent object in order to figure out the "depth". This is currently not possible in octane.
You can kinda do it with the Octane "relative distance" node, however this checks for the closest surface, and not depth. Maybe it is possible to get the effect you want with an octane material.

Re: Depth Fade node

Posted: Wed Jan 18, 2023 4:19 am
by katenelson0909
Is there really no way to do this?backrooms

Re: Depth Fade node

Posted: Wed Jan 18, 2023 2:38 pm
by ChrisHekman
katenelson0909 wrote:Is there really no way to do this?backrooms
at the moment no, currently there is only a workaround with the relative distance node.