I was wounder if any one had experience or could shed light on how to make a shader that changes based on an object position?
Example would be I have an object that is in X,Y,Z space and it moves around in the environment controlling a ramp that is used in a shader that is applied to another object.
Like a fake Fresnel that can moved/slide on the object based on another object position.
Hope that make sense.
I’m building the shader in shader forge.
Cheers,
Allen