was mistakenly initializing a vec4 with only 3 values.