Hi.
Is any variable that stores information about wire existence in shader editor? I mean, I need the variable that is 1 when the texture is connected to base_color slot and 0 when there is not.
What I'm trying to achieve is the arnold texture preview in the viewport. I created a texture tag in the parameter interface and it works but I want to the “use Texture” toggle be connected with the variable I mentioned. Also, is it possible to get the name of the node that is connected to the slot? In my case, the result would be “image1”.
If not, is any different way?
Thanks.