Declare temps as an array.

Looks better to have a single array instead of many individual variable
declarations. Will mean fewer lines in the GLSL shader.