1
$\begingroup$

I am trying to build a basic Phong Specular system in geometry nodes, so it can be manually controlled with an empty and affect the geometry. for specular calculations, i need access to the "Incoming" Vector, which is available in the "Geometry" Shader node. But i am in geometry nodes. Does anyone know how to get something very similar looking to the Incoming vector in geo nodes? it's ok if the effect only works from the camera point of view

$\endgroup$

1 Answer 1

2
$\begingroup$

Implementation of "incoming" for the camera, try this:

$\endgroup$
1
  • 1
    $\begingroup$ Just to make it clear, the 4 leftmost nodes: Object Info, Position, Subtract and Normalize make up the implementation of the Incoming. The rest is the usage of it. (somewhat obvious, because the dot product produces a scalar, and Incoming is a vector). $\endgroup$ Aug 24, 2023 at 11:51

You must log in to answer this question.

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