Scalar state should be working just fine.
I assume you're trying to compute incidence using a dot product? Make sure
your input vectors are unit vectors and described in the same coordinate
space. Also make sure your vector orientations are described correctly as
well. Remember, the viewing vector is opposite what you need it to be as it
points towards the subject. If you don't meet those criteria, all bets are
off.
If all is correct, the output will be the cosine of the angle between the
two vectors which you may or may not want to linearize for use in the
gradient.
Matt
Date: Wed, 18 Mar 2015 18:31:45 +0200
From: Gerbrand Nel <[email protected]>
Subject: scalar state still working?
To: [email protected]
Hey guys
I remember using the scalar state node, with a gradient, to create a
gradient based on incidence... this doesn't work any more??
Am I being dumb, or is it broken?
G