I have a texture object attached to a custom node. This custom node does the sampling so I can not use anything else than a texture object. I want to swap the texture being fed to the custom node when the user performs a certain action, but all I can find is how to use flipbook textures, how to change texturesamplers and how to change vector and scalar values using a Material Parameter Collection.
I might be able to make n materials using n textures and then changing each material, but since the only thing that will change between the materials is the texture object I find it to be a sub-optimal solution.
Any thought or ideas are very welcome.
Thank you.