Game Development Reference
In-Depth Information
Time for action - adding a tint to the diffuse color
Let's go through one more exercise, just to make sure you've got the basics. I won't walk you
through it this ime, but let's add a int to the difuse color.
1.
Create a new Muliply node and a Constant3Vector node, and hook them up just
like you did for the Specular color. Pick a nice rusty orange color for the int ( 1 , 2 ).
You should end up with something that looks like the following screenshot:
What just happened?
So, as you can see from the image above, we have added an orange int difuse color to
our material, which is the finishing touch and now our material is ready to be used in our
environment. The inal secion is to make our material easier to read in the Material Editor .
So let's go ahead and polish things up.
 
Search Nedrilad ::




Custom Search