here is a simple Xpresso setup to create a switch between two materials without reaffecting it to the texture tag manually. Especially useful when working with proxy texture (or low resolution videos) to switch back to the high resolution one at render time.
Using a condition node, you’ll tell your boolean User Data to act as a switch between the 2 materials. Drag the two materials from the material manager, and link their “object” output to each input of the condition node.Set your condition node mode to “material”, otherwise it won’t link your “object” outputs.
That’s it. Enabling/disabling the switch will yield a 0 and 1 value, which will make either the red or green material to be affected to the texture tag.
Here is the file : switchc4d