Hi,
I've came across a problem that prevents me baking procedural shaders on my model.
Basically, my workflow is to create procedural wear and tear using VrayDirt, and use its mask to mask out various material attributes. My workflow for metal materials thus far was mapping also IOR slot of V-RayMTL with it, using Dirt as a mas to blend between two output maps, which have IOR set as output amount.
I've encountered a problem with texture baking, because textures have to be in 0-1 range. Luckily, V-Ray supports metalness workflow via 0-1 Fresnel IOR range. So what I did is I have unplugged my map network from IOR slot, replugged it into Fresnel IOR slot, and disabled fresnel IOR lock. Then I have proceeded to change output amount of my fresnel output nodes, by doing 1 divided by IOR value. So for example when masking IOR 6 and IOR 1.6, i've arrived to output amounts 0.167 and 0.625.
Then problem I have is that the two simply do not match. I have no idea why, but results are very different:
This is how it looks with IOR slot mapped with regular output amount values:

And this is how it looks with Fresnel IOR slot (and Fresnel IOR unlocked) and values converted to 0-1 range:

I am really sad and stuck here
I've came across a problem that prevents me baking procedural shaders on my model.
Basically, my workflow is to create procedural wear and tear using VrayDirt, and use its mask to mask out various material attributes. My workflow for metal materials thus far was mapping also IOR slot of V-RayMTL with it, using Dirt as a mas to blend between two output maps, which have IOR set as output amount.
I've encountered a problem with texture baking, because textures have to be in 0-1 range. Luckily, V-Ray supports metalness workflow via 0-1 Fresnel IOR range. So what I did is I have unplugged my map network from IOR slot, replugged it into Fresnel IOR slot, and disabled fresnel IOR lock. Then I have proceeded to change output amount of my fresnel output nodes, by doing 1 divided by IOR value. So for example when masking IOR 6 and IOR 1.6, i've arrived to output amounts 0.167 and 0.625.
Then problem I have is that the two simply do not match. I have no idea why, but results are very different:
This is how it looks with IOR slot mapped with regular output amount values:
And this is how it looks with Fresnel IOR slot (and Fresnel IOR unlocked) and values converted to 0-1 range:
I am really sad and stuck here

Comment