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