ins and outs Shaders are nice little programs on their own, but they are part of a whole and for that reason we want to have inputs and outputs on the individual shaders so that we can move stuff around. GLSL defined the in and out keywords specifically for that purpose.
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.
Iceland sets a world-record. The United Nations asked people from all over the world a series of questions. Iceland stuck out on one thing. When we were asked what do we believe, 90% said, 'ourselves'. I think I'm in that group. If I get into trouble, there's no God or Allah to sort me out. I have to do it myself.
I love when stories have something a little magical in them, and there's wonder and curiosity. Somewhere there are people living these improbable stories, and our job is to go out and find them and bring them to the page. And so, the more surprising, the more uplifting, the more sort of even inspiring a story is, I find myself gripped by those.