#version 330

in vec4 position;
uniform mat4 worldViewMatrix;

out vec4 texCoord;

void main(void)
{
	texCoord = (position + 1) / 2; //texCoord in the Range of [0, 1]
	gl_Position = worldViewMatrix * position;
}