Attach Material Switch Node to WorldAlignedTexture Node

See example image below; I am looking to know if this can be done? I’m using this setup to make my rock instances randomly have 1 out of 6 possible colour maps. I would like to change this however to use a world aligned texture (w.a.t.) node, so that I have a lot more freedom to change the instance scale at random as well. But even if I input 6 texture object nodes into the switch node, the output is a float, when I need a type texture 2d to input into the w.a.t. node. It be nice if there was a way to do this, so any help would be great, thanks!

See the below image for anyone else that might have run into this. The switch node expects and outputs a float, so I needed to attach each texture object I want to switch between to the world aligned texture node, and then attach the output of the w.a.t nodes to the switch. This works and all rocks are showing the textures correctly.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.