how about textures? Can I easily blend 2 textures? Say I have 1 texture for the face of an avatar, and then I have a alpha texture (like redish in the cheeks). Can I blend both to make the appearance the guy is blushing or something?
Answer by numberkruncher
May 16, 2012 at 11:58 PM
This can be achieved using a custom shader which interpolates between the two textures using the alpha component of the redish cheeks with a slider to control the characters blushing.
I assume that you want this for a dynamic effect, because if the redish cheeks are fixed then I would recommend painting it straight onto the texture.
Check out JessyUVs videos on YouTube:
Jessy explains the fundamentals of writing custom shaders fantastically. Without these videos I wouldn't be able to write any sort of shaders! I am eternally grateful to Jessy (if he's reading) :-)
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
5 People are following this question.
3d model editing and multiple textures per material
Skinned Mesh Renderer Material
can we use same material and same mesh with different texture scaling in the project.....???????
materials and textures import from max.