Chaos Corona Forum
Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: tom182 on 2023-06-26, 00:39:47
-
folks, this is probably easy but how can i get different road markings to use different colours
currenty using extruded splines, want the red box to be red on the road (not white as it currently is)
the purple splines (road markings) as all fine as they are
if I need 2 coronadistance maps (1 for each colour) plugged into the the base colour of the road what maps should i plug them into before going into the base colour
Thanks
-
Hi there!
You would need two distance maps for this.
You could either blend these like you've done, but with a composite map. See attached.
Or you could do this with 3 materials, and then coronaLayeredMtl and plug the distance maps in there as masks. (I would take this approach for more control over each material)
-
thanks for that
I'm struggling to get it to work :-( using the setup i have
rarely use slate (old school),
-
Here's i did setup it for you. You should really try to start using SME as it makes complex material setup so much easier.
-
Hi,
The correct/ideal setup for this will be to use a CoronaMultiMap with GBuffer Object ID options enabled (for different colors for different objects depending on the GBuffer ID they have) plugged into CoronaDistance inside color, like in attached screenshot.
Unfortunately that is not supported yet (only the base object Gbuffer ID is considered and not the separate objects intersecting with it), and it will be reported.
What Romullus has suggested is the way to go for you.
There are other ways to do this but may change the already existing workflow of yours.
(Internal ID=1148552023)
-
Here's i did setup it for you. You should really try to start using SME as it makes complex material setup so much easier.
much appreciated,
I get what you are doing but it rips the texture off the road (using Ashphalt grey 15-30 from Cosmos) :-/
thanks
T
-
I get what you are doing but it rips the texture off the road (using Ashphalt grey 15-30 from Cosmos) :-/
thanks
T
Not sure what you mean by that. Your scene came without textures, so i had to replace base colour bitmap with simple Corona colour node. Did you to plug it back? Is it still not working after that? Can you show some screens to see what's going on?
-
my mistake, i was using a coronacolour as input on the uploaded file rather than the cosmos bitmap in my orignal file, all working perfectly now - thanks for the help -
I need to spend a couple of days on mats again ;-)