I have a Shader graph in which I am using "Scene Color" node to do processing on camera feed, It is Unity AR foundation project
Until now I was passing color to be used using a property,
Now I need to take color from top left corner of the object and use it for further logic, Is there any way to do that?
I had tried with various position nodes and UV nodes without any luck. Here is one of such try:
Here is a demo shader to understand what I am doing and below it is screenshot of same shader:
Now I want to pass UV to Scene Color node which will always give me color of top left corner of the Object.
I had also tried using position from Object node but it always gives me top left corner of screen and not top left or center of the Object.