Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] I need help! => Topic started by: masterzone on 2023-07-25, 20:59:53

Title: Distance shader and displacement
Post by: masterzone on 2023-07-25, 20:59:53
Hello guys, a quick question about distance shader (never tried for a busy period)
Does distance shader control and fade the displacement on a surface?

Example: a floor covered with snow (displaced). Can I fade it near objects or near the house?

Alex ;)
Title: Re: Distance shader and displacement
Post by: Cinemike on 2023-07-25, 21:17:04
Absolutely. The Distance shader works very well with displacement.
Title: Re: Distance shader and displacement
Post by: masterzone on 2023-07-25, 21:20:01
Thanks for your quick replay.
Sounds good
Alex
Title: Re: Distance shader and displacement
Post by: Cinemike on 2023-07-25, 21:23:31
You almost did not give me a chance to upload an example ;)
Very quick one, I usually would use distance as mask, here is a direct use case.

Have fun!
Title: Re: Distance shader and displacement
Post by: masterzone on 2023-07-25, 22:56:50
Amazing!!! I forgot to tell you an example file but I didn't want to bore you anymore :)
Title: Re: Distance shader and displacement
Post by: Cinemike on 2023-07-26, 22:09:39
When it comes to my favorite Corona feature, I am never bored ;)