You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#ifdef GL_ES
|
|
precision mediump float;
|
|
#endif
|
|
|
|
attribute vec3 aPosition;
|
|
|
|
|
|
|
|
void main() {
|
|
|
|
vec4 positionVec4 = vec4(aPosition, 1.0);
|
|
|
|
positionVec4.xy = positionVec4.xy * 2.0 - 1.0;
|
|
|
|
gl_Position = positionVec4;
|
|
}
|