When I finished my first degree in law back in 1993, I was very proud and a little bit
exhausted from the long learning period. So I decided to relax by playing a new game by
NovaLogic called Comanche.
I started the night of January 11th and finished about three days later with only a few hours
of sleep. With the new experience in my head, I decided to start computer game programming.
My goal was to program a terrain engine like Comanche. My then-girlfriend—now
wife—looked a little bit confused when a young, recently-graduated lawyer told her that
was going to be a game programmer....
Today's OpenGL software interface enables programmers to produce extraordinarily high-quality computer-generated images and interactive applications using 2D and 3D objects, color images, and programmable shaders.
OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3, Eighth Edition, has been almost completely rewritten and provides definitive, comprehensive information on OpenGL and the OpenGL Shading Language. This edition of the best-selling "Red Book" describes the features through OpenGL version 4.3....
Over the years, the “Red Book” has become the authoritative reference for
each new version of the OpenGL API. Now we have the “Gold Book” for
OpenGL ES 2.0—a cross-platform open standard ushering in a new era of
shader programmability and visual sophistication for a wide variety of
embedded and mobile devices, from game consoles to automobiles, from
set top boxes to mobile phones.
Mobile phones, in particular, are impacting our everyday lives, as the
devices we carry with us are evolving into full mobile computers.
Pixel Shaders are one of the more powerful graphic tools available for XAML programmers.
I first encountered them in the Windows Presentation Foundation 3.5 SP1 release
and was completely smitten. It didn’t take long to learn that I could create custom
shaders, commonly called Effects in WPF, and add them to my projects. Excited by the
prospect, I started my research and soon learned that shaders are written in a language
called High Level Shader Language (HLSL). I like programming challenges and learning
new technologies, so I set off to learn more about custom shaders.
It seems an obvious question to ask at the beginning of an HLSL and shader book; what
exactly is a shader? It’s a small program or algorithm written explicitly to run on a
computer Graphics Processing Unit (GPU). It provides a way for developers to extend
the rendering capabilities of the GPU. Any program that works closely with graphics will
benefit from using shaders. The video game industry spins off custom shaders by the
thousands, they are as vital to game projects as business entity classes are to line of