Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] I need help! => Topic started by: 3dkobi on 2020-11-11, 14:02:09

Title: Need help creating a material
Post by: 3dkobi on 2020-11-11, 14:02:09
Hi guys,
I need to make a wall of tiles with the material as shown in the attached pic.
I modeled a brick, but I have no idea how to create the effect of the material where it fades near the edges of the model. I think I should use vertex maps ?? but I've never used it before...If someone can help in pointing me how to start doing this it will be great.

Peace,
Kobi
Title: Re: Need help creating a material
Post by: Beanzvision on 2020-11-11, 15:01:39
Hi, You could also try using a Corona AO shader to get a similar look.

(https://forum.corona-renderer.com/index.php?action=dlattach;topic=31526.0;attach=137220;image)
Title: Re: Need help creating a material
Post by: 3dkobi on 2020-11-11, 15:05:31
thanks, I'll try that
Title: Re: Need help creating a material
Post by: davetwo on 2020-11-11, 18:08:18
good time to try out the distance shader!
Title: Re: Need help creating a material
Post by: 3dkobi on 2020-11-11, 18:29:05
looks interesting - will try that tommorow
Title: Re: Need help creating a material
Post by: 3dkobi on 2020-11-12, 09:01:29
good time to try out the distance shader!

I tried to set up a material with the distance shader but I can't figure out how you did this. The distance shader can't get vertex maps, so how did you do it ? can you please share a screenshot of the distance shader properties ?
Title: Re: Need help creating a material
Post by: davetwo on 2020-11-12, 09:08:23
https://help.c4d.corona-renderer.com/support/solutions/articles/12000073516-how-to-use-the-corona-distance-shader-

It  works in a simiar way to C4Ds native proximal shader. You use another object, spline or whatever to drive the mask. There were some examples posted somewhere on the Corona site - but I can't quite remember where.

In this case I split the polys off from the beveled area and used them to drive the distance (as a mask in the layered shader). 

I deleted the file as it was a 2 minute example only, so I can't share it I'm afraid.

Title: Re: Need help creating a material
Post by: 3dkobi on 2020-11-12, 09:20:06
Thanks, works great :)
Title: Re: Need help creating a material
Post by: TomG on 2020-11-12, 14:39:02
For the examples, they are on https://corona-renderer.com/resources/models (down at the bottom) :)