GLSL types — GLSL has most of the default basic types we know from languages like C: int, float, double, uint and bool. GLSL also features two container types that we'll be using a lot throughout the tutorials, namely vectors and matrices.
Explore more quotes
Components of a vector can be accessed via vec.xwhere x is the first component of the vector. You can use .x, .y, .z and .w to access their first, second, third and fourth component respectively. GLSL also allows you to use rgba for colors or stpq for texture coordinates, accessing the same components.
That's the thing: once it's in their hands, it's not my book anymore, it's theirs. I have no idea what happens when they start to digest it. So when someone writes me to explain how they read it, what it was like, what they enjoyed, there's a thrill. Writers who don't make their email addresses public are missing out on something wonderful.