2017-01-16 22:19:49 +00:00
|
|
|
#version 310 es
|
|
|
|
|
2017-01-22 07:49:11 +00:00
|
|
|
uniform vec4 UBO[56];
|
2017-06-21 07:39:08 +00:00
|
|
|
layout(location = 0) in vec4 aVertex;
|
2017-01-16 22:19:49 +00:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2017-01-22 07:49:11 +00:00
|
|
|
vec4 a4 = UBO[23];
|
|
|
|
vec4 offset = (UBO[50] + UBO[45]) + vec4(UBO[54].x);
|
|
|
|
gl_Position = ((mat4(UBO[40], UBO[41], UBO[42], UBO[43]) * aVertex) + UBO[55]) + offset;
|
2017-01-16 22:19:49 +00:00
|
|
|
}
|
|
|
|
|