Quantcast
Viewing all articles
Browse latest Browse all 16

Answer by keeperkai2

I'm not sure if this is what you want, but if the texture is the same for all the materials that use the same shader, you can: (i) Remove the texture property in the property block of that shader (But keep the uniform variable in the shader) (ii) write a script and use Shader.setGlobalTexture(the_name_of_the_texture_varible, newtexture); this way you won't have to loop through all the materials and change the textures one by one.

Viewing all articles
Browse latest Browse all 16

Trending Articles