With regard to the manual the Specular value for the new Principled BSDF node can be computed with following formula:

$\text{specular}=\left(\frac{\text{ior}-1}{\text{ior}+1}\right)^2/0.08$ For example:

water: ior = 1.33, specular = 0.25
glass: ior = 1.5, specular = 0.5
diamond: ior = 2.417, specular = 2.15

But I am getting other numbers. Is the formula wrong? If so, what is the correct one?

  • $\begingroup$ The formula works for me, I get the same results. Are you maybe doing a sqrtf() instead of sqr()? $\endgroup$ – Stefan Werner Jul 19 '17 at 13:27
  • $\begingroup$ Yes... I was using square root by mistake. Thanks for pointing that out. It works perfectly. $\endgroup$ – Tomas Jul 19 '17 at 15:04

The formula above is correct. Just don't mistake square with square root as I did before.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.