Documentation: Error in formula for specularity calculation hint
Open, NormalPublic

Description

I think there's an error in

.

This formula

sqr((ior−1)/(ior+1))/0.08

(if SQR stands for "square root of") produces not the same result as of it mentioned in documentation.

Ex:
In "For example" section there are a set of statements, like this:
... water: ior = 1.33, specular = 0.25 ...
But for with this formula it would be sqr((1.33-1)/(1.33+1))/0.08 and it equals 4.704235148 and not 0.25.

Details

Commits
rBM3973: principled node
Type
Bug

As per the R(0°) formula the "sqr" term should stand for or should be read as "to the power of 2" or "squared" not as "square root of":

Oh, I see. Thank you for that clarification.

Maybe it should also be reflected in docs.
Just for ppl like me.

Aaron Carlisle (Blendify) triaged this task as Normal priority.Oct 27 2017, 10:27 PM