Object intersection material change?

you can use world position behind translucency or Distance nearest surface