Saturday, 23 October 2010
Texturing for 3d
There are 3 maps i will be using for the coce can to get realistic effects, the color, reflection and specular maps. Each map contains some sort of information that will drive certain aspects of the shader.
The color map, as you can guess is the simplest to explain, it stores the color data you want applied to an certain object, with this one really, what you see is what you get. Just place it in the difuse slot of your shader and click render and your object will have this pasted onto it.
The reflection map, is a gray scale map and it stores information from a scale of 0 to 255 in the rgb scale, the darker a section is the more reflective the surface will be on that part of the map. Basically the colour value tells the render engine at render time how light reacts to the surface it hits and what type of information to transmit from there on.
And Finally the specular map. A specular highlight is essentially a bright spot of light that appears on a model when illuminated. now using the specular map you can dictate what colour that specular highlight will emit when illuminated.
All these put when put together will help your model achieve better realism.
There are other types of maps of course but this was just the basics for some really simple but effective stuff.
thanks hope you enjoyed it :).