5
$\begingroup$

This current example is made from a composited scene. I want to try to replicate this in shader nodes, what's a shader vector mapping system to get this effect?

enter image description here

$\endgroup$

1 Answer 1

8
$\begingroup$

Try this setup:

enter image description here

It calculates where the camera view vector hits the parallax plane (defined with the object's center and $\vec{n}=(0,0,1)$) and uses that to derive the texture coordinates.

Note: you may want to change the usage of the part starting from Looking to Plane? for your needs. In the given setup it just points back to $(0,0)$ texture coordinates to show that the plane is not hit.

Result:

enter image description here

$\endgroup$
1
  • 1
    $\begingroup$ Cleanly done :) $\endgroup$
    – Robin Betts
    Commented Aug 30, 2023 at 19:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .