Skip to Main Content
3D Game Engine Design, 2nd Edition
book

3D Game Engine Design, 2nd Edition

by David Eberly
November 2006
Intermediate to advanced content levelIntermediate to advanced
1040 pages
26h 31m
English
CRC Press
Content preview from 3D Game Engine Design, 2nd Edition
192 Chapter 3 Renderers
inverses, and inverse transposes. These also include light and material parameters,
fog parameters, and camera and projector coordinate frame information. The 38
functions mentioned in the previous code block implement setting the registers
for these constants. The current values of the renderer constants are automatically
used.
2. Numerical constants. Direct3D requires you to set various numerical constants
used by the shader programs. OpenGL and the software renderer do not.
3. User-defined constants. When writing shader programs, you can have constants
that you will modify within your own application code. These tend to be related
to the physical model of what you are trying to draw. For example, a refraction
effect requir
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

3D Game Engine Architecture

3D Game Engine Architecture

David Eberly
Blender 3D By Example - Second Edition

Blender 3D By Example - Second Edition

Oscar Baechler, Xury Greer
Computer Graphics

Computer Graphics

Alexey Boreskov, Evgeniy Shikin

Publisher Resources

ISBN: 9781482267303