I’m using a scrolling material in order to render a background for my game, it works great, but I would like a way to set the images that the material draws from in runtime so I can swap out the backgrounds for each level
There is very little documentation I could find about changing material samplers, does anyone have any jumping off points?
You can use go.set() to change properties on the material, but it depends a bit on the material and component. What kind of component are you using? Is it a sprite or a model quad?