I’m making a node where I want to display either a still image (filetexture) a video (filestream>videotexture) or live video (VideoIn>videotexture) on a quad.
All the data for the quad is in spreads, so I can generate multiple quads that are size X, colour Y and ideally texture Z (which is: video z or still image Z or live image Z) I’m using Switch(nodes) to switch between still, video and live video.
The problem ive got is that the switch (nodes) switch input isn’t spreadable - so the first value in my ‘image type’ spread sets it and then only other textures from that source appear.
I also tried creating a dedicated quad for each type and then sending a spread to the enable pin to control whether it draws that quad or not. However the enable pin isn’t spreadable either…
i believe dedicated quads for each type are the way to go. instead of using the (sadly unspreadable) enable pin, hook up a UniformScale (Transform) as the last member of your transformation chain and scale all undesired quads to 0.