I’ve been randomly translating a texture to get some variation without requiring new materials. I apply the translation using the following line:
floormat.mainTextureOffset = new Vector2(tileoffsetx, tileoffsety);
I want to use the Self-Illumin shader, which requires two textures. The code above translates the main texture, but does not translate the alpha map texture. How can I translate both at once?