Hey there, I’m trying to convert a shader from Shader Forge to Spark Patch Editor, and I’ve run up against a couple of small problems. Number one: there’s an atan2 operation in the original shader, but none in Spark. How can I build the operation myself?
Number two: The original shader calls for the Object position to be compared to the view position in a certain way, such as here:
I couldn’t find those exact values, so I tried to fake it with head rotation compared against a fixed [0,0,0] vector.
Do you think that will work?