Quantcast
Channel: Answers by "keeperkai2"
Viewing all articles
Browse latest Browse all 16

Answer by keeperkai2

$
0
0
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



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>