#version 330

uniform mat4 model;
uniform mat4 view;
uniform mat4 proj;
uniform mat3 modelIT;

layout(location = 0) in vec4 position;
layout(location = 1) in vec4 normal;
layout(location = 4) in vec4 coord;

out PS {
	vec3 nor;
	vec2 coo;
} o;

void main(void) {
	gl_Position = proj * view * model * position;
	o.nor = modelIT * normal.xyz;
	o.coo = coord.xy;
}
