Any way to make a shader with depth fade(like in unreal) inside of maya?


for example
where when a translucent object intersects with other geometry it fades in the location its intersecting based on a threshold?

thanks in advance


VRay has a distance texture where you can plug a geometry into it, then any object assigned the texture will transition between two colors based on a distance value within the distance texture