attribute vec2 aVertexPosition; attribute vec3 aVertexNormal; uniform mat4 prMvMatrix; uniform float width; uniform float height; void main(void) { gl_Position = prMvMatrix * vec4(vec3(aVertexPosition, height + width) + aVertexNormal * width, 1.0); }