!!ARBvp1.0
# ARB_vertex_program generated by NVIDIA Cg compiler
# cgc version 1.0.0002, build date Dec 18 2002  12:39:16
# command line args: -profile arbvp1
# nv30vp backend compiling 'main' program
PARAM c3 = { 0, 0, 1, 0 };
PARAM c4 = { 2, 2, 2, 2 };
#vendor NVIDIA Corporation
#version 1.0.02
#profile arbvp1
#program main
#semantic main.scale
#semantic main.color0
#semantic main.color1
#var float4 vertex.position : $vin.POSITION : POSITION : 0 : 1
#var float4 vertex.normal : $vin.NORMAL : NORMAL : 0 : 1
#var float4 vertex.texcoord0 : $vin.TEXCOORD0 : TEXCOORD0 : 0 : 1
#var float4 scale :  : c[0] : 1 : 1
#var float4 color0 :  : c[1] : 2 : 1
#var float4 color1 :  : c[2] : 3 : 1
#var float4 position : $vout.POSITION : POSITION : -1 : 1
#var float4 texcoord0 : $vout.TEXCOORD0 : TEXCOORD0 : -1 : 1
#var float4 texcoord1 : $vout.TEXCOORD1 : TEXCOORD1 : -1 : 1
#var float4 color0 : $vout.COLOR0 : COLOR0 : -1 : 1
#var float4 color1 : $vout.COLOR1 : COLOR1 : -1 : 1
TEMP R0, R1;
ATTRIB v24 = vertex.texcoord[0];
ATTRIB v18 = vertex.normal;
ATTRIB v16 = vertex.position;
PARAM s21 = state.light[0].half;
PARAM s18 = state.light[0].position;
PARAM s4 = state.material.shininess;
PARAM s77 = state.lightprod[0].specular;
PARAM s76 = state.lightprod[0].diffuse;
PARAM s75 = state.lightprod[0].ambient;
PARAM s631[4] = { state.matrix.modelview[0].invtrans };
PARAM s259[4] = { state.matrix.mvp };
	MOV result.color.front.secondary, s77[0];
	DP4 result.position.x, s259[0], v16;
	DP4 result.position.y, s259[1], v16;
	DP4 result.position.z, s259[2], v16;
	DP4 result.position.w, s259[3], v16;
	DP3 R1.x, s631[0].xyzx, v18.xyzx;
	DP3 R1.y, s631[1].xyzx, v18.xyzx;
	DP3 R1.z, s631[2].xyzx, v18.xyzx;
	MOV R1.w, c3.x;
	MOV result.texcoord[1].w, R1;
	DP3 R0.x, R1.xyzx, R1.xyzx;
	RSQ R0.x, R0.x;
	MUL R0, R0.x, R1.xyzx;
	MOV result.texcoord[1].xyz, R0;
	MOV result.color.front.primary.xyz, s76[0];
	DP3 R0.x, R0.xyzx, c3.xyzx;
	MAX R0.x, R0.x, -R0.x;
	ADD R0.xyz, c3.z, -R0.x;
	MOV result.color.front.primary.w, R0.xyzx;
	MOV result.texcoord[0].xyz, v24;
	MOV result.texcoord[0].w, s4[0].x;
END
# 21 instructions
# 2 temp registers
# End of program
