Game Engine Architecture

(Ben Green) #1

448 10. The Rendering Engine


Figure 10.42. The Unreal Engine 3 graphical shader language.

Figure 10.41. Nvidia’s Fx Composer allows shader programs to be written, previsualized, and
debugged easily.

formance for its incredible fl exibility, generality, and ease of use. The Unreal
graphical shader editor is shown in Figure 10.42.
Materials may be stored and managed with the individual meshes. How-
ever, this can lead to duplication of data—and eff ort. In many games, a rela-
tively small number of materials can be used to defi ne a wide range of objects
in the game. For example, we might defi ne some standard, reusable materials
Free download pdf