I can get a texture to pipe into the renderer.material.mainTexture.texture, but how do I also pipe the same texture into the Illumin A channel of the material?
Not finding any info on it.
I can get a texture to pipe into the renderer.material.mainTexture.texture, but how do I also pipe the same texture into the Illumin A channel of the material?
Not finding any info on it.
As the docs say, mainTexture is “the same as using GetTexture or SetTexture with “_MainTex” name.” So you’d use SetTexture with whatever name the Illumin A texture uses in the shader (which is “_BumpMap”, I think).
–Eric
I’ll give it a try. Thanks!