But what if we could apply a “Distance from” a material, rather than an object in the Corona Distance Texmap.
This would be useful in that I wouldn’t have to continually add items to the list in the texmap node, and it would essentially auto-update every time I apply a certain (the selected “distance from”) material to another object.
Umm, possibly. But I don’t think that’s quite what I had in mind…
I was thinking more along the lines that I could plug another (separate) Corona material node into the “distance from”. Does that make sense?
At the risk of complicating things and side-tracking this thread; The example I can currently think of is that I sometimes ‘fake’ the window spacer in window frame materials. So I sometimes make a Corona Layered Material which has a distance map as it’s mask, (referencing my window glass panes), so anytime the window frame material gets within X distance of the glass objects, the material changes from black metal (for example) to a silver-ish brushed metal.
Now, in this example, rather than referencing every poly object in my scene, I can reference the glass material into the “distance from”.
Sorry to complicate things! But I hope this was a worthwhile explanation…
So basically, it would still calculate the distance from specific objects. In this case, objects which have the selected material applied. Right?
IMO it’s an interesting idea.
I’d vote for adding Object ID as well. Basically the options you have using CMasking_Mask: Object ID|Material ID|Manual selection with OR and AND condition would be great.
Yes, you’re right. It would still be essentially from objects, but Corona would simply somehow first automatically select the objects with the designated material.
Thanks for the feedback. I’m liking the enthusiasm from others
Was just thinking about this possible feature again - would be so useful for things like staining / ageing of materials (e.g. when stucco / brick / timber material gets close to roof slate material).
Obviously this is already possible by stacking up an existing Corona Distance map, but for a big project with many roof objects it becomes a pain to manage!