Phong point and perspective

Hi,

Can you guys please explain why there is a difference between the two modes of the patch below? The light rendering on a mesh is different when I add a Perspective (Transform). I think that the problem is somewhere in the space coordinates, but I can’t figure out what is it.

Thanks!

light_perspective.v4p (5.3 kB)

you should not put any perspective (or vertigo) nodes to the transform hierarchie connected to the “View Transform” pin of the renderer. for those nodes there is the “Projection Transform” pin.

is this still wrong in some tutorials?

and a third variance.

usually one would connect the perspective to the projection transform pin of the renderer.
gregsn and tonfilm wrote lots of stuff about this somewhere in the vvvvorums…

light_perspective.v4p (8.8 kB)

ah gregsn was few seconds faster…

Ouch, sorry about that. I can see that, judging by the answers, this was a noob error. OTOH, I’ll never forget this again.

Thank you all!