ABX <abx### [at] abxartpl> wrote:
> g = sqrt(Sqr(ior) + Sqr(cos_angle) - 1);
That is cos(beta).
So if ior^2+cos_angle^2-1 < 0 total interreflection should occur.
But just setting F=1 would perhaps be the wrong solution (though it
would still be much better than the current situation), since
that would still be clipped to [reflectionmin, reflectionmax].
There are some other references to total interreflection in that file so
maybe this case is _supposed_ to be caught earlier?
Lutz-Peter
Post a reply to this message
|