OLD | NEW |
---|---|
1 uniform float u_floats[4]; | 1 uniform float u_floats[4]; |
2 | 2 |
3 void main() | 3 void main() |
4 { | 4 { |
5 float sum = u_floats[0] + u_floats[1] + u_floats[2] + u_floats[3]; | 5 float sum = u_floats[0] + u_floats[1] + u_floats[2] + u_floats[3]; |
6 gl_Position = vec4(sum, 0.0, 0.0, 1.0); | 6 gl_Position = vec4(sum, 0.0, 0.0, 1.0); |
7 } | 7 } |
OLD | NEW |