- Home /
Combine textures with CG?
Hi. I use this shader with fragment programs:
http://wiki.unity3d.com/index.php/Skin_Shader_3
And my question; I need add second, alphablend texture into the shader, for tattoos etc. This method isn't working - "SetTexture commands have no effect when fragment programs are used"
http://docs.unity3d.com/Documentation/Components/SL-SetTexture.html
Can you help me?
Comment
Best Answer
Answer by DarkPixel · Sep 30, 2013 at 02:03 PM
The skin shader doesn't support a second texture to blend. You need to modify the result of the shader to support alpha blend with an additional texture.
See this questions: http://answers.unity3d.com/questions/544230/trying-to-write-a-simple-mixing-2-textures-shader.html
Your answer
