2016-07-03 20:12:22 +00:00
|
|
|
void main() {
|
2016-07-21 16:17:49 +00:00
|
|
|
gl_Position = uMVP * vec4(aPosition, 0.0, 1.0);
|
2016-07-03 20:12:22 +00:00
|
|
|
|
|
|
|
// Flip the sampling
|
2016-07-21 16:17:49 +00:00
|
|
|
vUv = vec2(aUv.x, 1.0 - aUv.y);
|
2016-07-03 20:12:22 +00:00
|
|
|
}
|