Game Coding Complete, Fourth Edition by David Graham, Mike McShaffry

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

CHAPTER 153D VERTEX AND PIXEL SHADERS

by Mike McShaffry

image

Shaders are rapidly dominating 3D graphics architecture. There are a few platforms out there that don’t support shaders, such as the Nintendo Wii, which still uses fixed-function pipelines. But when even smart phones start to use shaders, it is high time to dig in and figure them out. Much of my own learning about them was pretty frustrating. It seemed there was no middle ground between drawing a very lame triangle and drawing fur. I hope the following introduction will help you see a path to getting started with shaders.

A shader is a program that can affect the position of a vertex, the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required