Author Topic: "Visible if" for inputs?  (Read 1216 times)

Hi,

is there a way that "visible if" works for input nodes?
If a substance or textures gets loaded in the input slot, certain parameters should be visible.

I could use a switch node and use the boolean as an enable/disable button, but that's no automatic detection of an input/content.

Thx

Just a thought, but when an input node is present, does it have RGBA values associated with it? (0,0,0,0). If so, if you could say, read the alpha value and it's larger than 0 then show the input parameters.

Just a thought, but when an input node is present, does it have RGBA values associated with it? (0,0,0,0). If so, if you could say, read the alpha value and it's larger than 0 then show the input parameters.

Thx, I did think of something similar (played around with greyscale conversion and boolean as a hack).
Issue is, that the input node is for external purpose like painter or player, not for intermal graphs in designer.
The input node has no exposeable parameters and I don't know how to read the value of an input which has no content (material or texture).