#version 400

in vec3 vPosition;

in vec3 vWorldNormal;
in vec3 vNormal;

in vec3 vDiffuse;
in vec3 vAmbient;
in vec3 vSpecular;

in vec4 lightPos;

// out vec4 fragColor;
layout (location = 0) out vec3 position;
layout (location = 1) out vec3 diffuse;
layout (location = 2) out vec3 normal;


void main(void) {
  position = vPosition;
  diffuse = vDiffuse.rgb;
  // normal = vWorldNormal * 0.5 + 0.5;
  normal = vNormal * 0.5 + 0.5;
}
