January 2015
Intermediate to advanced
282 pages
6h 12m
English
Armed with our newfound knowledge of GLSL, let's build a starfield screensaver, that is, a non-interactive demonstration of stars fleeing from the center of the screen to its sides, under the influence of an imaginary centrifugal force or something.
As dynamic visual effects are hard to describe unequivocally and screenshots aren't very helpful in this regard either, run the code that accompanies the chapter to get a better idea of what's going on.
Conceptually, each star goes through the same action sequence:
We will also make stars accelerate ...
Read now
Unlock full access