CS 4621: Lecture 3
Recap
- The GLSL Programming Language
- Vector data types:
vec2
, vec3
, vec4
, and so on.
- Matrix data types:
mat2
, mat3
, and mat4
.
- Arrays
- Swizzling
- Three ways to pass data to GLSL
- Vertex attributes
- Uniform variables
- Varying variables
- The full screen quad
Exhibits