 		}
 	}
 	
-	
 	if(gfFogEnabled)
 		fragColor = fragColor * gfFogFactor + vec4(gfFogColor, zero_float) * (one_float - gfFogFactor);
 	

 //NOTE: if there is a #version directive (e.g. #version 100), it must occur before anything else in the program (including other directives)
 #version 100	//it is set the same time as the flags
*/
 //For other GL versions compatibility
 #ifdef GL_FRAGMENT_PRECISION_HIGH
	precision highp float;	//Desktop (or ES2.0 supporting highp)
#elif GL_ES
	precision mediump float;	//Default

varying float gfFogFactor;

//testing material
varying vec4 m_color;

//constants
const float zero_float = 0.0;
const float one_float = 1.0;

