- Home /
Question by
cuongkimh4 · Feb 19, 2013 at 02:42 AM ·
shadermaterialpicture
Change picture for shader
Hello, sorry about my English. I have a material with shader is Transparent/Bumped Diffuse. So i want to change a picture NormalMap by code. How can i do it? Because if i have a shader with many components. I want to understand how can change a picture for each components by code. Thanks for help.
Comment
Answer by $$anonymous$$ · Feb 19, 2013 at 02:56 AM
You can do this with any component of a shader, there is an example of how to change the normal map here.
Your answer
Follow this Question
Related Questions
Material doesn't have a color property '_Color' 4 Answers
Texture2D to Texture3D 2 Answers
Tracing in Unity3D 2 Answers
Material offset of standart shader - animate? 0 Answers
Transparent material on iPhone Android 3 Answers