Trying to switch between 2 Tex Objects, using an If node seems to be the only option at runtime as the rest are static however, it won’t work for Tex… I get
“Attempting to perform arithmetic on non-numeric types: texture2D”.
Plug each separate texture into their own sampler node, and then switch between the outputs of the samplers.
1 Like
Thanks but need it before the sampler node.
As far as I know, you have to use separate sampler nodes. Presumably, this is because of how the underlying hardware shader language(s) work.