 				billboardTexColor_1,
 				reflectedColor)) 
 		{
-			intersectDistance = length(P);
-			color = reflectedColor;
+			intersectDistance = length(P.xyz);
 		}		
 	}
 	

				billboardTexColor_2,
				reflectedColor)) 
		{
			intersectDistance = length(P);
			// reflected color is always the color of the closes reflection if multiple apply
			color = reflectedColor;
		}		
	}
	
	if(intersectDistance == INFINITY) // if there was no intersection with ANY billboard
		color = fs_in.color;
	
    // some useful for debug only tets
	//vec4 test = vec4(billboardVerts_1[0], 1.0) + vec4(-137.644196, 76.3608627, 82.6696091, -1.0); checksout

void main(void)
{
	const float INFINITY = 1e10;
	const float MAXINTERSECTDISTANCE = 220.0;
	float intersectDistance = INFINITY;
	float t, LdotV, mixFactor;
	vec4 reflectedColor, S, P, L, V;
	vec3 billboardNormal;
	
