//
//  vertex_shader.vsh
//  burglar
//
//  Created by Damian Isla on 5/17/12.
//  Copyright 2012 Moonshot Games. All rights reserved.
//

attribute vec2 position;
attribute vec2 normal;

uniform mat4 transform;
uniform mat4 normal_transform;
varying vec3 pixel_normal;


void main()
{
	gl_Position = transform * vec4(position, 0.0, 1.0);
	pixel_normal= (normal_transform * vec4(normal, 0.0, 0.0)).xyz;
}
