Getting the Half-Vector
Posted: Tue Sep 26, 2017 1:33 pm
I know that in Unity there's a way to get the half-vector but didn't find a node for it in ASE. I come from Shader Forge and was doing a test and that one has a node for it. So any help to get a half vector would be appreciated.
The half-vector (halfway between lighting direction and view vector) is computed and normalized per vertex, and the lighting function receives the half-vector as a parameter instead of the view vector.
https://docs.unity3d.com/Manual/SL-ShaderPerformance.html