Hello,
The mix map does the following: mixAmount*Color1 + (1-mixAmount)*Color2. So if for some point the mixAmount is 0.5 you get Color1/2+Color2/2 = 1/2*(Color1+Color2). Now if you invert this you get 2/(Color1+Color2).
For the 0-1 case and again mixAmout=0.5 you get (1/Color1)*0.5 + (1/Color2)*0.5 = 0.5*(1/Color1 + 1/Color2). Now if you add the values in the parenthesis you get 0.5*( (Color2+Color1)/(Color1*Color2) ). If you invert that - you don't get the same as the other case - and the result is different.
It would work if you do the mixing with the normal values and invert after that if that is an option ?
Best regards,
Yavor
The mix map does the following: mixAmount*Color1 + (1-mixAmount)*Color2. So if for some point the mixAmount is 0.5 you get Color1/2+Color2/2 = 1/2*(Color1+Color2). Now if you invert this you get 2/(Color1+Color2).
For the 0-1 case and again mixAmout=0.5 you get (1/Color1)*0.5 + (1/Color2)*0.5 = 0.5*(1/Color1 + 1/Color2). Now if you add the values in the parenthesis you get 0.5*( (Color2+Color1)/(Color1*Color2) ). If you invert that - you don't get the same as the other case - and the result is different.
It would work if you do the mixing with the normal values and invert after that if that is an option ?
Best regards,
Yavor
Comment