16
[Max] Corona Goodies - User Contributions / Re: Corona Material/Lights Converter (continuous updates)
« on: 2018-11-30, 15:43:54 »
I assume that this is about the VrayEdgesTex? The problem with specific map types being used in specific slots is that I can't track them. At least not directly. The script converts map by map, disconnected from the shader, it has no idea where it is being used. So if I convert a VrayEdgesTex it doesn't know if is being used in a Diffuse or a bump slot. I would have to skip it and do it at the end, looping through all the Material's bump slots and check if a VrayEdgesTex is present - if it is I still can't simply convert it, I have to check if it actually is instanced in any other slot on any other material (which is possible but tricky to get right)... and this gets more complicated if a VrayEdgesTex is used somewhere deeper in the shader tree (which is quite often the case to mix it with other bump maps).
Long story short: this is not quite as easy as it sounds ;) Or to put it more bluntly: it's a bit of a pain in the ass.
Long story short: this is not quite as easy as it sounds ;) Or to put it more bluntly: it's a bit of a pain in the ass.