#version 120

attribute float disintegration;
attribute float outlineColorIndex;

varying float disintegrationFrag;
varying float outlineColorIndexFrag;

void main()
{    
	gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
	gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
	gl_FrontColor = gl_Color;

	disintegrationFrag = disintegration;
	outlineColorIndexFrag = outlineColorIndex;
}