Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: n.merazzi on 2020-03-27, 16:01:07

Title: Corona Distance with different colors for objects
Post by: n.merazzi on 2020-03-27, 16:01:07
Hi guys!

Please, someone can give a help?

Im trying to use a material with corona distance. but I need to have two different colors for each object.
Example:
I have a Road and I need to paint a yellow line for taxi parking and white lines for general parking using the same geometry.

Any idea?!
Title: Re: Corona Distance with different colors for objects
Post by: pokoy on 2020-03-27, 17:01:33
It *could* be possible if the objects would pass their IDs for example to the distance map and you'd use a multimap for the coloring... but i doubt it is the case. As for now, you probably have to use different distance map instances for different colors.
Title: Re: Corona Distance with different colors for objects
Post by: maru on 2020-03-27, 18:05:04
Create two separate Distance maps with different colors. Use a blending node like Composite or Corona Mix to blend them together. Plug into diffuse.