Game Development Reference
In-Depth Information
Figure 2.4
The basic programmable pipeline.
height information. Bump maps usually consist of an image where each pixel
represents a normal vector that describes how the surface is to be perturbed. The
pixel shader can use a bump map to give a model a more interesting texture that
appears to have some depth. Per-pixel lighting is a replacement for OpenGL's
default lighting equations that work out the light for each vertex and then give
that vertex an appropriate color. Per-pixel uses a more accurate lighting model
in which each pixel is lit independently. Specular highlights are areas on the
model that are very shiny and reflect a lot of light.
OpenGL Is Changing
This is a great time to learn OpenGL. The current version of OpenGL is very
friendly to learners of the library. There are many easy-to-use functions and a lot
of the graphics work can be done for you. Think of it like the current version of
OpenGL is a bike that comes with training wheels that can be used to help you
learn and then be removed when no longer needed. The next version of OpenGL
 
 
 
Search WWH ::




Custom Search