Oren-Nayar shading

hoi hoi

stumbled over the Oren-Nayar reflectance model and some
shader code.
conversion to vvvv hlsl is ok so far, but in some cases it just doesn’t look right.
in case someone wants to have a look… i guess its either some WorldViewTransformation and/or about the EyeVector


OrenNayarDirectional.fx (5.2 kB)

like it… will have a look as soon as i find some time… or is it solved alreay?

nope, had no luck yet. at some point it always looks wrong :/