Index: /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPCaustic/GTPCaustic.hlsl
===================================================================
--- /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPCaustic/GTPCaustic.hlsl	(revision 2054)
+++ /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPCaustic/GTPCaustic.hlsl	(revision 2095)
@@ -220,5 +220,5 @@
 		//float maxdist = 10;
 		//intensity = max(maxdist - avrdist, 0.0) / maxdist;
-		intensity = 60.0 / (avrdist * avrdist * 3.14);
+		intensity = 5 / (avrdist * avrdist * 3.14);
 		//intensity = valids / 4.0;//avrdist;
 		
Index: /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/multibounce/multipleReflectionMinMax/GTPMultipleReflectionMinMax.material
===================================================================
--- /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/multibounce/multipleReflectionMinMax/GTPMultipleReflectionMinMax.material	(revision 2054)
+++ /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/multibounce/multipleReflectionMinMax/GTPMultipleReflectionMinMax.material	(revision 2095)
@@ -35,5 +35,5 @@
 				get_minmax true
 				min_var_name min
-				max_var_name max				
+				max_var_name Max				
 			}
 			RenderTechnique ColorCubeMap
Index: /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/multibounce/Copy of GTPMultipleReflection.hlsl
===================================================================
--- /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/multibounce/Copy of GTPMultipleReflection.hlsl	(revision 2095)
+++ /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/multibounce/Copy of GTPMultipleReflection.hlsl	(revision 2095)
@@ -0,0 +1,348 @@
+float4 readCubeMap(samplerCUBE cm, float3 coord)		
+{
+	float4 color = texCUBElod( cm, float4(coord.xy, - coord.z,0) );
+	return color;
+}
+
+float readDistanceCubeMap(samplerCUBE dcm, float3 coord)		
+{
+	float dist = texCUBElod(dcm, float4(coord.xy, - coord.z,0)).a;
+	return dist;
+}
+
+#define MAX_LIN_ITERATIONCOUNT 50  //80
+#define MIN_LIN_ITERATIONCOUNT 15  //60
+#define SECANT_ITERATIONCOUNT 1
+#define MAX_RAY_DEPTH 2
+
+void linearSearch(  float3 x, float3 R, float3 N, samplerCUBE mp,
+                    out float3 p,
+                    out float dl,
+                    out float dp,
+                    out float llp,
+                    out float ppp)
+{
+ float3 Ra = abs(R), xa = abs(x);
+ float xm =  max(max(xa.x,xa.y),xa.z);
+ float Rm = max(max(Ra.x,Ra.y),Ra.z);
+ float a = xm / Rm;
+ 
+ int shootL = 0, shootP = 0;          
+ bool found = false; 
+ 
+ float dt =  length(x / xm - R / Rm) * MAX_LIN_ITERATIONCOUNT;
+ dt = max(dt, MIN_LIN_ITERATIONCOUNT);
+ dt = 1.0 / dt;
+    
+ float t = 0.01;//dt;
+ float pa;
+ 
+ //Linear iteration
+ while(t <= 1.0 && !found)
+ {
+   dp = a * t / (1 - t);
+   p = x + R * dp;
+   pa = readDistanceCubeMap(mp, p);
+      
+   if(pa > 0)
+   {
+    ppp = length(p) / pa;
+    if(ppp < 1)
+      shootP = -1;
+    else 
+      shootP = 1;      
+    if(shootL * shootP == -1)
+      found = true;
+    else
+    {
+      shootL = shootP;
+      dl = dp;
+      llp = ppp;
+    }
+   }
+   else
+     shootL = 0;
+      
+   t += dt;  
+ }
+
+ if(!found)
+  p = float3(0,0,0);
+}
+
+
+void secantSearch(float3 x, float3 R, samplerCUBE mp, 
+	               float dl,
+	               float dp,
+	               float llp,
+	               float ppp,
+	               out float3 p)
+{
+  for(int i= 0; i < SECANT_ITERATIONCOUNT; i++)
+  {
+   float dnew;
+   dnew = dl + (dp - dl) * (1 - llp) / (ppp - llp);
+   p = x + R * dnew;
+   half pppnew = length(p) / readDistanceCubeMap(mp, p);
+   if(pppnew < 1)
+   {
+    llp = pppnew;
+    dl = dnew;
+   }
+   else
+   {
+    ppp = pppnew;
+    dp = dnew;
+   }
+  }
+}
+
+float3 Hit(float3 x, float3 R, float3 N, 
+           samplerCUBE mp1,
+           samplerCUBE mp2,
+           samplerCUBE mp3Color,
+           samplerCUBE mp3Dist,
+           out float4 Il, out float3 Nl)
+{
+ float dl1 = 0, dp1, llp1, ppp1;
+ float3 p1;
+ linearSearch(x, R, N, mp1, p1, dl1, dp1, llp1, ppp1);
+ float dl2 = 0, dp2, llp2, ppp2;
+ float3 p2;
+ linearSearch(x, R, N, mp2, p2, dl2, dp2, llp2, ppp2);
+ 
+ bool valid1 = dot(p1,p1) != 0;
+ bool valid2 = dot(p2,p2) != 0;
+		
+ float dl, dp, llp, ppp;
+ float3 p;
+ 
+ if(!valid1 && ! valid2)
+ {
+    linearSearch(x, R, N, mp3Dist, p, dl, dp, llp, ppp);
+    Il.a = 1; 
+    secantSearch(x, R, mp3Dist, dl, dp, llp, ppp, p);
+    Il.rgb =  Nl.rgb = readCubeMap(mp3Color, p).rgb;  
+ }
+ else
+ {
+    if( !valid2 || (valid1 && dp1 < dp2))
+    {
+     secantSearch(x, R, mp1, dl1, dp1, llp1, ppp1, p1);
+     Il.rgb =  Nl.rgb = readCubeMap(mp1, p1).rgb;
+     p = p1;
+    }
+    else
+    {
+     secantSearch(x, R, mp2, dl2, dp2, llp2, ppp2, p2);
+     Il.rgb =  Nl.rgb = readCubeMap(mp2, p2).rgb;
+     p = p2;
+    }
+    Il.a = 0;   
+ }
+ 
+ return p;
+}
+
+struct Shaded_OUT
+{
+ float4 vPos : POSITION;
+ float4 wNormal : TEXCOORD0;
+ float4 wPos    : TEXCOORD1; 
+};
+
+float4 MultipleReflectionPS(Shaded_OUT IN,
+							uniform samplerCUBE CubeMap : register(s0),
+							uniform samplerCUBE DistanceMap : register(s1),
+							uniform samplerCUBE NormDistMap1 : register(s2),
+							uniform samplerCUBE NormDistMap2 : register(s3),
+							uniform float3 cameraPos,
+							uniform float3 lastCenter) : COLOR0
+{	
+	 float4 I = float4(0,0,0,0);
+			
+	 float3 N = normalize(IN.wNormal.xyz);
+	 float3 x = IN.wPos.xyz - lastCenter;
+	 float3 V  = (IN.wPos.xyz - cameraPos);
+	 
+	 V = normalize(V);
+	 float3 l;
+
+		
+	//return readCubeMap(NormDistMap2, x).a /2.0 + 0.000000000001 * x.x;
+	  
+	 int depth = 0;
+	
+	 while(depth < MAX_RAY_DEPTH)
+	 {
+	   float3 R;  
+	   R = normalize(reflect( V, N));	  
+	  	
+	   float3 Nl;
+	   float4 Il = 0;
+	   l = Hit(x, R, N, NormDistMap1, NormDistMap2, CubeMap, DistanceMap, Il, Nl);
+	   if(Il.a == 0)
+	   {	   
+		  depth += 1;		 
+	   }
+	   else
+	   {
+		   I = Il;
+		   depth = MAX_RAY_DEPTH;
+	   }
+	   x = l;	   
+	   N = Nl;
+	   V = R;   
+	   
+	}
+	if(I.a == 0)
+	   I = readCubeMap(CubeMap, l);
+	
+	return I;
+}
+
+float4 MultipleRefractionPS(Shaded_OUT IN,
+							uniform samplerCUBE CubeMap : register(s0),
+							uniform samplerCUBE DistanceMap : register(s1),
+							uniform samplerCUBE NormDistMap1 : register(s2),
+							uniform samplerCUBE NormDistMap2 : register(s3),
+							uniform float3 cameraPos,
+							uniform float3 lastCenter,
+							uniform float sFresnel,
+							uniform float refIndex ) : COLOR0
+{
+	 float4 I = float4(0,0,0,0);
+			
+	 float3 N = normalize(IN.wNormal.xyz);
+	 float3 x = IN.wPos.xyz - lastCenter;
+	 float3 V  = (IN.wPos.xyz - cameraPos);
+	  V = normalize(V);
+	 
+	 float F = sFresnel + pow(1 - dot(N, -V), 5) * (1 - sFresnel);	 
+	
+	 float3 l;
+	 float4 Irefl;
+	 int depth = 0;
+	
+	 while(depth < MAX_RAY_DEPTH)
+	 {
+	   float3 R;
+	   R = normalize(reflect( V, N));
+	  	
+	   float3 Nl;
+	   float4 Il;
+	   l = Hit(x, R, N, NormDistMap1, NormDistMap2, CubeMap, DistanceMap, Il, Nl);
+	   if(Il.a == 0)
+	   {
+		   depth += 1;		 
+	   }
+	   else
+	   {
+		   I = Il;
+		   depth = MAX_RAY_DEPTH;
+	   }
+	   x = l;	   
+	   N = Nl;
+	   V = R;
+	}
+	if(I.a == 0)
+	   I = readCubeMap(CubeMap, l);
+	Irefl = I;
+	
+	{
+	float4 Irefr;
+	N = normalize(IN.wNormal.xyz);
+	x = IN.wPos.xyz - lastCenter;
+	V  = (IN.wPos.xyz - cameraPos);
+	depth = 0;
+	
+	while(depth < MAX_RAY_DEPTH)
+	{
+	  float3 R;  
+	  
+	  float ri = refIndex;
+	 
+	  if(dot(V,N) > 0)
+	  {
+		ri = 1.0 / ri;
+		N = -N;	    
+	  }
+	  R = refract( V, N, ri);
+	  if(dot(R,R) == 0) R = reflect( V, N); 
+					
+	  float3 Nl;
+	  float4 Il;
+	  l = Hit(x, R, N, NormDistMap1, NormDistMap2, CubeMap, DistanceMap, Il, Nl);
+	  if(Il.a == 0)
+	  {
+		   depth += 1;		 
+	  }
+	  else
+	  {
+		   I = Il;
+		   depth = MAX_RAY_DEPTH;
+	  }
+	  x = l;	   
+	  N = normalize(Nl);
+	  V = R;	   	   
+	}
+	
+	if(I.a == 0)
+	   I = readCubeMap(CubeMap, l);
+	Irefr = I;
+	    
+	I = Irefl * F + (1.0 - F) * Irefr;	
+    }
+ 	return I;
+}
+
+float4 MultipleRefractionPhotonMap_PS(Shaded_OUT IN,
+									uniform samplerCUBE DistanceMap : register(s0),
+									uniform samplerCUBE NormDistMap1 : register(s1),
+									uniform samplerCUBE NormDistMap2 : register(s2),
+									uniform float3 cameraPos,
+									uniform float3 lastCenter,
+									uniform float refIndex) : COLOR0
+{
+	float4 I = float4(0,0,0,0);
+		 
+	float3 N = normalize(IN.wNormal.xyz);
+	float3 x = IN.wPos.xyz - lastCenter;
+	float3 V  = (IN.wPos.xyz - cameraPos);
+	V = normalize(V);
+	float3 l;
+	int depth = 0;
+		
+	while(depth < MAX_RAY_DEPTH)
+	{
+	  float3 R;  
+	  
+	  float ri = refIndex;
+	 
+	  if(dot(V,N) > 0)
+	  {
+		ri = 1.0 / ri;
+		N = -N;	    
+	  }
+	  R = refract( V, N, ri);
+	  if(dot(R,R) == 0) R = reflect( V, N); 
+					
+	  float3 Nl;
+	  float4 Il;
+	  l = Hit(x, R, N, NormDistMap1, NormDistMap2, DistanceMap, DistanceMap, Il, Nl);
+	  if(Il.a == 0)
+	  {
+		   depth += 1;		 
+	  }
+	  else
+	  {
+		   I = Il;
+		   depth = MAX_RAY_DEPTH;
+	  }
+	  x = l;	   
+	  N = normalize(Nl);
+	  V = R;	   	   
+	}
+	
+	return float4(l,1);
+}
Index: /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/multibounce/GTPMultipleReflection.hlsl
===================================================================
--- /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/multibounce/GTPMultipleReflection.hlsl	(revision 2054)
+++ /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/multibounce/GTPMultipleReflection.hlsl	(revision 2095)
@@ -11,8 +11,8 @@
 }
 
-#define MAX_LIN_ITERATIONCOUNT 30  //80
-#define MIN_LIN_ITERATIONCOUNT 20  //60
+#define MAX_LIN_ITERATIONCOUNT 50  //80
+#define MIN_LIN_ITERATIONCOUNT 15  //60
 #define SECANT_ITERATIONCOUNT 1
-#define MAX_RAY_DEPTH 2
+#define MAX_RAY_DEPTH 4
 
 void linearSearch(  float3 x, float3 R, float3 N, samplerCUBE mp,
@@ -219,49 +219,13 @@
 	  V = normalize(V);
 	 
-	 float F = sFresnel + pow(1 - dot(N, -V), 5) * (1 - sFresnel);	 
-	
-	 float3 l;
-	 float4 Irefl;
+	 float F;
 	 int depth = 0;
-	
-	 while(depth < MAX_RAY_DEPTH)
-	 {
-	    float3 R;  
-	   R = normalize(reflect( V, N));	  
-	  	
-	   float3 Nl;
-	   float4 Il;
-	   l = Hit(x, R, N, NormDistMap1, NormDistMap2, CubeMap, DistanceMap, Il, Nl);
-	   if(Il.a == 0)
-	   {
-		   depth += 1;		 
-	   }
-	   else
-	   {
-		   I = Il;
-		   depth = MAX_RAY_DEPTH;
-	   }
-	   x = l;	   
-	   N = Nl;
-	   V = R;   
-	   
-	}
-	if(I.a == 0)
-	   I = readCubeMap(CubeMap, l);
-	Irefl = I;
-	
-	{
-	float4 Irefr;
-	N = normalize(IN.wNormal.xyz);
-	x = IN.wPos.xyz - lastCenter;
-	V  = (IN.wPos.xyz - cameraPos);
-	depth = 0;
+	F = sFresnel + pow(1 - dot(N, -V), 5) * (1 - sFresnel);	 
 	
 	while(depth < MAX_RAY_DEPTH)
 	{
 	  float3 R;  
-	  
-	  float ri = refIndex;
-	 
+	  	 
+	  float ri = refIndex;	 
 	  if(dot(V,N) > 0)
 	  {
@@ -270,6 +234,60 @@
 	  }
 	  R = refract( V, N, ri);
-	  if(dot(R,R) == 0) R = reflect( V, N); 
-					
+	  if(dot(R,R) == 0) R = reflect( V, N);
+	  					
+	  float3 Nl;
+	  float4 Il;
+	  float3 l = Hit(x, R, N, NormDistMap1, NormDistMap2, CubeMap, DistanceMap, Il, Nl);
+	  if(Il.a == 0)
+	  {
+		  //I = readCubeMap(CubeMap, l);
+		   depth += 1;		 
+	  }
+	  else
+	  {
+		   I = Il;
+		   depth = MAX_RAY_DEPTH;
+	  }
+	  x = l;	   
+	  N = normalize(Nl);
+	  V = R;	   	   
+	}  
+	    
+	I *= (1.0 - F);	
+    
+	return I;
+}
+
+float4 MultipleRefractionPhotonMap_PS(Shaded_OUT IN,
+									uniform samplerCUBE DistanceMap  : register(s0),
+									uniform samplerCUBE NormDistMap1 : register(s1),
+									uniform samplerCUBE NormDistMap2 : register(s2),
+									uniform samplerCUBE CubeMap      : register(s3), //NOT USED
+									uniform float3 cameraPos,
+									uniform float3 lastCenter,
+									uniform float refIndex) : COLOR0
+{
+	 float4 I = 0;		
+	 float3 N = normalize(IN.wNormal.xyz);
+	 float3 x = IN.wPos.xyz - lastCenter;
+	 float3 V  = (IN.wPos.xyz - cameraPos);
+	 V = normalize(V);
+	 
+	int depth = 0;
+	float3 l;
+	
+	while(depth < MAX_RAY_DEPTH)
+	{
+	  float3 R;  
+	  	 
+	  float ri = refIndex;	 
+	  if(dot(V,N) > 0)
+	  {
+		ri = 1.0 / ri;
+		N = -N;	    
+	  }
+	  R = refract( V, N, ri);
+	  if(dot(R,R) == 0) R = reflect( V, N);
+	  					
 	  float3 Nl;
 	  float4 Il;
@@ -277,73 +295,20 @@
 	  if(Il.a == 0)
 	  {
-		   depth += 1;		 
+		  depth += 1;		 
 	  }
 	  else
 	  {
-		   I = Il;
-		   depth = MAX_RAY_DEPTH;
+		  I = Il;
+		  depth = MAX_RAY_DEPTH;
 	  }
 	  x = l;	   
 	  N = normalize(Nl);
 	  V = R;	   	   
-	}
-	
+	}  
 	if(I.a == 0)
-	   I = readCubeMap(CubeMap, l);
-	Irefr = I;
-	    
-	I = Irefl * F + (1.0 - F) * Irefr;	
-    }
- 	return I;
-}
-
-float4 MultipleRefractionPhotonMap_PS(Shaded_OUT IN,
-									uniform samplerCUBE DistanceMap : register(s0),
-									uniform samplerCUBE NormDistMap1 : register(s1),
-									uniform samplerCUBE NormDistMap2 : register(s2),
-									uniform float3 cameraPos,
-									uniform float3 lastCenter,
-									uniform float refIndex) : COLOR0
-{
-	float4 I = float4(0,0,0,0);
-		 
-	float3 N = normalize(IN.wNormal.xyz);
-	float3 x = IN.wPos.xyz - lastCenter;
-	float3 V  = (IN.wPos.xyz - cameraPos);
-	V = normalize(V);
-	float3 l;
-	int depth = 0;
-		
-	while(depth < MAX_RAY_DEPTH)
-	{
-	  float3 R;  
-	  
-	  float ri = refIndex;
-	 
-	  if(dot(V,N) > 0)
-	  {
-		ri = 1.0 / ri;
-		N = -N;	    
-	  }
-	  R = refract( V, N, ri);
-	  if(dot(R,R) == 0) R = reflect( V, N); 
-					
-	  float3 Nl;
-	  float4 Il;
-	  l = Hit(x, R, N, NormDistMap1, NormDistMap2, DistanceMap, DistanceMap, Il, Nl);
-	  if(Il.a == 0)
-	  {
-		   depth += 1;		 
-	  }
-	  else
-	  {
-		   I = Il;
-		   depth = MAX_RAY_DEPTH;
-	  }
-	  x = l;	   
-	  N = normalize(Nl);
-	  V = R;	   	   
-	}
-	
-	return float4(l,1);
-}
+		I = 0;
+	else
+		I = float4(l,1);
+	
+	return I;
+}
Index: /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/multibounce/multipleRefractionMinMax/GTPMultipleRefractionMinMax.material
===================================================================
--- /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/multibounce/multipleRefractionMinMax/GTPMultipleRefractionMinMax.material	(revision 2095)
+++ /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/multibounce/multipleRefractionMinMax/GTPMultipleRefractionMinMax.material	(revision 2095)
@@ -0,0 +1,106 @@
+fragment_program GTP/MultiBounce/Refraction_MinMax_PS hlsl
+{
+	
+	source GTPMultipleReflection_MinMax.hlsl
+    entry_point MultipleRefractionPS
+	target ps_3_0
+	flow_control prefer
+}
+
+material GTP/MultiBounce/Refractor_MinMax
+{ 
+   technique 
+   { 
+      pass 
+      { 
+        //cull_hardware none
+		IllumTechniques
+		{
+			RenderTechnique ColorCubeMap
+			{
+				resolution 1024
+				update_interval		0
+				distance_calc false
+				face_angle_calc false
+				update_all_face true
+								
+			}
+			RenderTechnique DistanceCubeMap
+			{
+				resolution 1024
+				update_interval		0
+				distance_calc false
+				face_angle_calc false
+				update_all_face true
+				get_minmax true
+				min_var_name min
+				max_var_name Max				
+			}
+			RenderTechnique ColorCubeMap
+			{
+				resolution 1024
+				layer 1
+				texture_unit_id 2
+				update_interval		0
+				distance_calc false
+				face_angle_calc false
+				update_all_face true
+				render_env false
+				render_self true
+				self_material GTP/MultiBounce/NormalDistanceCCW
+				get_minmax true
+				min_var_name min1
+				max_var_name max1			
+			}
+			RenderTechnique ColorCubeMap
+			{
+				resolution 1024
+				layer 2
+				texture_unit_id 3
+				update_interval		0
+				distance_calc false
+				face_angle_calc false
+				update_all_face true
+				render_env false
+				render_self true
+				self_material GTP/MultiBounce/NormalDistanceCW
+				get_minmax true
+				min_var_name min2
+				max_var_name max2
+			}				
+		 }
+		 vertex_program_ref GTP/Basic/Shaded_VS
+         {       
+            param_named_auto WorldViewProj worldviewproj_matrix 
+    	    param_named_auto World world_matrix
+    	    param_named_auto WorldInv inverse_world_matrix	    
+         } 
+		 fragment_program_ref GTP/MultiBounce/Refraction_MinMax_PS
+         { 
+			param_named_auto cameraPos camera_position						
+		 } 
+		
+		//Cube map of environment
+		texture_unit
+		{
+			//filtering none
+		}
+		//Cube map of environment distances
+		texture_unit
+		{
+			filtering none
+		}
+		
+		//Cube map of reflective object's normals and distances CCW
+		texture_unit
+		{
+			filtering none
+		}		
+		//Cube map of reflective object's normals and distances CW
+		texture_unit
+		{
+			filtering none
+		}
+	  }
+    }
+}
Index: /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/multibounce/Copy of GTPMultipleReflection_MinMax.hlsl
===================================================================
--- /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/multibounce/Copy of GTPMultipleReflection_MinMax.hlsl	(revision 2095)
+++ /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/multibounce/Copy of GTPMultipleReflection_MinMax.hlsl	(revision 2095)
@@ -0,0 +1,480 @@
+float4 readCubeMap(samplerCUBE cm, float3 coord)		
+{
+	float4 color = texCUBElod( cm, float4(coord.xy, - coord.z,0) );
+	return color;
+}
+
+float readDistanceCubeMap(samplerCUBE dcm, float3 coord)		
+{
+	float dist = texCUBElod(dcm, float4(coord.xy, - coord.z,0)).a;
+	return dist;
+}
+
+#define MAX_LIN_ITERATIONCOUNT 80  //80
+#define MIN_LIN_ITERATIONCOUNT 60  //60
+#define SECANT_ITERATIONCOUNT 1
+#define MAX_RAY_DEPTH 2
+
+//#define METHOD1
+
+void linearSearch(  float3 x, float3 R, float3 N, samplerCUBE mp,
+					float2 minMax,					
+                    out float3 p,
+                    out float dl,
+                    out float dp,
+                    out float llp,
+                    out float ppp)
+{
+ float3 Ra = abs(R), xa = abs(x);
+ float xm =  max(max(xa.x,xa.y),xa.z);
+ float Rm = max(max(Ra.x,Ra.y),Ra.z);
+ float a = xm / Rm;
+ 
+ int shootL = 0, shootP = 0;          
+ bool found = false; 
+ 
+ float min = minMax.x;
+ float maximum = minMax.y;
+ 
+ float minD = 0;
+ float maxD = 0;
+ {
+  	float a = dot(R,R);
+	float b = 2 * dot(R, x);
+	float c = dot(x,x) - min * min; 
+	float c2 = dot(x,x) - maximum * maximum; 
+	
+	float dis = b*b - 4*a*c;
+	float dis2 = b*b - 4*a*c2;
+	
+	float t1 = (-b + sqrt(dis))/ 2.0 * a;
+	float t2 = (-b - sqrt(dis))/ 2.0 * a;
+    float t3 = (-b + sqrt(dis2))/ 2.0 * a;
+	float t4 = (-b - sqrt(dis2))/ 2.0 * a;
+	
+	int numvalids = 0;
+	if(t1 > 0)
+	{
+	 numvalids++;
+	 if(t1 > maxD)maxD = t1;
+	 if(t1 < minD || minD == 0)minD = t1;
+	}
+	if(t2 > 0)
+	{
+	 numvalids++;
+	 if(t2 > maxD)maxD = t2;
+	 if(t2 < minD || minD == 0)minD = t2;
+	}
+	if(t3 > 0)
+	{
+	 numvalids++;
+	 if(t3 > maxD)maxD = t3;
+	 if(t3 < minD || minD == 0)minD = t3;
+	}
+	if(t4 > 0)
+	{
+	 numvalids++;
+	 if(t4 > maxD)maxD = t4;
+	 if(t4 < minD || minD == 0)minD = t4;
+	}
+	
+	if(numvalids % 2 == 1)
+	 minD = 0.01;
+	if(numvalids == 0)
+	 minD = maxD + 1.0;	
+ }
+ 
+#ifdef METHOD1
+ int iterationNeeded = MAX_LIN_ITERATIONCOUNT;// + (dot(normalize(x), R) + 1.0) / 2.0 * (MAX_LIN_ITERATIONCOUNT - MIN_LIN_ITERATIONCOUNT);
+ float pa;
+ float dD = (maxD - minD) / (float) iterationNeeded ;
+ dp = minD; 
+ 
+ //Linear iteration
+ while(dp <= maxD && !found)
+ {
+	 
+#else
+ float dt =  length(x / xm - R / Rm) * MAX_LIN_ITERATIONCOUNT;
+ dt = max(dt, MIN_LIN_ITERATIONCOUNT);
+ dt = 1.0 / dt;
+ 
+ float minT = minD / (a + minD);
+ float maxT = maxD / (a + maxD);
+ 
+ float t = minT;//dt;
+ float pa;
+ 
+ while(t <= maxT && !found)
+ {
+	 dp = a * t / (1 - t);
+#endif
+
+   p = x + R * dp;
+   pa = readDistanceCubeMap(mp, p);
+      
+   if(pa > 0)
+   {
+    ppp = length(p) / pa;
+    if(ppp < 1)
+      shootP = -1;
+    else 
+      shootP = 1;      
+    if(shootL * shootP == -1)
+      found = true;
+    else
+    {
+      shootL = shootP;
+      dl = dp;
+      llp = ppp;
+    }
+   }
+   else
+     shootL = 0;
+ 
+ #ifdef METHOD1     
+   dp += dD; 
+ #else 
+   t += dt;
+ #endif
+ }
+
+ if(!found)
+  p = float3(0,0,0);
+}
+
+
+void secantSearch(float3 x, float3 R, samplerCUBE mp, 
+	               float dl,
+	               float dp,
+	               float llp,
+	               float ppp,
+	               out float3 p)
+{
+  for(int i= 0; i < SECANT_ITERATIONCOUNT; i++)
+  {
+   float dnew;
+   dnew = dl + (dp - dl) * (1 - llp) / (ppp - llp);
+   p = x + R * dnew;
+   half pppnew = length(p) / readDistanceCubeMap(mp, p);
+   if(pppnew < 1)
+   {
+    llp = pppnew;
+    dl = dnew;
+   }
+   else
+   {
+    ppp = pppnew;
+    dp = dnew;
+   }
+  }
+}
+
+
+float3 Hit(float3 x, float3 R, float3 N, 
+           samplerCUBE mp1,
+           samplerCUBE mp2,
+           samplerCUBE mp3Color,
+           samplerCUBE mp3Dist,
+           float2 minMax,
+           float2 minMax1,
+		   float2 minMax2,		   
+           out float4 Il, out float3 Nl)
+{
+ float dl1 = 0, dp1, llp1, ppp1;
+ float3 p1;
+ linearSearch(x, R, N, mp1, minMax1, p1, dl1, dp1, llp1, ppp1);
+ float dl2 = 0, dp2, llp2, ppp2;
+ float3 p2;
+ linearSearch(x, R, N, mp2, minMax2, p2, dl2, dp2, llp2, ppp2);
+ 
+ bool valid1 = dot(p1,p1) != 0;
+ bool valid2 = dot(p2,p2) != 0;
+		
+ float dl, dp, llp, ppp;
+ float3 p;
+ 
+ if(!valid1 && ! valid2)
+ {
+    linearSearch(x, R, N, mp3Dist, minMax, p, dl, dp, llp, ppp);
+    if(dot(p,p) != 0)
+    {
+     Il.a = 1;    
+     secantSearch(x, R, mp3Dist, dl, dp, llp, ppp, p);
+     Il.rgb =  Nl.rgb = readCubeMap(mp3Color, p).rgb;  
+    }
+    else
+     Il = float4(0,0,0,0);
+ }
+ else
+ {
+    if( !valid2 || (valid1 && dp1 < dp2))
+    {
+     secantSearch(x, R, mp1, dl1, dp1, llp1, ppp1, p1);
+     Il.rgb =  Nl.rgb = readCubeMap(mp1, p1).rgb;
+     p = p1;
+    }
+    else
+    {
+     secantSearch(x, R, mp2, dl2, dp2, llp2, ppp2, p2);
+     Il.rgb =  Nl.rgb = readCubeMap(mp2, p2).rgb;
+     p = p2;
+    }    
+ } 
+ return p;
+}
+
+struct Shaded_OUT
+{
+ float4 vPos : POSITION;
+ float4 wNormal : TEXCOORD0;
+ float4 wPos    : TEXCOORD1; 
+};
+
+
+float4 MultipleReflectionPS(Shaded_OUT IN,
+							uniform samplerCUBE CubeMap : register(s0),
+							uniform samplerCUBE DistanceMap : register(s1),
+							uniform samplerCUBE NormDistMap1 : register(s2),
+							uniform samplerCUBE NormDistMap2 : register(s3),
+							uniform float3 cameraPos,
+							uniform float3 lastCenter,
+							uniform float4 min,
+							uniform float4 min1,
+							uniform float4 min2,
+							uniform float4 Max,
+							uniform float4 max1,
+							uniform float4 max2) : COLOR0
+{
+	float2 miniMaxi1;
+    miniMaxi1.x = min.a;
+    miniMaxi1.y = Max.a;
+   
+    float2 miniMaxi2;
+    miniMaxi2.x = min1.a;
+    miniMaxi2.y = max1.a;
+   
+    float2 miniMaxi3;
+    miniMaxi3.x = min2.a;
+    miniMaxi3.y = max2.a;
+	 		
+	 float3 N = normalize(IN.wNormal.xyz);
+	 float3 x = IN.wPos.xyz - lastCenter;
+	 float3 V  = (IN.wPos.xyz - cameraPos);
+		 
+	 float4 I = float4(0,0,0,0);
+	 V = normalize(V);
+	 float3 l;
+	 int depth = 0;
+	
+	 while(depth < MAX_RAY_DEPTH)
+	 {
+	   float3 R;  
+	   R = normalize(reflect( V, N));	  
+	  	
+	   float3 Nl;
+	   float4 Il;
+	   l = Hit(x, R, N, NormDistMap1, NormDistMap2, CubeMap, DistanceMap, miniMaxi1, miniMaxi2, miniMaxi3, Il, Nl);
+	   if(Il.a == 0)
+	   {
+		   depth += 1;		 
+	   }
+	   else
+	   {
+		   I = Il;
+		   depth = MAX_RAY_DEPTH;
+	   }
+	   x = l;	   
+	   N = Nl;
+	   V = R;   	   
+	}
+	if(I.a == 0)
+	  I = readCubeMap(CubeMap, l);
+	
+	return I;
+}
+
+float4 MultipleRefractionPS(Shaded_OUT IN,
+							uniform samplerCUBE CubeMap : register(s0),
+							uniform samplerCUBE DistanceMap : register(s1),
+							uniform samplerCUBE NormDistMap1 : register(s2),
+							uniform samplerCUBE NormDistMap2 : register(s3),
+							uniform float3 cameraPos,
+							uniform float3 lastCenter,
+							uniform float refIndex,
+							//uniform float sFresnel, //0.04 
+							uniform float4 min,
+							uniform float4 min1,
+							uniform float4 min2,
+							uniform float4 Max,
+							uniform float4 max1,
+							uniform float4 max2) : COLOR0
+{
+	float2 miniMaxi1;
+    miniMaxi1.x = min.a;
+    miniMaxi1.y = Max.a;
+   
+    float2 miniMaxi2;
+    miniMaxi2.x = min1.a;
+    miniMaxi2.y = max1.a;
+   
+    float2 miniMaxi3;
+    miniMaxi3.x = min2.a;
+    miniMaxi3.y = max2.a;
+
+	 float4 I = float4(0,0,0,0);
+			
+	 float3 N = normalize(IN.wNormal.xyz);
+	 float3 x = IN.wPos.xyz - lastCenter;
+	 float3 V  = (IN.wPos.xyz - cameraPos);
+	 
+	 float sFresnel = 0.04;
+	 float F = sFresnel + pow(1 - dot(N, -V), 5) * (1 - sFresnel);
+	 
+	 V = normalize(V);
+	 float3 l;
+	 float4 Irefl;
+	 int depth = 0;
+	
+	 while(depth < MAX_RAY_DEPTH)
+	 {
+	    float3 R;  
+	   R = normalize(reflect( V, N));	  
+	  	
+	   float3 Nl;
+	   float4 Il;
+	   l = Hit(x, R, N, NormDistMap1, NormDistMap2, CubeMap, DistanceMap, miniMaxi1, miniMaxi2, miniMaxi3, Il, Nl);
+	   if(Il.a == 0)
+	   {
+		   depth += 1;		 
+	   }
+	   else
+	   {
+		   I = Il;
+		   depth = MAX_RAY_DEPTH;
+	   }
+	   x = l;	   
+	   N = Nl;
+	   V = R;   
+	   
+	}
+	if(I.a == 0)
+	   I = readCubeMap(CubeMap, l);
+	Irefl = I;
+	
+	{
+	float4 Irefr;
+	N = normalize(IN.wNormal.xyz);
+	x = IN.wPos.xyz - lastCenter;
+	V  = (IN.wPos.xyz - cameraPos);
+	V = normalize(V);
+	depth = 0;
+	
+	while(depth < MAX_RAY_DEPTH)
+	{
+	  float3 R;  
+	  
+	  float ri = refIndex;
+	 
+	  if(dot(V,N) > 0)
+	  {
+		ri = 1.0 / ri;
+		N = -N;	    
+	  }
+	  R = refract( V, N, ri);
+	  if(dot(R,R) == 0) R = reflect( V, N); 
+					
+	  float3 Nl;
+	  float4 Il;
+	  l = Hit(x, R, N, NormDistMap1, NormDistMap2, CubeMap, DistanceMap, miniMaxi1, miniMaxi2, miniMaxi3, Il, Nl);
+	  if(Il.a == 0)
+	  {
+		   depth += 1;		 
+	  }
+	  else
+	  {
+		   I = Il;
+		   depth = MAX_RAY_DEPTH;
+	  }
+	  x = l;	   
+	  N = normalize(Nl);
+	  V = R;	   	   
+	}
+	
+	if(I.a == 0)
+	   I = readCubeMap(CubeMap, l);
+	Irefr = I;
+	    
+	I = Irefl * F + (1.0 - F) * Irefr;
+    }
+ 	return I;
+}
+
+float4 MultipleRefractionPhotonMap_PS(Shaded_OUT IN,
+									uniform samplerCUBE DistanceMap : register(s0),
+									uniform samplerCUBE NormDistMap1 : register(s1),
+									uniform samplerCUBE NormDistMap2 : register(s2),
+									uniform float3 cameraPos,
+									uniform float3 lastCenter,
+									uniform float refIndex,
+									uniform float4 min,
+									uniform float4 min1,
+									uniform float4 min2,
+									uniform float4 max,
+									uniform float4 max1,
+									uniform float4 max2) : COLOR0
+{
+	float2 miniMaxi1;
+    miniMaxi1.x = min.a;
+    miniMaxi1.y = max.a;
+   
+    float2 miniMaxi2;
+    miniMaxi2.x = min1.a;
+    miniMaxi2.y = max1.a;
+   
+    float2 miniMaxi3;
+    miniMaxi3.x = min2.a;
+    miniMaxi3.y = max2.a;
+
+	float4 I = float4(0,0,0,0);
+		 
+	float3 N = normalize(IN.wNormal.xyz);
+	float3 V  = (IN.wPos.xyz - cameraPos);
+	float3 x = IN.wPos.xyz - lastCenter;
+	V = normalize(V);
+	float3 l;
+	int depth = 0;
+	
+	while(depth < MAX_RAY_DEPTH)
+	{
+	  float3 R;  
+	  
+	  float ri = refIndex;
+	 
+	  if(dot(V,N) > 0)
+	  {
+		ri = 1.0 / ri;
+		N = -N;	    
+	  }
+	  R = refract( V, N, ri);
+	  if(dot(R,R) == 0) R = reflect( V, N); 
+					
+	  float3 Nl;
+	  float4 Il;
+	  l = Hit(x, R, N, NormDistMap1, NormDistMap2, DistanceMap, DistanceMap, miniMaxi1, miniMaxi2, miniMaxi3, Il, Nl);
+	  if(Il.a == 0)
+	  {
+		   depth += 1;		 
+	  }
+	  else
+	  {
+		   I = Il;
+		   depth = MAX_RAY_DEPTH;
+	  }
+	  x = l;	   
+	  N = normalize(Nl);
+	  V = R;	   	   
+	}
+	
+	return float4(l,1);
+}
Index: /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/multibounce/GTPMultipleReflection_MinMax.hlsl
===================================================================
--- /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/multibounce/GTPMultipleReflection_MinMax.hlsl	(revision 2054)
+++ /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/multibounce/GTPMultipleReflection_MinMax.hlsl	(revision 2095)
@@ -11,8 +11,10 @@
 }
 
-#define MAX_LIN_ITERATIONCOUNT 30  //80
-#define MIN_LIN_ITERATIONCOUNT 25  //60
+#define MAX_LIN_ITERATIONCOUNT 80  //80
+#define MIN_LIN_ITERATIONCOUNT 60  //60
 #define SECANT_ITERATIONCOUNT 1
-#define MAX_RAY_DEPTH 2
+#define MAX_RAY_DEPTH 4
+
+//#define METHOD1
 
 void linearSearch(  float3 x, float3 R, float3 N, samplerCUBE mp,
@@ -24,4 +26,8 @@
                     out float ppp)
 {
+ float3 Ra = abs(R), xa = abs(x);
+ float xm =  max(max(xa.x,xa.y),xa.z);
+ float Rm = max(max(Ra.x,Ra.y),Ra.z);
+ float a = xm / Rm;
  
  int shootL = 0, shootP = 0;          
@@ -29,13 +35,13 @@
  
  float min = minMax.x;
- float max = minMax.y;
- 
- float minT = 0;
- float maxT = 0;
+ float maximum = minMax.y;
+ 
+ float minD = 0;
+ float maxD = 0;
  {
   	float a = dot(R,R);
 	float b = 2 * dot(R, x);
 	float c = dot(x,x) - min * min; 
-	float c2 = dot(x,x) - max * max; 
+	float c2 = dot(x,x) - maximum * maximum; 
 	
 	float dis = b*b - 4*a*c;
@@ -51,39 +57,58 @@
 	{
 	 numvalids++;
-	 if(t1 > maxT)maxT = t1;
-	 if(t1 < minT || minT == 0)minT = t1;
+	 if(t1 > maxD)maxD = t1;
+	 if(t1 < minD || minD == 0)minD = t1;
 	}
 	if(t2 > 0)
 	{
 	 numvalids++;
-	 if(t2 > maxT)maxT = t2;
-	 if(t2 < minT || minT == 0)minT = t2;
+	 if(t2 > maxD)maxD = t2;
+	 if(t2 < minD || minD == 0)minD = t2;
 	}
 	if(t3 > 0)
 	{
 	 numvalids++;
-	 if(t3 > maxT)maxT = t3;
-	 if(t3 < minT || minT == 0)minT = t3;
+	 if(t3 > maxD)maxD = t3;
+	 if(t3 < minD || minD == 0)minD = t3;
 	}
 	if(t4 > 0)
 	{
 	 numvalids++;
-	 if(t4 > maxT)maxT = t4;
-	 if(t4 < minT || minT == 0)minT = t4;
+	 if(t4 > maxD)maxD = t4;
+	 if(t4 < minD || minD == 0)minD = t4;
 	}
 	
 	if(numvalids % 2 == 1)
-	 minT = 0.01;
+	 minD = 0.01;
 	if(numvalids == 0)
-	 minT = maxT + 1.0;	
+	 minD = maxD + 1.0;	
  }
  
+#ifdef METHOD1
  int iterationNeeded = MAX_LIN_ITERATIONCOUNT;// + (dot(normalize(x), R) + 1.0) / 2.0 * (MAX_LIN_ITERATIONCOUNT - MIN_LIN_ITERATIONCOUNT);
  float pa;
- float dt = (maxT - minT) / (float) iterationNeeded ;
- dp = minT;
+ float dD = (maxD - minD) / (float) iterationNeeded ;
+ dp = minD; 
+ 
  //Linear iteration
- while(dp <= maxT && !found)
+ while(dp <= maxD && !found)
  {
+	 
+#else
+ float dt =  length(x / xm - R / Rm) * MAX_LIN_ITERATIONCOUNT;
+ dt = max(dt, MIN_LIN_ITERATIONCOUNT);
+ dt = 1.0 / dt;
+ 
+ float minT = max(minD / (a + minD) - dt, dt);
+ float maxT = maxD / (a + maxD) + dt;
+ 
+ float t = minT;//dt;
+ float pa;
+ 
+ while(t <= maxT && !found)
+ {
+	 dp = a * t / (1 - t);
+#endif
+
    p = x + R * dp;
    pa = readDistanceCubeMap(mp, p);
@@ -107,6 +132,10 @@
    else
      shootL = 0;
-      
-   dp += dt;  
+ 
+ #ifdef METHOD1     
+   dp += dD; 
+ #else 
+   t += dt;
+ #endif
  }
 
@@ -214,5 +243,5 @@
 							uniform float4 min1,
 							uniform float4 min2,
-							uniform float4 max,
+							uniform float4 Max,
 							uniform float4 max1,
 							uniform float4 max2) : COLOR0
@@ -220,5 +249,5 @@
 	float2 miniMaxi1;
     miniMaxi1.x = min.a;
-    miniMaxi1.y = max.a;
+    miniMaxi1.y = Max.a;
    
     float2 miniMaxi2;
@@ -258,9 +287,8 @@
 	   x = l;	   
 	   N = Nl;
-	   V = R;   
-	   
+	   V = R;   	   
 	}
 	if(I.a == 0)
-	   I = readCubeMap(CubeMap, l);
+	  I = readCubeMap(CubeMap, l);
 	
 	return I;
@@ -275,9 +303,9 @@
 							uniform float3 lastCenter,
 							uniform float refIndex,
-							//uniform float sFresnel, //0.04 
+							uniform float sFresnel, //0.04 
 							uniform float4 min,
 							uniform float4 min1,
 							uniform float4 min2,
-							uniform float4 max,
+							uniform float4 Max,
 							uniform float4 max1,
 							uniform float4 max2) : COLOR0
@@ -285,5 +313,5 @@
 	float2 miniMaxi1;
     miniMaxi1.x = min.a;
-    miniMaxi1.y = max.a;
+    miniMaxi1.y = Max.a;
    
     float2 miniMaxi2;
@@ -295,58 +323,20 @@
     miniMaxi3.y = max2.a;
 
-	 float4 I = float4(0,0,0,0);
+	float4 I = float4(0,0,0,0);
 			
 	 float3 N = normalize(IN.wNormal.xyz);
 	 float3 x = IN.wPos.xyz - lastCenter;
 	 float3 V  = (IN.wPos.xyz - cameraPos);
+	  V = normalize(V);
 	 
-	 float sFresnel = 0.04;
-	 float F = sFresnel + pow(1 - dot(N, -V), 5) * (1 - sFresnel);
-	 
-	 V = normalize(V);
-	 float3 l;
-	 float4 Irefl;
+	 float F;
 	 int depth = 0;
-	
-	 while(depth < MAX_RAY_DEPTH)
-	 {
-	    float3 R;  
-	   R = normalize(reflect( V, N));	  
-	  	
-	   float3 Nl;
-	   float4 Il;
-	   l = Hit(x, R, N, NormDistMap1, NormDistMap2, CubeMap, DistanceMap, miniMaxi1, miniMaxi2, miniMaxi3, Il, Nl);
-	   if(Il.a == 0)
-	   {
-		   depth += 1;		 
-	   }
-	   else
-	   {
-		   I = Il;
-		   depth = MAX_RAY_DEPTH;
-	   }
-	   x = l;	   
-	   N = Nl;
-	   V = R;   
-	   
-	}
-	if(I.a == 0)
-	   I = readCubeMap(CubeMap, l);
-	Irefl = I;
-	
-	{
-	float4 Irefr;
-	N = normalize(IN.wNormal.xyz);
-	x = IN.wPos.xyz - lastCenter;
-	V  = (IN.wPos.xyz - cameraPos);
-	V = normalize(V);
-	depth = 0;
+	F = sFresnel + pow(1 - dot(N, -V), 5) * (1 - sFresnel);	 
 	
 	while(depth < MAX_RAY_DEPTH)
 	{
 	  float3 R;  
-	  
-	  float ri = refIndex;
-	 
+	  	 
+	  float ri = refIndex;	 
 	  if(dot(V,N) > 0)
 	  {
@@ -355,11 +345,12 @@
 	  }
 	  R = refract( V, N, ri);
-	  if(dot(R,R) == 0) R = reflect( V, N); 
-					
+	  if(dot(R,R) == 0) R = reflect( V, N);
+	  					
 	  float3 Nl;
 	  float4 Il;
-	  l = Hit(x, R, N, NormDistMap1, NormDistMap2, CubeMap, DistanceMap, miniMaxi1, miniMaxi2, miniMaxi3, Il, Nl);
+	  float3 l = Hit(x, R, N, NormDistMap1, NormDistMap2, CubeMap, DistanceMap, miniMaxi1, miniMaxi2, miniMaxi3, Il, Nl);
 	  if(Il.a == 0)
 	  {
+		  //I = readCubeMap(CubeMap, l);
 		   depth += 1;		 
 	  }
@@ -372,13 +363,9 @@
 	  N = normalize(Nl);
 	  V = R;	   	   
-	}
-	
-	if(I.a == 0)
-	   I = readCubeMap(CubeMap, l);
-	Irefr = I;
+	}  
 	    
-	I = Irefl * F + (1.0 - F) * Irefr;
-    }
- 	return I;
+	I *= (1.0 - F);	
+    
+	return I;
 }
 
Index: /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/difflab.material
===================================================================
--- /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/difflab.material	(revision 2054)
+++ /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/difflab.material	(revision 2095)
@@ -191,9 +191,5 @@
 					set_light_view true
 					set_light_farplane true
-				}
-				RenderTechnique CausticReciever
-				{
-					max_caster_count	3
-				}	
+				}				
 			}
 			
Index: /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/colorcube.material
===================================================================
--- /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/colorcube.material	(revision 2054)
+++ /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/colorcube.material	(revision 2095)
@@ -5,5 +5,5 @@
 		pass
 		{
-			//lighting off
+			lighting off
 			IllumTechniques
 			{
@@ -13,19 +13,20 @@
 					max_caster_count	10					
 				}				
-				RenderTechnique DepthShadowReciever
-				{
-				   max_light_count 1
-				   vertex_program_name GameTools/ShadowMap/ShadowDistVS
-				   fragment_program_name GameTools/ShadowMap/ShadowDistPS
-				   set_light_view true
-				   set_light_farplane true
-				}
+				//RenderTechnique DepthShadowReciever
+				//{
+				//   max_light_count 1
+				//   vertex_program_name GameTools/ShadowMap/ShadowDistVS
+				//   fragment_program_name GameTools/ShadowMap/ShadowDistPS
+				//   set_light_view true
+				//   set_light_farplane true
+				//}
 			}
 
 			texture_unit
 			{
-				texture roomc.PNG
-				tex_coord_set 0
-				colour_op modulate
+				texture roomcdark.PNG
+				//texture object_SE_0_PHOTONMAP
+				//tex_coord_set 0
+				//colour_op modulate
 			}
 		}
Index: /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/GameTools_DepthShadow.hlsl
===================================================================
--- /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/GameTools_DepthShadow.hlsl	(revision 2054)
+++ /GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/GameTools_DepthShadow.hlsl	(revision 2095)
@@ -129,5 +129,5 @@
 }
 
-/*
+
 float4 distShadowPS(VS_OUT_SHADOW IN,
 					uniform float4x4 lightViewProj,
@@ -174,6 +174,6 @@
 	
 	return shadow + (1 - shadow) * light;
-}*/
-
+}
+/*
 float4 distShadowPS(VS_OUT_SHADOW IN,
 					uniform float4x4 lightViewProj,
@@ -212,5 +212,5 @@
 	return shadow + (1 - shadow) * light;
 }
-
+*/
 /*
 float4 depthShadowPS(VS_OUT_SHADOW IN,
Index: /GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/include/ReflectionTest.h
===================================================================
--- /GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/include/ReflectionTest.h	(revision 2057)
+++ /GTP/trunk/App/Demos/Illum/Ogre/src/ReflectionTest/include/ReflectionTest.h	(revision 2095)
@@ -36,8 +36,9 @@
 bool multiplebounce = true;
 
-int currentMaterial = 6;
-int currentObject = 0;
+int currentMaterial = 2;
+int currentObject = 2;
 String objectNames[] = {String("sphere.mesh"),
-                        String("teapot.mesh")};
+                        String("teapot.mesh"),
+						String("buddha.mesh")};
 
 String materialNames[] = {String("GTP/MultiBounce/Reflector"),
@@ -46,6 +47,5 @@
 							String("GTP/MultiBounce/Reflector_MinMax"),
 							String("GTP/MultiBounce/Refractor_MinMax"),
-							String("GTP/MultiBounce/CausticRefractor_MinMax"),
-							String("GTP/MultiBounce/Refractor2L")};
+							String("GTP/MultiBounce/CausticRefractor_MinMax")};
                         
 String resourceGroupName[] = {	String("GTP_MultipleReflection"),
@@ -54,6 +54,5 @@
 								String("GTP_MultipleReflection_MinMax"),
 								String("GTP_MultipleRefraction_MinMax"),
-								String("GTP_MultipleRefraction_MinMax"),
-								String("GTP_MultipleRefraction2L")};
+								String("GTP_MultipleRefraction_MinMax")};
 
 // Listener class for frame updates
@@ -106,25 +105,36 @@
 
 		if (mInputDevice->isKeyDown(KC_J))
-        {
-			MaterialPtr mat1 = MaterialManager::getSingleton().getByName("GTP/MultiBounce/Refractor2L");
-			GpuProgramParameters* Fparams1 = mat1->getTechnique(0)->getPass(0)->getFragmentProgramParameters().getPointer();
-			MaterialPtr mat2 = MaterialManager::getSingleton().getByName("GTP/MultiBounce/PhotonMap2L");
-			GpuProgramParameters* Fparams2 = mat2->getTechnique(0)->getPass(0)->getFragmentProgramParameters().getPointer();
+        {			
+			refIndex -= 0.001;
+
+			MaterialPtr mat1 = MaterialManager::getSingleton().getByName(materialNames[currentMaterial]);
+			if(!mat1.isNull())
+			{
+			  GpuProgramParameters* Fparams1 = mat1->getTechnique(0)->getPass(0)->getFragmentProgramParameters().getPointer();
+			  Fparams1->setNamedConstant("refIndex", refIndex);
+			}
+			MaterialPtr mat2 = MaterialManager::getSingleton().getByName("GTP/MultiBounce/PhotonMap");
+			if(!mat2.isNull())
+			{
+			  GpuProgramParameters* Fparams2 = mat2->getTechnique(0)->getPass(0)->getFragmentProgramParameters().getPointer();
+			  Fparams2->setNamedConstant("refIndex", refIndex);
+			}
+        }
+		if (mInputDevice->isKeyDown(KC_K))
+        {
+			refIndex += 0.001;
 			
-			refIndex -= 0.001;
-
-			Fparams1->setNamedConstant("refIndex", refIndex);
-			Fparams2->setNamedConstant("refIndex", refIndex);
-        }
-		if (mInputDevice->isKeyDown(KC_K))
-        {
-			MaterialPtr mat1 = MaterialManager::getSingleton().getByName("GTP/MultiBounce/Refractor2L");
-			GpuProgramParameters* Fparams1 = mat1->getTechnique(0)->getPass(0)->getFragmentProgramParameters().getPointer();
-			MaterialPtr mat2 = MaterialManager::getSingleton().getByName("GTP/MultiBounce/PhotonMap2L");
-			GpuProgramParameters* Fparams2 = mat2->getTechnique(0)->getPass(0)->getFragmentProgramParameters().getPointer();
-			
-			refIndex += 0.001;
-			Fparams1->setNamedConstant("refIndex", refIndex);
-			Fparams2->setNamedConstant("refIndex", refIndex);
+			MaterialPtr mat1 = MaterialManager::getSingleton().getByName(materialNames[currentMaterial]);
+			if(!mat1.isNull())
+			{
+			  GpuProgramParameters* Fparams1 = mat1->getTechnique(0)->getPass(0)->getFragmentProgramParameters().getPointer();
+			  Fparams1->setNamedConstant("refIndex", refIndex);
+			}
+			MaterialPtr mat2 = MaterialManager::getSingleton().getByName("GTP/MultiBounce/PhotonMap");
+			if(!mat2.isNull())
+			{
+			  GpuProgramParameters* Fparams2 = mat2->getTechnique(0)->getPass(0)->getFragmentProgramParameters().getPointer();
+			  Fparams2->setNamedConstant("refIndex", refIndex);
+			}
         }
 
@@ -220,21 +230,5 @@
 			capture->playEvent();
             mTimeUntilNextToggle = 1;
-        }
-		if (mInputDevice->isKeyDown(KC_V) && mTimeUntilNextToggle <= 0)
-        {
-			multiplebounce = ! multiplebounce;
-			if(multiplebounce)
-			{
-				MaterialPtr mat = MaterialManager::getSingleton().getByName("MetalTeapotMultipleBounce");
-				mat->getTechnique(0)->getPass(0)->getFragmentProgramParameters()->setNamedConstant("SingleBounce", 0.0f);
-			}
-			else
-			{
-				MaterialPtr mat = MaterialManager::getSingleton().getByName("MetalTeapotMultipleBounce");
-				mat->getTechnique(0)->getPass(0)->getFragmentProgramParameters()->setNamedConstant("SingleBounce", 1.0f);
-			}
-
-            mTimeUntilNextToggle = 1;
-        }
+        }	
 
         if( mInputDevice->isKeyDown( KC_ESCAPE) )
@@ -338,7 +332,7 @@
 		ResourceGroupManager::getSingleton().initialiseResourceGroup(resourceGroupName[currentMaterial]);
 		if(currentMaterial == 2)
-			ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_MultiBounce_PhotonMap");
+			ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_MultipleCausticRefraction");
 		if(currentMaterial == 5)
-			ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_MultiBounce_PhotonMap_MinMax");
+			ResourceGroupManager::getSingleton().initialiseResourceGroup("GTP_MultipleCausticRefraction_MinMax");
 	}
 
@@ -478,7 +472,7 @@
 		//mCamera->getParentSceneNode()->translate(Vector3(6.564,4.328,0.059));
 		//mCamera->setPosition(4.0,4.2,-3.5);
-		mCamera->getParentSceneNode()->translate(7.0,2.6,-0.5);
-		//mCamera->setPosition(7.0,2.6,-0.5);
-		//mCamera->lookAt(Vector3(1.0, 0.0,0.6));
+		//mCamera->getParentSceneNode()->translate(7.0,2.6,-0.5);
+		mCamera->setPosition(7.0,2.6,-0.5);
+		mCamera->lookAt(Vector3(1.0, 0.0,0.6));
 		Entity* object;
 		
@@ -520,10 +514,10 @@
 		Light1->setSpotlightRange(Degree(0),Degree(120));
 		LightNode1->attachObject(Light1);
-
+/*
 		BillboardSet* bbs = mSceneMgr->createBillboardSet("bb", 1);
 		bbs->setDefaultDimensions(0.2, 0.2);
 		bbs->createBillboard(Vector3::ZERO, ColourValue::White);
 		bbs->setMaterialName("Flare");
-		LightNode1->attachObject(bbs);
+		LightNode1->attachObject(bbs);*/
    }
 
Index: /GTP/trunk/App/Demos/Illum/Ogre/bin/Release/resources.cfg
===================================================================
--- /GTP/trunk/App/Demos/Illum/Ogre/bin/Release/resources.cfg	(revision 2058)
+++ /GTP/trunk/App/Demos/Illum/Ogre/bin/Release/resources.cfg	(revision 2095)
@@ -44,7 +44,14 @@
 [GTP_MultipleRefraction]
 FileSystem=../../Media/materials/GTPAdvancedEnvMap/multibounce/multipleRefraction
-[GTP_MultipleRefraction2L]
-FileSystem=../../Media/materials/GTPAdvancedEnvMap/multibounce/multipleRefraction2L
+
+[GTP_MultipleCausticRefraction]
+FileSystem=../../Media/materials/GTPAdvancedEnvMap/multibounce/multipleCausticRefraction
 
 [GTP_MultipleReflection_MinMax]
 FileSystem=../../Media/materials/GTPAdvancedEnvMap/multibounce/multipleReflectionMinMax
+
+[GTP_MultipleRefraction_MinMax]
+FileSystem=../../Media/materials/GTPAdvancedEnvMap/multibounce/multipleRefractionMinMax
+
+[GTP_MultipleCausticRefraction_MinMax]
+FileSystem=../../Media/materials/GTPAdvancedEnvMap/multibounce/multipleCausticRefractionMinMax
Index: /GTP/trunk/App/Demos/Illum/Ogre/bin/Release/ogre.cfg
===================================================================
--- /GTP/trunk/App/Demos/Illum/Ogre/bin/Release/ogre.cfg	(revision 2058)
+++ /GTP/trunk/App/Demos/Illum/Ogre/bin/Release/ogre.cfg	(revision 2095)
@@ -3,8 +3,8 @@
 [Direct3D9 Rendering Subsystem]
 Allow NVPerfHUD=No
-Anti aliasing=None
+Anti aliasing=Level 8
 Floating-point mode=Fastest
 Full Screen=No
-Rendering Device=NVIDIA GeForce 6800 GT
+Rendering Device=NVIDIA GeForce 8800 GTX
 VSync=No
 Video Mode=800 x 600 @ 32-bit colour
Index: /GTP/trunk/App/Demos/Illum/Ogre/bin/Release/Ogre.log
===================================================================
--- /GTP/trunk/App/Demos/Illum/Ogre/bin/Release/Ogre.log	(revision 2058)
+++ /GTP/trunk/App/Demos/Illum/Ogre/bin/Release/Ogre.log	(revision 2095)
@@ -1,160 +1,165 @@
-21:38:31: Creating resource group General
-21:38:31: Creating resource group Internal
-21:38:31: Creating resource group Autodetect
-21:38:31: Registering ResourceManager for type Material
-21:38:31: Registering ResourceManager for type Mesh
-21:38:31: Registering ResourceManager for type Skeleton
-21:38:31: MovableObjectFactory for type 'ParticleSystem' registered.
-21:38:31: Loading library OgrePlatform.dll
-21:38:31: OverlayElementFactory for type Panel registered.
-21:38:31: OverlayElementFactory for type BorderPanel registered.
-21:38:31: OverlayElementFactory for type TextArea registered.
-21:38:31: Registering ResourceManager for type Font
-21:38:31: ArchiveFactory for archive type FileSystem registered.
-21:38:31: ArchiveFactory for archive type Zip registered.
-21:38:31: DevIL version: Developer's Image Library (DevIL) 1.6.7 Oct 28 2005
-21:38:31: DevIL image formats: bmp dib cut dcx dds gif hdr ico cur jpg jpe jpeg lif mdl mng jng pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bw rgb rgba tga vda icb vst tif tiff wal xpm raw 
-21:38:31: Registering ResourceManager for type HighLevelGpuProgram
-21:38:31: Registering ResourceManager for type Compositor
-21:38:31: MovableObjectFactory for type 'Entity' registered.
-21:38:31: MovableObjectFactory for type 'Light' registered.
-21:38:31: MovableObjectFactory for type 'BillboardSet' registered.
-21:38:31: MovableObjectFactory for type 'ManualObject' registered.
-21:38:31: MovableObjectFactory for type 'BillboardChain' registered.
-21:38:31: MovableObjectFactory for type 'RibbonTrail' registered.
-21:38:31: Loading library .\RenderSystem_Direct3D9
-21:38:31: D3D9 : Direct3D9 Rendering Subsystem created.
-21:38:31: D3D9: Driver Detection Starts
-21:38:31: D3D9: Driver Detection Ends
-21:38:31: Loading library .\Plugin_ParticleFX
-21:38:31: Particle Emitter Type 'Point' registered
-21:38:31: Particle Emitter Type 'Box' registered
-21:38:31: Particle Emitter Type 'Ellipsoid' registered
-21:38:31: Particle Emitter Type 'Cylinder' registered
-21:38:31: Particle Emitter Type 'Ring' registered
-21:38:31: Particle Emitter Type 'HollowEllipsoid' registered
-21:38:31: Particle Affector Type 'LinearForce' registered
-21:38:31: Particle Affector Type 'ColourFader' registered
-21:38:31: Particle Affector Type 'ColourFader2' registered
-21:38:31: Particle Affector Type 'ColourImage' registered
-21:38:31: Particle Affector Type 'ColourInterpolator' registered
-21:38:31: Particle Affector Type 'Scaler' registered
-21:38:31: Particle Affector Type 'Rotator' registered
-21:38:31: Particle Affector Type 'DirectionRandomiser' registered
-21:38:31: Particle Affector Type 'DeflectorPlane' registered
-21:38:31: Loading library .\Plugin_BSPSceneManager
-21:38:31: Registering ResourceManager for type BspLevel
-21:38:31: Loading library .\Plugin_OctreeSceneManager
-21:38:31: Loading library .\Plugin_CgProgramManager
-21:38:31: *-*-* OGRE Initialising
-21:38:31: *-*-* Version 1.2.0 (Dagon)
-21:38:31: Creating resource group Bootstrap
-21:38:31: Added resource location '../../Media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
-21:38:31: Creating resource group GTP_Basic
-21:38:31: Added resource location '../../Media/materials/GTPBasic' of type 'FileSystem' to resource group 'GTP_Basic'
-21:38:31: Creating resource group GTP_Caustic
-21:38:31: Added resource location '../../Media/materials/GTPCaustic' of type 'FileSystem' to resource group 'GTP_Caustic'
-21:38:31: Creating resource group GTP_Diffuse
-21:38:31: Added resource location '../../Media/materials/GTPAdvancedEnvMap/diffuse' of type 'FileSystem' to resource group 'GTP_Diffuse'
-21:38:31: Creating resource group GTP_EnvMap
-21:38:31: Added resource location '../../Media/materials/GTPEnvMap' of type 'FileSystem' to resource group 'GTP_EnvMap'
-21:38:31: Creating resource group GTP_MultiBounce_Shared
-21:38:31: Added resource location '../../Media/materials/GTPAdvancedEnvMap/multibounce' of type 'FileSystem' to resource group 'GTP_MultiBounce_Shared'
-21:38:31: Creating resource group GTP_MultipleReflection
-21:38:31: Added resource location '../../Media/materials/GTPAdvancedEnvMap/multibounce/multipleReflection' of type 'FileSystem' to resource group 'GTP_MultipleReflection'
-21:38:31: Creating resource group GTP_MultipleReflection_MinMax
-21:38:31: Added resource location '../../Media/materials/GTPAdvancedEnvMap/multibounce/multipleReflectionMinMax' of type 'FileSystem' to resource group 'GTP_MultipleReflection_MinMax'
-21:38:31: Creating resource group GTP_MultipleRefraction
-21:38:31: Added resource location '../../Media/materials/GTPAdvancedEnvMap/multibounce/multipleRefraction' of type 'FileSystem' to resource group 'GTP_MultipleRefraction'
-21:38:31: Creating resource group GTP_MultipleRefraction2L
-21:38:31: Added resource location '../../Media/materials/GTPAdvancedEnvMap/multibounce/multipleRefraction2L' of type 'FileSystem' to resource group 'GTP_MultipleRefraction2L'
-21:38:31: Creating resource group GTP_Particles
-21:38:31: Added resource location '../../Media/materials/GTPParticles' of type 'FileSystem' to resource group 'GTP_Particles'
-21:38:31: Added resource location '../../Media' of type 'FileSystem' to resource group 'General'
-21:38:31: Added resource location '../../Media/fonts' of type 'FileSystem' to resource group 'General'
-21:38:31: Added resource location '../../Media/materials/programs' of type 'FileSystem' to resource group 'General'
-21:38:31: Added resource location '../../Media/materials/scripts' of type 'FileSystem' to resource group 'General'
-21:38:31: Added resource location '../../Media/materials/textures' of type 'FileSystem' to resource group 'General'
-21:38:31: Added resource location '../../Media/models' of type 'FileSystem' to resource group 'General'
-21:38:31: Added resource location '../../Media/overlays' of type 'FileSystem' to resource group 'General'
-21:38:31: Added resource location '../../Media/particle' of type 'FileSystem' to resource group 'General'
-21:38:31: Added resource location '../../Media/gui' of type 'FileSystem' to resource group 'General'
-21:38:31: Added resource location '../../Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
-21:38:31: Added resource location '../../Media/packs/smokealphaclip.zip' of type 'Zip' to resource group 'General'
-21:38:31: Creating resource group PostProc
-21:38:31: Added resource location '../../Media/materials/GTPPostProc' of type 'FileSystem' to resource group 'PostProc'
-21:38:31: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
-21:38:31: D3D9 : RenderSystem Option: Anti aliasing = None
-21:38:31: D3D9 : RenderSystem Option: Floating-point mode = Fastest
-21:38:31: D3D9 : RenderSystem Option: Full Screen = No
-21:38:31: D3D9 : RenderSystem Option: Rendering Device = NVIDIA GeForce 6800 GT
-21:38:31: D3D9 : RenderSystem Option: VSync = No
-21:38:31: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
-21:38:32: D3D9 : Subsystem Initialising
-21:38:32: D3D9RenderSystem::createRenderWindow "OGRE Render Window", 800x600 windowed  miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 useNVPerfHUD=false vsync=false 
-21:38:32: D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 800x600, 32bpp
-21:38:32: D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
-21:38:32: Registering ResourceManager for type Texture
-21:38:32: Registering ResourceManager for type GpuProgram
-21:38:32: RenderSystem capabilities
-21:38:32: -------------------------
-21:38:32:  * Hardware generation of mipmaps: yes
-21:38:32:  * Texture blending: yes
-21:38:32:  * Anisotropic texture filtering: yes
-21:38:32:  * Dot product texture operation: yes
-21:38:32:  * Cube mapping: yes
-21:38:32:  * Hardware stencil buffer: yes
-21:38:32:    - Stencil depth: 8
-21:38:32:    - Two sided stencil support: yes
-21:38:32:    - Wrap stencil values: yes
-21:38:32:  * Hardware vertex / index buffers: yes
-21:38:32:  * Vertex programs: yes
-21:38:32:    - Max vertex program version: vs_3_0
-21:38:32:  * Fragment programs: yes
-21:38:32:    - Max fragment program version: ps_3_0
-21:38:32:  * Texture Compression: yes
-21:38:32:    - DXT: yes
-21:38:32:    - VTC: no
-21:38:32:  * Scissor Rectangle: yes
-21:38:32:  * Hardware Occlusion Query: yes
-21:38:32:  * User clip planes: yes
-21:38:32:  * VET_UBYTE4 vertex element type: yes
-21:38:32:  * Infinite far plane projection: yes
-21:38:32:  * Hardware render-to-texture: yes
-21:38:32:  * Floating point textures: yes
-21:38:32:  * Non-power-of-two textures: yes
-21:38:32:  * Volume textures: yes
-21:38:32:  * Multiple Render Targets: 4
-21:38:32:  * Max Point Size: 8192
-21:38:32: ***************************************
-21:38:32: *** D3D9 : Subsystem Initialised OK ***
-21:38:32: ***************************************
-21:38:32: ResourceBackgroundQueue - threading disabled
-21:38:32: Particle Renderer Type 'billboard' registered
-21:38:32: Particle Renderer Type 'sprite' registered
-21:38:32: Creating viewport on target 'OGRE Render Window', rendering from camera 'PlayerCam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:32: Viewport for camera 'PlayerCam', actual dimensions L: 0 T: 0 W: 800 H: 600
-21:38:32: Initialising resource group Bootstrap
-21:38:32: Parsing scripts for resource group Bootstrap
-21:38:32: Parsing script OgreCore.material
-21:38:32: Parsing script OgreProfiler.material
-21:38:32: Parsing script Ogre.fontdef
-21:38:32: Parsing script OgreDebugPanel.overlay
-21:38:32: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
-21:38:32: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8B8G8R8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
-21:38:32: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
-21:38:32: Font TrebuchetMSBoldusing texture size 512x512
-21:38:32: Info: Freetype returned null for character 160 in font TrebuchetMSBold
-21:38:32: Texture: TrebuchetMSBoldTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
-21:38:32: Texture: ogretext.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
-21:38:32: Parsing script OgreLoadingPanel.overlay
-21:38:32: Finished parsing scripts for resource group Bootstrap
-21:38:32: Initialising resource group General
-21:38:32: Parsing scripts for resource group General
-21:38:32: Parsing script GameTools.program
-21:38:32: Parsing script atlascube.material
-21:38:32: Parsing script colorcube.material
-21:38:32: Parsing script difflab.material
-21:38:32: An exception has been thrown!
+17:32:09: Creating resource group General
+17:32:09: Creating resource group Internal
+17:32:09: Creating resource group Autodetect
+17:32:09: Registering ResourceManager for type Material
+17:32:09: Registering ResourceManager for type Mesh
+17:32:09: Registering ResourceManager for type Skeleton
+17:32:09: MovableObjectFactory for type 'ParticleSystem' registered.
+17:32:09: Loading library OgrePlatform.dll
+17:32:09: OverlayElementFactory for type Panel registered.
+17:32:09: OverlayElementFactory for type BorderPanel registered.
+17:32:09: OverlayElementFactory for type TextArea registered.
+17:32:09: Registering ResourceManager for type Font
+17:32:09: ArchiveFactory for archive type FileSystem registered.
+17:32:09: ArchiveFactory for archive type Zip registered.
+17:32:09: DevIL version: Developer's Image Library (DevIL) 1.6.7 Oct 28 2005
+17:32:09: DevIL image formats: bmp dib cut dcx dds gif hdr ico cur jpg jpe jpeg lif mdl mng jng pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bw rgb rgba tga vda icb vst tif tiff wal xpm raw 
+17:32:09: Registering ResourceManager for type HighLevelGpuProgram
+17:32:09: Registering ResourceManager for type Compositor
+17:32:09: MovableObjectFactory for type 'Entity' registered.
+17:32:09: MovableObjectFactory for type 'Light' registered.
+17:32:09: MovableObjectFactory for type 'BillboardSet' registered.
+17:32:09: MovableObjectFactory for type 'ManualObject' registered.
+17:32:09: MovableObjectFactory for type 'BillboardChain' registered.
+17:32:09: MovableObjectFactory for type 'RibbonTrail' registered.
+17:32:09: Loading library .\RenderSystem_Direct3D9
+17:32:09: D3D9 : Direct3D9 Rendering Subsystem created.
+17:32:09: D3D9: Driver Detection Starts
+17:32:09: D3D9: Driver Detection Ends
+17:32:09: Loading library .\Plugin_ParticleFX
+17:32:09: Particle Emitter Type 'Point' registered
+17:32:09: Particle Emitter Type 'Box' registered
+17:32:09: Particle Emitter Type 'Ellipsoid' registered
+17:32:09: Particle Emitter Type 'Cylinder' registered
+17:32:09: Particle Emitter Type 'Ring' registered
+17:32:09: Particle Emitter Type 'HollowEllipsoid' registered
+17:32:09: Particle Affector Type 'LinearForce' registered
+17:32:09: Particle Affector Type 'ColourFader' registered
+17:32:09: Particle Affector Type 'ColourFader2' registered
+17:32:09: Particle Affector Type 'ColourImage' registered
+17:32:09: Particle Affector Type 'ColourInterpolator' registered
+17:32:09: Particle Affector Type 'Scaler' registered
+17:32:09: Particle Affector Type 'Rotator' registered
+17:32:09: Particle Affector Type 'DirectionRandomiser' registered
+17:32:09: Particle Affector Type 'DeflectorPlane' registered
+17:32:09: Loading library .\Plugin_BSPSceneManager
+17:32:09: Registering ResourceManager for type BspLevel
+17:32:09: Loading library .\Plugin_OctreeSceneManager
+17:32:09: Loading library .\Plugin_CgProgramManager
+17:32:09: *-*-* OGRE Initialising
+17:32:09: *-*-* Version 1.2.0 (Dagon)
+17:32:09: Creating resource group Bootstrap
+17:32:09: Added resource location '../../Media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
+17:32:09: Creating resource group GTP_Basic
+17:32:09: Added resource location '../../Media/materials/GTPBasic' of type 'FileSystem' to resource group 'GTP_Basic'
+17:32:09: Creating resource group GTP_Caustic
+17:32:09: Added resource location '../../Media/materials/GTPCaustic' of type 'FileSystem' to resource group 'GTP_Caustic'
+17:32:09: Creating resource group GTP_Diffuse
+17:32:09: Added resource location '../../Media/materials/GTPAdvancedEnvMap/diffuse' of type 'FileSystem' to resource group 'GTP_Diffuse'
+17:32:09: Creating resource group GTP_EnvMap
+17:32:09: Added resource location '../../Media/materials/GTPEnvMap' of type 'FileSystem' to resource group 'GTP_EnvMap'
+17:32:09: Creating resource group GTP_MultiBounce_Shared
+17:32:09: Added resource location '../../Media/materials/GTPAdvancedEnvMap/multibounce' of type 'FileSystem' to resource group 'GTP_MultiBounce_Shared'
+17:32:09: Creating resource group GTP_MultipleCausticRefraction
+17:32:09: Added resource location '../../Media/materials/GTPAdvancedEnvMap/multibounce/multipleCausticRefraction' of type 'FileSystem' to resource group 'GTP_MultipleCausticRefraction'
+17:32:09: Creating resource group GTP_MultipleCausticRefraction_MinMax
+17:32:09: Added resource location '../../Media/materials/GTPAdvancedEnvMap/multibounce/multipleCausticRefractionMinMax' of type 'FileSystem' to resource group 'GTP_MultipleCausticRefraction_MinMax'
+17:32:09: Creating resource group GTP_MultipleReflection
+17:32:09: Added resource location '../../Media/materials/GTPAdvancedEnvMap/multibounce/multipleReflection' of type 'FileSystem' to resource group 'GTP_MultipleReflection'
+17:32:09: Creating resource group GTP_MultipleReflection_MinMax
+17:32:09: Added resource location '../../Media/materials/GTPAdvancedEnvMap/multibounce/multipleReflectionMinMax' of type 'FileSystem' to resource group 'GTP_MultipleReflection_MinMax'
+17:32:09: Creating resource group GTP_MultipleRefraction
+17:32:09: Added resource location '../../Media/materials/GTPAdvancedEnvMap/multibounce/multipleRefraction' of type 'FileSystem' to resource group 'GTP_MultipleRefraction'
+17:32:09: Creating resource group GTP_MultipleRefraction_MinMax
+17:32:09: Added resource location '../../Media/materials/GTPAdvancedEnvMap/multibounce/multipleRefractionMinMax' of type 'FileSystem' to resource group 'GTP_MultipleRefraction_MinMax'
+17:32:09: Creating resource group GTP_Particles
+17:32:09: Added resource location '../../Media/materials/GTPParticles' of type 'FileSystem' to resource group 'GTP_Particles'
+17:32:09: Added resource location '../../Media' of type 'FileSystem' to resource group 'General'
+17:32:09: Added resource location '../../Media/fonts' of type 'FileSystem' to resource group 'General'
+17:32:09: Added resource location '../../Media/materials/programs' of type 'FileSystem' to resource group 'General'
+17:32:09: Added resource location '../../Media/materials/scripts' of type 'FileSystem' to resource group 'General'
+17:32:09: Added resource location '../../Media/materials/textures' of type 'FileSystem' to resource group 'General'
+17:32:09: Added resource location '../../Media/models' of type 'FileSystem' to resource group 'General'
+17:32:09: Added resource location '../../Media/overlays' of type 'FileSystem' to resource group 'General'
+17:32:09: Added resource location '../../Media/particle' of type 'FileSystem' to resource group 'General'
+17:32:09: Added resource location '../../Media/gui' of type 'FileSystem' to resource group 'General'
+17:32:09: Added resource location '../../Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
+17:32:09: Added resource location '../../Media/packs/smokealphaclip.zip' of type 'Zip' to resource group 'General'
+17:32:09: Creating resource group PostProc
+17:32:09: Added resource location '../../Media/materials/GTPPostProc' of type 'FileSystem' to resource group 'PostProc'
+17:32:09: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
+17:32:09: D3D9 : RenderSystem Option: Anti aliasing = Level 8
+17:32:09: D3D9 : RenderSystem Option: Floating-point mode = Fastest
+17:32:09: D3D9 : RenderSystem Option: Full Screen = No
+17:32:09: D3D9 : RenderSystem Option: Rendering Device = NVIDIA GeForce 8800 GTX
+17:32:09: D3D9 : RenderSystem Option: VSync = No
+17:32:09: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
+17:32:11: D3D9 : Subsystem Initialising
+17:32:11: D3D9RenderSystem::createRenderWindow "OGRE Render Window", 800x600 windowed  miscParams: FSAA=8 FSAAQuality=0 colourDepth=32 useNVPerfHUD=false vsync=false 
+17:32:11: D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 800x600, 32bpp
+17:32:11: D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
+17:32:11: Registering ResourceManager for type Texture
+17:32:11: Registering ResourceManager for type GpuProgram
+17:32:11: Multiple render targets with independent bit depths supported
+17:32:11: RenderSystem capabilities
+17:32:11: -------------------------
+17:32:11:  * Hardware generation of mipmaps: yes
+17:32:11:  * Texture blending: yes
+17:32:11:  * Anisotropic texture filtering: yes
+17:32:11:  * Dot product texture operation: yes
+17:32:11:  * Cube mapping: yes
+17:32:11:  * Hardware stencil buffer: yes
+17:32:11:    - Stencil depth: 8
+17:32:11:    - Two sided stencil support: yes
+17:32:11:    - Wrap stencil values: yes
+17:32:11:  * Hardware vertex / index buffers: yes
+17:32:11:  * Vertex programs: yes
+17:32:11:    - Max vertex program version: vs_3_0
+17:32:11:  * Fragment programs: yes
+17:32:11:    - Max fragment program version: ps_3_0
+17:32:11:  * Texture Compression: yes
+17:32:11:    - DXT: yes
+17:32:11:    - VTC: no
+17:32:11:  * Scissor Rectangle: yes
+17:32:11:  * Hardware Occlusion Query: yes
+17:32:11:  * User clip planes: yes
+17:32:11:  * VET_UBYTE4 vertex element type: yes
+17:32:11:  * Infinite far plane projection: yes
+17:32:11:  * Hardware render-to-texture: yes
+17:32:11:  * Floating point textures: yes
+17:32:11:  * Non-power-of-two textures: yes
+17:32:11:  * Volume textures: yes
+17:32:11:  * Multiple Render Targets: 4
+17:32:11:  * Max Point Size: 8192
+17:32:11: ***************************************
+17:32:11: *** D3D9 : Subsystem Initialised OK ***
+17:32:11: ***************************************
+17:32:11: ResourceBackgroundQueue - threading disabled
+17:32:11: Particle Renderer Type 'billboard' registered
+17:32:11: Particle Renderer Type 'sprite' registered
+17:32:11: Creating viewport on target 'OGRE Render Window', rendering from camera 'PlayerCam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:32:11: Viewport for camera 'PlayerCam', actual dimensions L: 0 T: 0 W: 800 H: 600
+17:32:11: Initialising resource group Bootstrap
+17:32:11: Parsing scripts for resource group Bootstrap
+17:32:11: Parsing script OgreCore.material
+17:32:11: Parsing script OgreProfiler.material
+17:32:11: Parsing script Ogre.fontdef
+17:32:11: Parsing script OgreDebugPanel.overlay
+17:32:11: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
+17:32:11: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8B8G8R8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
+17:32:11: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
+17:32:11: Font TrebuchetMSBoldusing texture size 512x512
+17:32:11: Info: Freetype returned null for character 160 in font TrebuchetMSBold
+17:32:11: Texture: TrebuchetMSBoldTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
+17:32:11: Texture: ogretext.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
+17:32:11: Parsing script OgreLoadingPanel.overlay
+17:32:11: Finished parsing scripts for resource group Bootstrap
+17:32:11: Initialising resource group General
+17:32:11: Parsing scripts for resource group General
+17:32:11: Parsing script GameTools.program
+17:32:11: Parsing script atlascube.material
+17:32:11: Parsing script colorcube.material
+17:32:11: Parsing script difflab.material
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -167,5 +172,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 33 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 33 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -178,5 +183,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -189,5 +194,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 38 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 38 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -200,5 +205,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -211,5 +216,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 39 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 39 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -222,5 +227,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -233,5 +238,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 40 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 40 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -244,5 +249,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -255,5 +260,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 41 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 41 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -266,5 +271,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -277,5 +282,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 42 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 42 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -288,5 +293,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -299,5 +304,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 47 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 47 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -310,5 +315,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -321,5 +326,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 48 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 48 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -332,5 +337,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -343,5 +348,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 49 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 49 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -354,5 +359,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -365,5 +370,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 50 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 50 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -376,5 +381,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -387,5 +392,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 51 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 51 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -398,5 +403,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -409,5 +414,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 56 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 56 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -420,5 +425,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -431,5 +436,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 57 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 57 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -442,5 +447,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -453,5 +458,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 58 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 58 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -464,5 +469,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -475,5 +480,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 59 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 59 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -486,5 +491,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -497,5 +502,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 60 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 60 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -508,5 +513,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -519,5 +524,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 65 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 65 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -530,5 +535,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -541,5 +546,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 66 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 66 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -552,5 +557,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -563,5 +568,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 67 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 67 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -574,5 +579,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -585,5 +590,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 68 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 68 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -596,5 +601,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -607,5 +612,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material Difflab/TexturedPhong at line 69 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Difflab/TexturedPhong at line 69 of difflab.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -618,6 +623,6 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Parsing script diffscene.material
-21:38:32: An exception has been thrown!
+17:32:11: Parsing script diffscene.material
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -630,5 +635,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material GameTools/Phong at line 36 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material GameTools/Phong at line 36 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -641,5 +646,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -652,5 +657,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material GameTools/Phong at line 37 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material GameTools/Phong at line 37 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -663,5 +668,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -674,5 +679,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material GameTools/Phong at line 38 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material GameTools/Phong at line 38 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -685,5 +690,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -696,5 +701,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material GameTools/Phong at line 39 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material GameTools/Phong at line 39 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -707,5 +712,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -718,5 +723,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material GameTools/Phong at line 45 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material GameTools/Phong at line 45 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -729,5 +734,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -740,5 +745,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material GameTools/Phong at line 46 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material GameTools/Phong at line 46 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -751,5 +756,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -762,5 +767,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material GameTools/Phong at line 47 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material GameTools/Phong at line 47 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -773,5 +778,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -784,5 +789,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material GameTools/Phong at line 48 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material GameTools/Phong at line 48 of diffscene.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -795,8 +800,8 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material asztallap at line 73 of diffscene.material: Invalid param_named attribute - unrecognised parameter type 0.560857
-21:38:32: Error in material asztallap at line 74 of diffscene.material: Invalid param_named attribute - unrecognised parameter type 0.560857
-21:38:32: Parsing script EnvMetals.material
-21:38:32: An exception has been thrown!
+17:32:11: Error in material asztallap at line 73 of diffscene.material: Invalid param_named attribute - unrecognised parameter type 0.560857
+17:32:11: Error in material asztallap at line 74 of diffscene.material: Invalid param_named attribute - unrecognised parameter type 0.560857
+17:32:11: Parsing script EnvMetals.material
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -809,5 +814,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material EnvMetals/Copper at line 37 of EnvMetals.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material EnvMetals/Copper at line 37 of EnvMetals.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -820,5 +825,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -831,5 +836,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material EnvMetals/Gold at line 97 of EnvMetals.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material EnvMetals/Gold at line 97 of EnvMetals.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -842,5 +847,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -853,5 +858,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material EnvMetals/Silver at line 159 of EnvMetals.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material EnvMetals/Silver at line 159 of EnvMetals.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -864,5 +869,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -875,5 +880,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material EnvMetals/Alu at line 222 of EnvMetals.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material EnvMetals/Alu at line 222 of EnvMetals.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -886,8 +891,8 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Parsing script GameTools.material
-21:38:32: Error in material TestPlane at line 120 of GameTools.material: Bad specular attribute, wrong number of parameters (expected 2, 4 or 5)
-21:38:32: Error in material GameTools/SceneCameraDepthShader at line 190 of GameTools.material: Unrecognised command: scene_blend
-21:38:32: An exception has been thrown!
+17:32:11: Parsing script GameTools.material
+17:32:11: Error in material TestPlane at line 120 of GameTools.material: Bad specular attribute, wrong number of parameters (expected 2, 4 or 5)
+17:32:11: Error in material GameTools/SceneCameraDepthShader at line 190 of GameTools.material: Unrecognised command: scene_blend
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -900,5 +905,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material GameTools/SceneCameraDepthShader at line 198 of GameTools.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material GameTools/SceneCameraDepthShader at line 198 of GameTools.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -911,10 +916,10 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:32: Error in material GameTools/FocusingShader at line 214 of GameTools.material: Unrecognised command: scene_blend
-21:38:32: Error in material GameTools/FocusingShader at line 222 of GameTools.material: Invalid param_named attribute - expected at least 3 parameters.
-21:38:32: Error in material GameTools/ShadowMapDepth at line 238 of GameTools.material: Unrecognised command: scene_blend
-21:38:32: Error in material GameTools/ShadowMapDistance at line 266 of GameTools.material: Bad scene_blend attribute, unrecognised parameter 'none'
-21:38:33: Parsing script GlassHead.material
-21:38:33: An exception has been thrown!
+17:32:11: Error in material GameTools/FocusingShader at line 214 of GameTools.material: Unrecognised command: scene_blend
+17:32:11: Error in material GameTools/FocusingShader at line 222 of GameTools.material: Invalid param_named attribute - expected at least 3 parameters.
+17:32:11: Error in material GameTools/ShadowMapDepth at line 238 of GameTools.material: Unrecognised command: scene_blend
+17:32:11: Error in material GameTools/ShadowMapDistance at line 266 of GameTools.material: Bad scene_blend attribute, unrecognised parameter 'none'
+17:32:11: Parsing script GlassHead.material
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -927,5 +932,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material GameTools/PhotonMapCaustic at line 12 of GlassHead.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material GameTools/PhotonMapCaustic at line 12 of GlassHead.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -938,6 +943,6 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material GameTools/PhotonMapCaustic at line 23 of GlassHead.material: Bad cubic_texture attribute, final parameter must be 'combinedUVW' or 'separateUV'.
-21:38:33: An exception has been thrown!
+17:32:11: Error in material GameTools/PhotonMapCaustic at line 23 of GlassHead.material: Bad cubic_texture attribute, final parameter must be 'combinedUVW' or 'separateUV'.
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -950,5 +955,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material GameTools/Cau at line 47 of GlassHead.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material GameTools/Cau at line 47 of GlassHead.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -961,5 +966,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -972,5 +977,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material GameTools/Cau at line 50 of GlassHead.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material GameTools/Cau at line 50 of GlassHead.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -983,5 +988,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -994,5 +999,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material GameTools/CauTri at line 105 of GlassHead.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material GameTools/CauTri at line 105 of GlassHead.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -1005,37 +1010,37 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Parsing script Glow.material
-21:38:33: Error in material GameTools/PostProcBlack at line 7 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
-21:38:33: Error in material GameTools/PostProcBlack at line 10 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/PostProc_Black has not been defined.
-21:38:33: Error in material GameTools/PostProc1 at line 23 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
-21:38:33: Error in material GameTools/PostProc1 at line 26 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/PostProc1_PS has not been defined.
-21:38:33: Error in material GameTools/GlowCut at line 45 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
-21:38:33: Error in material GameTools/GlowCut at line 48 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/GlowCut_PS has not been defined.
-21:38:33: Error in material GameTools/Luminance at line 75 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
-21:38:33: Error in material GameTools/Luminance at line 78 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/Luminance_PS has not been defined.
-21:38:33: Error in material GameTools/GlowBlurH at line 102 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
-21:38:33: Error in material GameTools/GlowBlurH at line 105 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/GlowBlurH_PS has not been defined.
-21:38:33: Error in material GameTools/GlowBlurV at line 128 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
-21:38:33: Error in material GameTools/GlowBlurV at line 131 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/GlowBlurV_PS has not been defined.
-21:38:33: Error in material GameTools/GlowBlurHTB at line 154 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
-21:38:33: Error in material GameTools/GlowBlurHTB at line 157 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/GlowBlurH_PS has not been defined.
-21:38:33: Error in material GameTools/TextureCopy at line 179 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
-21:38:33: Error in material GameTools/TextureCopy at line 182 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/TextureCopy_PS has not been defined.
-21:38:33: Error in material GameTools/GlowAdd at line 203 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
-21:38:33: Error in material GameTools/GlowAdd at line 206 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/GlowAdd_PS has not been defined.
-21:38:33: Error in material GameTools/ToneMap at line 232 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
-21:38:33: Error in material GameTools/ToneMap at line 235 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/ToneMap_PS has not been defined.
-21:38:33: Parsing script hangar.material
-21:38:33: Parsing script kupola.material
-21:38:33: Error in material kupolalambert2 at line 23 of kupola.material: Bad scene_blend attribute, unrecognised parameter 'none'
-21:38:33: Error in material kupolalambert2 at line 26 of kupola.material: Bad scene_blend_alpha attribute, unrecognised parameter 'none'
-21:38:33: Error in material kupolalambert5 at line 77 of kupola.material: Bad scene_blend attribute, unrecognised parameter 'none'
-21:38:33: Error in material kupolalambert5 at line 80 of kupola.material: Bad scene_blend_alpha attribute, unrecognised parameter 'none'
-21:38:33: Parsing script Ogre.material
-21:38:33: Parsing script RaytraceDemo.material
-21:38:33: Parsing script stairs.material
-21:38:33: Parsing script terito.material
-21:38:33: Parsing script uvegfolyoso2.material
-21:38:33: An exception has been thrown!
+17:32:11: Parsing script Glow.material
+17:32:11: Error in material GameTools/PostProcBlack at line 7 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
+17:32:11: Error in material GameTools/PostProcBlack at line 10 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/PostProc_Black has not been defined.
+17:32:11: Error in material GameTools/PostProc1 at line 23 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
+17:32:11: Error in material GameTools/PostProc1 at line 26 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/PostProc1_PS has not been defined.
+17:32:11: Error in material GameTools/GlowCut at line 45 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
+17:32:11: Error in material GameTools/GlowCut at line 48 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/GlowCut_PS has not been defined.
+17:32:11: Error in material GameTools/Luminance at line 75 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
+17:32:11: Error in material GameTools/Luminance at line 78 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/Luminance_PS has not been defined.
+17:32:11: Error in material GameTools/GlowBlurH at line 102 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
+17:32:11: Error in material GameTools/GlowBlurH at line 105 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/GlowBlurH_PS has not been defined.
+17:32:11: Error in material GameTools/GlowBlurV at line 128 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
+17:32:11: Error in material GameTools/GlowBlurV at line 131 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/GlowBlurV_PS has not been defined.
+17:32:11: Error in material GameTools/GlowBlurHTB at line 154 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
+17:32:11: Error in material GameTools/GlowBlurHTB at line 157 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/GlowBlurH_PS has not been defined.
+17:32:11: Error in material GameTools/TextureCopy at line 179 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
+17:32:11: Error in material GameTools/TextureCopy at line 182 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/TextureCopy_PS has not been defined.
+17:32:11: Error in material GameTools/GlowAdd at line 203 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
+17:32:11: Error in material GameTools/GlowAdd at line 206 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/GlowAdd_PS has not been defined.
+17:32:11: Error in material GameTools/ToneMap at line 232 of Glow.material: Invalid vertex_program_ref entry - vertex program GameTools/PostProc1_VS has not been defined.
+17:32:11: Error in material GameTools/ToneMap at line 235 of Glow.material: Invalid fragment_program_ref entry - fragment program GameTools/ToneMap_PS has not been defined.
+17:32:11: Parsing script hangar.material
+17:32:11: Parsing script kupola.material
+17:32:11: Error in material kupolalambert2 at line 23 of kupola.material: Bad scene_blend attribute, unrecognised parameter 'none'
+17:32:11: Error in material kupolalambert2 at line 26 of kupola.material: Bad scene_blend_alpha attribute, unrecognised parameter 'none'
+17:32:11: Error in material kupolalambert5 at line 77 of kupola.material: Bad scene_blend attribute, unrecognised parameter 'none'
+17:32:11: Error in material kupolalambert5 at line 80 of kupola.material: Bad scene_blend_alpha attribute, unrecognised parameter 'none'
+17:32:11: Parsing script Ogre.material
+17:32:11: Parsing script RaytraceDemo.material
+17:32:11: Parsing script stairs.material
+17:32:11: Parsing script terito.material
+17:32:11: Parsing script uvegfolyoso2.material
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -1048,5 +1053,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material Folyoso/Phong at line 22 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Folyoso/Phong at line 22 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -1059,5 +1064,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -1070,5 +1075,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material Folyoso/Phong at line 23 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Folyoso/Phong at line 23 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -1081,5 +1086,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -1092,5 +1097,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material Folyoso/Phong at line 24 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Folyoso/Phong at line 24 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -1103,5 +1108,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -1114,5 +1119,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material Folyoso/Phong at line 25 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Folyoso/Phong at line 25 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -1125,5 +1130,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -1136,5 +1141,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material Folyoso/Phong at line 31 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Folyoso/Phong at line 31 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -1147,5 +1152,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -1158,5 +1163,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material Folyoso/Phong at line 32 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Folyoso/Phong at line 32 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -1169,5 +1174,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -1180,5 +1185,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material Folyoso/Phong at line 33 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Folyoso/Phong at line 33 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -1191,5 +1196,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: An exception has been thrown!
+17:32:11: An exception has been thrown!
 
 -----------------------------------
@@ -1202,5 +1207,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material Folyoso/Phong at line 34 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:11: Error in material Folyoso/Phong at line 34 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -1213,5 +1218,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: An exception has been thrown!
+17:32:12: An exception has been thrown!
 
 -----------------------------------
@@ -1224,5 +1229,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material Folyoso/PhongPlaneReflect at line 76 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:12: Error in material Folyoso/PhongPlaneReflect at line 76 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -1235,5 +1240,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: An exception has been thrown!
+17:32:12: An exception has been thrown!
 
 -----------------------------------
@@ -1246,5 +1251,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material Folyoso/PhongPlaneReflect at line 77 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:12: Error in material Folyoso/PhongPlaneReflect at line 77 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -1257,5 +1262,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: An exception has been thrown!
+17:32:12: An exception has been thrown!
 
 -----------------------------------
@@ -1268,5 +1273,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material Folyoso/PhongPlaneReflect at line 78 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:12: Error in material Folyoso/PhongPlaneReflect at line 78 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -1279,5 +1284,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: An exception has been thrown!
+17:32:12: An exception has been thrown!
 
 -----------------------------------
@@ -1290,5 +1295,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material Folyoso/PhongPlaneReflect at line 79 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:12: Error in material Folyoso/PhongPlaneReflect at line 79 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -1301,5 +1306,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: An exception has been thrown!
+17:32:12: An exception has been thrown!
 
 -----------------------------------
@@ -1312,5 +1317,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material Folyoso/PhongPlaneReflect at line 85 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:12: Error in material Folyoso/PhongPlaneReflect at line 85 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -1323,5 +1328,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: An exception has been thrown!
+17:32:12: An exception has been thrown!
 
 -----------------------------------
@@ -1334,5 +1339,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material Folyoso/PhongPlaneReflect at line 86 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:12: Error in material Folyoso/PhongPlaneReflect at line 86 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -1345,5 +1350,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: An exception has been thrown!
+17:32:12: An exception has been thrown!
 
 -----------------------------------
@@ -1356,5 +1361,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material Folyoso/PhongPlaneReflect at line 87 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:12: Error in material Folyoso/PhongPlaneReflect at line 87 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -1367,5 +1372,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: An exception has been thrown!
+17:32:12: An exception has been thrown!
 
 -----------------------------------
@@ -1378,5 +1383,5 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material Folyoso/PhongPlaneReflect at line 88 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
+17:32:12: Error in material Folyoso/PhongPlaneReflect at line 88 of uvegfolyoso2.material: Invalid param_named_auto attribute - An exception has been thrown!
 
 -----------------------------------
@@ -1389,188 +1394,217 @@
 Line: 779
 Stack unwinding: <<beginning of stack>>
-21:38:33: Error in material uvegfolyoso_talaj at line 118 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.36774
-21:38:33: Error in material uvegfolyoso_talaj at line 119 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.36774
-21:38:33: Error in material uvegfolyoso_talaj at line 120 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.51282
-21:38:33: Error in material uvegfolyoso_teto at line 138 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.237
-21:38:33: Error in material uvegfolyoso_teto at line 139 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.237
-21:38:33: Error in material uvegfolyoso_teto at line 140 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.51282
-21:38:33: Error in material oszlop at line 158 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.94018
-21:38:33: Error in material oszlop at line 159 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.94018
-21:38:33: Error in material oszlop at line 160 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.0
-21:38:33: Parsing script X3D.material
-21:38:33: Parsing script GameTools_Glow.compositor
-21:38:33: Parsing script GameTools_ToneMap.compositor
-21:38:33: Parsing script sample.fontdef
-21:38:33: Bad attribute line: glyph	 	0.152344	0.125	0.160156	0.1875 in font Ogre
-21:38:33: Parsing script GameTools.particle
-21:38:33: Bad particle system attribute line: 'billboard_type  point' in GameTools/DemoParticle1 (tried renderer)
-21:38:33: Bad particle system attribute line: 'billboard_type  point' in GameTools/Big (tried renderer)
-21:38:33: Bad particle system attribute line: 'billboard_type  point' in GameTools/Little (tried renderer)
-21:38:33: Bad particle system attribute line: 'billboard_type  point' in GameTools/FogBig (tried renderer)
-21:38:33: Bad particle system attribute line: 'billboard_type  point' in GameTools/FogLittle (tried renderer)
-21:38:33: Parsing script Compositor.overlay
-21:38:33: Parsing script DP3.overlay
-21:38:33: Parsing script Example-CubeMapping.overlay
-21:38:33: Parsing script Example-DynTex.overlay
-21:38:33: Parsing script Example-Water.overlay
-21:38:33: Parsing script FullScreen.overlay
-21:38:33: Texture: flare.png: Loading 1 faces(PF_B8G8R8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
-21:38:33: Parsing script Shadows.overlay
-21:38:33: Finished parsing scripts for resource group General
-21:38:33: Initialising resource group PostProc
-21:38:33: Parsing scripts for resource group PostProc
-21:38:33: Parsing script GTPPostProc.program
-21:38:33: Parsing script GTPPostProc.material
-21:38:33: Parsing script GTPGlow.compositor
-21:38:33: Parsing script GTPToneMap.compositor
-21:38:33: Finished parsing scripts for resource group PostProc
-21:38:33: Initialising resource group GTP_Basic
-21:38:33: Parsing scripts for resource group GTP_Basic
-21:38:33: Parsing script GTPBasic.program
-21:38:33: Parsing script GTPBasic.material
-21:38:33: Finished parsing scripts for resource group GTP_Basic
-21:38:33: Initialising resource group GTP_EnvMap
-21:38:33: Parsing scripts for resource group GTP_EnvMap
-21:38:33: Parsing script GTPEnvMap.program
-21:38:33: Parsing script GTPEnvMap.material
-21:38:33: Finished parsing scripts for resource group GTP_EnvMap
-21:38:33: Initialising resource group GTP_Caustic
-21:38:33: Parsing scripts for resource group GTP_Caustic
-21:38:33: Parsing script GTPCaustic.program
-21:38:33: Parsing script GTPCaustic.material
-21:38:34: Finished parsing scripts for resource group GTP_Caustic
-21:38:34: Initialising resource group GTP_MultiBounce_Shared
-21:38:34: Parsing scripts for resource group GTP_MultiBounce_Shared
-21:38:34: Parsing script MultiBounceShared.program
-21:38:34: Parsing script MultiBounceShared.material
-21:38:34: Error in material GTP/MultiBounce/DistanceMinMaxCW at line 64 of MultiBounceShared.material: Invalid fragment_program_ref entry - fragment program GTP/MultiBounce/DistanceMinMaxPS has not been defined.
-21:38:34: Error in material GTP/MultiBounce/DistanceMinMaxCCW at line 89 of MultiBounceShared.material: Invalid fragment_program_ref entry - fragment program GTP/MultiBounce/DistanceMinMaxPS has not been defined.
-21:38:34: Finished parsing scripts for resource group GTP_MultiBounce_Shared
-21:38:34: Initialising resource group GTP_MultipleRefraction2L
-21:38:34: Parsing scripts for resource group GTP_MultipleRefraction2L
-21:38:34: Parsing script GTPMultipleRefraction2L.material
-21:38:34: Finished parsing scripts for resource group GTP_MultipleRefraction2L
-21:38:34: Mesh: Loading sphere.mesh.
-21:38:34: Mesh: Loading colorcube.mesh.
-21:38:34: Texture: roomc.PNG: Loading 1 faces(PF_B8G8R8,512x512x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
-21:38:34: Creating viewport on target 'rtt/2236480', rendering from camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_0_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_0_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
-21:38:34: Creating viewport on target 'rtt/2267168', rendering from camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_1_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_1_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
-21:38:34: Creating viewport on target 'rtt/22355520', rendering from camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_2_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_2_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
-21:38:34: Creating viewport on target 'rtt/22355584', rendering from camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_3_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_3_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
-21:38:34: Creating viewport on target 'rtt/22355648', rendering from camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_4_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_4_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
-21:38:34: Creating viewport on target 'rtt/22355712', rendering from camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_5_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_5_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
-21:38:34: Creating viewport on target 'rtt/22355776', rendering from camera 'object_SE_0_PHOTONMAP_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_PHOTONMAP_CAMERA', actual dimensions L: 0 T: 0 W: 32 H: 32
-21:38:34: Creating viewport on target 'rtt/2312448', rendering from camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_0_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_0_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
-21:38:34: Creating viewport on target 'rtt/2312512', rendering from camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_1_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_1_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
-21:38:34: Creating viewport on target 'rtt/2312576', rendering from camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_2_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_2_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
-21:38:34: Creating viewport on target 'rtt/2312640', rendering from camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_3_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_3_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
-21:38:34: Creating viewport on target 'rtt/2312704', rendering from camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_4_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_4_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
-21:38:34: Creating viewport on target 'rtt/2312768', rendering from camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_5_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_5_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
-21:38:34: object_SE_0_CAUSTICCUBEMAP map: object_SE_0_PHOTONMAP material: GTP/MultiBounce/CauCube_PointSpriteobject_SE_0_clone
-21:38:34: Creating viewport on target 'rtt/2313792', rendering from camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_0_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_0_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
-21:38:34: Creating viewport on target 'rtt/2313856', rendering from camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_1_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_1_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
-21:38:34: Creating viewport on target 'rtt/2313920', rendering from camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_2_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_2_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
-21:38:34: Creating viewport on target 'rtt/2313984', rendering from camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_3_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_3_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
-21:38:34: Creating viewport on target 'rtt/2314048', rendering from camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_4_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_4_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
-21:38:34: Creating viewport on target 'rtt/2314112', rendering from camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_5_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_5_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
-21:38:34: WARNING: Texture instance 'object_SE_0_COLORCUBEMAP' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
-21:38:34: WARNING: Texture instance 'object_SE_0_DISTANCECUBEMAP' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
-21:38:34: Creating viewport on target 'rtt/2240512', rendering from camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_0_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_0_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
-21:38:34: Creating viewport on target 'rtt/2240576', rendering from camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_1_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_1_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
-21:38:34: Creating viewport on target 'rtt/2240640', rendering from camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_2_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_2_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
-21:38:34: Creating viewport on target 'rtt/2240704', rendering from camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_3_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_3_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
-21:38:34: Creating viewport on target 'rtt/2240768', rendering from camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_4_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_4_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
-21:38:34: Creating viewport on target 'rtt/2240832', rendering from camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_5_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_5_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
-21:38:34: WARNING: Texture instance 'object_SE_0_COLORCUBEMAP_L1' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
-21:38:34: Win32Input8: DirectInput Activation Starts
-21:38:34: Win32Input8: Establishing keyboard input.
-21:38:34: Win32Input8: Keyboard input established.
-21:38:34: Win32Input8: Initializing mouse input in immediate mode.
-21:38:34: Win32Input8: Mouse input in immediate mode initialized.
-21:38:34: Win32Input8: DirectInput OK.
-21:38:34: WARNING: Texture instance 'object_SE_0_PHOTONMAP' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
-21:38:34: D3D9 : Loading 2D Texture, image name : 'PowerOfPhotonHitTexel.dds' with 2147483647 mip map levels
-21:38:34: WARNING: Texture instance 'object_SE_0_CAUSTICCUBEMAP' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
-21:38:34: Creating viewport on target 'rtt/22368224', rendering from camera 'Light1DEPTH_SHADOW_MAP_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'Light1DEPTH_SHADOW_MAP_CAMERA', actual dimensions L: 0 T: 0 W: 512 H: 512
-21:38:34: Creating viewport on target 'rtt/22427648', rendering from camera 'Light1DEPTH_SHADOW_MAP_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'Light1DEPTH_SHADOW_MAP_CAMERA', actual dimensions L: 0 T: 0 W: 512 H: 512
-21:38:34: Creating viewport on target 'rtt/22428000', rendering from camera 'LIGHT_FOCUSING_MAP_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'LIGHT_FOCUSING_MAP_CAMERA', actual dimensions L: 0 T: 0 W: 32 H: 32
-21:38:34: Creating viewport on target 'rtt/22428352', rendering from camera 'PHASE_TEXTURE_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
-21:38:34: Viewport for camera 'PHASE_TEXTURE_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
-21:38:34: WARNING: Texture instance 'Light1DEPTH_SHADOW_MAP' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
-21:38:34: WARNING: Texture instance 'Light1DEPTH_SHADOW_MAPblurred' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
-21:43:03: Unregistering ResourceManager for type BspLevel
-21:43:03: Render Target 'rtt/22428352' Average FPS: 0 Best FPS: 0 Worst FPS: 999
-21:43:03: Render Target 'rtt/22428000' Average FPS: 0 Best FPS: 0 Worst FPS: 999
-21:43:03: Render Target 'rtt/22427648' Average FPS: 13.8332 Best FPS: 87.8438 Worst FPS: 11.2782
-21:43:03: Render Target 'rtt/22368224' Average FPS: 13.8332 Best FPS: 87.8438 Worst FPS: 11.2782
-21:43:03: Render Target 'rtt/2240512' Average FPS: 13.8324 Best FPS: 14.9402 Worst FPS: 5.82524
-21:43:03: Render Target 'rtt/2240576' Average FPS: 13.8324 Best FPS: 14.9402 Worst FPS: 5.81959
-21:43:03: Render Target 'rtt/2240640' Average FPS: 13.8324 Best FPS: 14.9402 Worst FPS: 5.81959
-21:43:03: Render Target 'rtt/2240704' Average FPS: 13.8331 Best FPS: 14.9402 Worst FPS: 5.81959
-21:43:03: Render Target 'rtt/2240768' Average FPS: 13.8332 Best FPS: 14.9402 Worst FPS: 5.81959
-21:43:03: Render Target 'rtt/2240832' Average FPS: 13.833 Best FPS: 14.9402 Worst FPS: 5.81959
-21:43:03: Render Target 'rtt/2313792' Average FPS: 13.8314 Best FPS: 14.9402 Worst FPS: 5.8309
-21:43:03: Render Target 'rtt/2313856' Average FPS: 13.8324 Best FPS: 14.9402 Worst FPS: 5.8309
-21:43:03: Render Target 'rtt/2313920' Average FPS: 13.8324 Best FPS: 14.9551 Worst FPS: 5.82524
-21:43:03: Render Target 'rtt/2313984' Average FPS: 13.8332 Best FPS: 14.9402 Worst FPS: 5.82524
-21:43:03: Render Target 'rtt/2314048' Average FPS: 13.8378 Best FPS: 14.9402 Worst FPS: 5.82524
-21:43:03: Render Target 'rtt/2314112' Average FPS: 13.8322 Best FPS: 14.9402 Worst FPS: 5.82524
-21:43:03: Render Target 'rtt/2312448' Average FPS: 2.19941 Best FPS: 15.9475 Worst FPS: 1.86047
-21:43:03: Render Target 'rtt/2312512' Average FPS: 2.268 Best FPS: 17.5097 Worst FPS: 1.86047
-21:43:03: Render Target 'rtt/2312576' Average FPS: 2.22517 Best FPS: 16.4084 Worst FPS: 1.86393
-21:43:03: Render Target 'rtt/2312640' Average FPS: 2.45944 Best FPS: 15.3846 Worst FPS: 1.84672
-21:43:03: Render Target 'rtt/2312704' Average FPS: 2.41031 Best FPS: 13.1291 Worst FPS: 1.8622
-21:43:03: Render Target 'rtt/2312768' Average FPS: 2.23368 Best FPS: 15.1803 Worst FPS: 1.86393
-21:43:03: Render Target 'rtt/22355776' Average FPS: 13.753 Best FPS: 101.167 Worst FPS: 11.2465
-21:43:03: Render Target 'rtt/2236480' Average FPS: 2.19941 Best FPS: 15.9475 Worst FPS: 1.86047
-21:43:03: Render Target 'rtt/2267168' Average FPS: 2.26825 Best FPS: 17.5097 Worst FPS: 1.86047
-21:43:03: Render Target 'rtt/22355520' Average FPS: 2.22562 Best FPS: 16.4084 Worst FPS: 1.86393
-21:43:03: Render Target 'rtt/22355584' Average FPS: 2.45834 Best FPS: 15.3846 Worst FPS: 1.84672
-21:43:03: Render Target 'rtt/22355648' Average FPS: 2.41037 Best FPS: 13.1291 Worst FPS: 1.8622
-21:43:03: Render Target 'rtt/22355712' Average FPS: 2.23391 Best FPS: 15.1659 Worst FPS: 1.86393
-21:43:03: *-*-* OGRE Shutdown
-21:43:03: Unregistering ResourceManager for type Compositor
-21:43:03: Unregistering ResourceManager for type Font
-21:43:03: Unregistering ResourceManager for type Skeleton
-21:43:03: Unregistering ResourceManager for type Mesh
-21:43:03: Unregistering ResourceManager for type HighLevelGpuProgram
-21:43:03: Unloading library .\Plugin_CgProgramManager
-21:43:03: Unloading library .\Plugin_OctreeSceneManager
-21:43:03: Unloading library .\Plugin_BSPSceneManager
-21:43:03: Unloading library .\Plugin_ParticleFX
-21:43:03: Render Target 'OGRE Render Window' Average FPS: 13.8401 Best FPS: 100.775 Worst FPS: 11.236
-21:43:04: D3D9 : Shutting down cleanly.
-21:43:04: Unregistering ResourceManager for type Texture
-21:43:04: Unregistering ResourceManager for type GpuProgram
-21:43:04: D3D9 : Direct3D9 Rendering Subsystem destroyed.
-21:43:04: Unloading library .\RenderSystem_Direct3D9
-21:43:04: Unregistering ResourceManager for type Material
-21:43:04: Unloading library OgrePlatform.dll
+17:32:12: Error in material uvegfolyoso_talaj at line 118 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.36774
+17:32:12: Error in material uvegfolyoso_talaj at line 119 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.36774
+17:32:12: Error in material uvegfolyoso_talaj at line 120 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.51282
+17:32:12: Error in material uvegfolyoso_teto at line 138 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.237
+17:32:12: Error in material uvegfolyoso_teto at line 139 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.237
+17:32:12: Error in material uvegfolyoso_teto at line 140 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.51282
+17:32:12: Error in material oszlop at line 158 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.94018
+17:32:12: Error in material oszlop at line 159 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.94018
+17:32:12: Error in material oszlop at line 160 of uvegfolyoso2.material: Invalid param_named attribute - unrecognised parameter type 0.0
+17:32:12: Parsing script X3D.material
+17:32:12: Parsing script GameTools_Glow.compositor
+17:32:12: Parsing script GameTools_ToneMap.compositor
+17:32:12: Parsing script sample.fontdef
+17:32:12: Bad attribute line: glyph	 	0.152344	0.125	0.160156	0.1875 in font Ogre
+17:32:12: Parsing script GameTools.particle
+17:32:12: Bad particle system attribute line: 'billboard_type  point' in GameTools/DemoParticle1 (tried renderer)
+17:32:12: Bad particle system attribute line: 'billboard_type  point' in GameTools/Big (tried renderer)
+17:32:12: Bad particle system attribute line: 'billboard_type  point' in GameTools/Little (tried renderer)
+17:32:12: Bad particle system attribute line: 'billboard_type  point' in GameTools/FogBig (tried renderer)
+17:32:12: Bad particle system attribute line: 'billboard_type  point' in GameTools/FogLittle (tried renderer)
+17:32:12: Parsing script Compositor.overlay
+17:32:12: Parsing script DP3.overlay
+17:32:12: Parsing script Example-CubeMapping.overlay
+17:32:12: Parsing script Example-DynTex.overlay
+17:32:12: Parsing script Example-Water.overlay
+17:32:12: Parsing script FullScreen.overlay
+17:32:12: Texture: flare.png: Loading 1 faces(PF_B8G8R8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
+17:32:12: Parsing script Shadows.overlay
+17:32:12: Finished parsing scripts for resource group General
+17:32:12: Initialising resource group PostProc
+17:32:12: Parsing scripts for resource group PostProc
+17:32:12: Parsing script GTPPostProc.program
+17:32:12: Parsing script GTPPostProc.material
+17:32:12: Parsing script GTPGlow.compositor
+17:32:12: Parsing script GTPToneMap.compositor
+17:32:12: Finished parsing scripts for resource group PostProc
+17:32:12: Initialising resource group GTP_Basic
+17:32:12: Parsing scripts for resource group GTP_Basic
+17:32:12: Parsing script GTPBasic.program
+17:32:12: Parsing script GTPBasic.material
+17:32:12: Finished parsing scripts for resource group GTP_Basic
+17:32:12: Initialising resource group GTP_EnvMap
+17:32:12: Parsing scripts for resource group GTP_EnvMap
+17:32:12: Parsing script GTPEnvMap.program
+17:32:12: Parsing script GTPEnvMap.material
+17:32:12: Finished parsing scripts for resource group GTP_EnvMap
+17:32:12: Initialising resource group GTP_Caustic
+17:32:12: Parsing scripts for resource group GTP_Caustic
+17:32:12: Parsing script GTPCaustic.program
+17:32:12: Parsing script GTPCaustic.material
+17:32:12: Finished parsing scripts for resource group GTP_Caustic
+17:32:12: Initialising resource group GTP_MultiBounce_Shared
+17:32:12: Parsing scripts for resource group GTP_MultiBounce_Shared
+17:32:12: Parsing script MultiBounceShared.program
+17:32:12: Parsing script MultiBounceShared.material
+17:32:12: Error in material GTP/MultiBounce/DistanceMinMaxCW at line 64 of MultiBounceShared.material: Invalid fragment_program_ref entry - fragment program GTP/MultiBounce/DistanceMinMaxPS has not been defined.
+17:32:12: Error in material GTP/MultiBounce/DistanceMinMaxCCW at line 89 of MultiBounceShared.material: Invalid fragment_program_ref entry - fragment program GTP/MultiBounce/DistanceMinMaxPS has not been defined.
+17:32:12: Finished parsing scripts for resource group GTP_MultiBounce_Shared
+17:32:12: Initialising resource group GTP_MultipleRefraction
+17:32:12: Parsing scripts for resource group GTP_MultipleRefraction
+17:32:12: Parsing script GTPMultipleRefraction.material
+17:32:43: Finished parsing scripts for resource group GTP_MultipleRefraction
+17:32:43: Initialising resource group GTP_MultipleCausticRefraction
+17:32:43: Parsing scripts for resource group GTP_MultipleCausticRefraction
+17:32:43: Parsing script GTPMultipleCausticRefraction.material
+17:33:13: Finished parsing scripts for resource group GTP_MultipleCausticRefraction
+17:33:13: Mesh: Loading buddha.mesh.
+17:33:14: Can't assign material Material_2 to SubEntity of object because this Material does not exist. Have you forgotten to define it in a .material script?
+17:33:14: Mesh: Loading colorcube.mesh.
+17:33:14: Texture: roomcdark.PNG: Loading 1 faces(PF_B8G8R8,512x512x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
+17:33:14: Creating viewport on target 'rtt/3133152', rendering from camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_0_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_0_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+17:33:14: Creating viewport on target 'rtt/42278784', rendering from camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_1_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_1_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+17:33:14: Creating viewport on target 'rtt/42278848', rendering from camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_2_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_2_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+17:33:14: Creating viewport on target 'rtt/3141312', rendering from camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_3_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_3_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+17:33:14: Creating viewport on target 'rtt/3141376', rendering from camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_4_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_4_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+17:33:14: Creating viewport on target 'rtt/3141440', rendering from camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_5_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_CAUSTICCUBEMAPCUBEMAPFACE_5_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+17:33:14: Creating viewport on target 'rtt/3142528', rendering from camera 'object_SE_0_CAUSTICCUBEMAP_BLUREDCUBEMAPFACE_0_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_CAUSTICCUBEMAP_BLUREDCUBEMAPFACE_0_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+17:33:14: Creating viewport on target 'rtt/3142592', rendering from camera 'object_SE_0_CAUSTICCUBEMAP_BLUREDCUBEMAPFACE_1_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_CAUSTICCUBEMAP_BLUREDCUBEMAPFACE_1_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+17:33:14: Creating viewport on target 'rtt/3142656', rendering from camera 'object_SE_0_CAUSTICCUBEMAP_BLUREDCUBEMAPFACE_2_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_CAUSTICCUBEMAP_BLUREDCUBEMAPFACE_2_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+17:33:14: Creating viewport on target 'rtt/3142720', rendering from camera 'object_SE_0_CAUSTICCUBEMAP_BLUREDCUBEMAPFACE_3_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_CAUSTICCUBEMAP_BLUREDCUBEMAPFACE_3_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+17:33:14: Creating viewport on target 'rtt/3142784', rendering from camera 'object_SE_0_CAUSTICCUBEMAP_BLUREDCUBEMAPFACE_4_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_CAUSTICCUBEMAP_BLUREDCUBEMAPFACE_4_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+17:33:14: Creating viewport on target 'rtt/3142848', rendering from camera 'object_SE_0_CAUSTICCUBEMAP_BLUREDCUBEMAPFACE_5_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_CAUSTICCUBEMAP_BLUREDCUBEMAPFACE_5_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+17:33:14: Creating viewport on target 'rtt/3143296', rendering from camera 'object_SE_0_PHOTONMAP_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_PHOTONMAP_CAMERA', actual dimensions L: 0 T: 0 W: 32 H: 32
+17:33:14: Creating viewport on target 'rtt/3113984', rendering from camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_0_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_0_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+17:33:14: Creating viewport on target 'rtt/3114048', rendering from camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_1_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_1_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+17:33:14: Creating viewport on target 'rtt/3114112', rendering from camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_2_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_2_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+17:33:14: Creating viewport on target 'rtt/3114176', rendering from camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_3_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_3_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+17:33:14: Creating viewport on target 'rtt/3114240', rendering from camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_4_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_4_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+17:33:14: Creating viewport on target 'rtt/3114304', rendering from camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_5_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_DISTANCECUBEMAPCUBEMAPFACE_5_CAMERA', actual dimensions L: 0 T: 0 W: 256 H: 256
+17:33:14: object_SE_0_CAUSTICCUBEMAP map: object_SE_0_PHOTONMAP material: GTP/MultiBounce/CauCube_Trianglesobject_SE_0_clone
+17:33:14: Creating viewport on target 'rtt/3115360', rendering from camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_0_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_0_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
+17:33:14: Creating viewport on target 'rtt/3115424', rendering from camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_1_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_1_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
+17:33:14: Creating viewport on target 'rtt/3115488', rendering from camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_2_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_2_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
+17:33:14: Creating viewport on target 'rtt/3115552', rendering from camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_3_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_3_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
+17:33:14: Creating viewport on target 'rtt/3115616', rendering from camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_4_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_4_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
+17:33:14: Creating viewport on target 'rtt/3115680', rendering from camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_5_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_COLORCUBEMAPCUBEMAPFACE_5_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
+17:33:14: WARNING: Texture instance 'object_SE_0_COLORCUBEMAP' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
+17:33:14: WARNING: Texture instance 'object_SE_0_DISTANCECUBEMAP' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
+17:33:14: Creating viewport on target 'rtt/3116864', rendering from camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_0_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_0_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
+17:33:14: Creating viewport on target 'rtt/3116928', rendering from camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_1_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_1_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
+17:33:14: Creating viewport on target 'rtt/3116992', rendering from camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_2_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_2_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
+17:33:14: Creating viewport on target 'rtt/3117056', rendering from camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_3_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_3_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
+17:33:14: Creating viewport on target 'rtt/3117120', rendering from camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_4_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_4_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
+17:33:14: Creating viewport on target 'rtt/3117184', rendering from camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_5_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_COLORCUBEMAP_L1CUBEMAPFACE_5_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
+17:33:14: WARNING: Texture instance 'object_SE_0_COLORCUBEMAP_L1' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
+17:33:14: Creating viewport on target 'rtt/3118240', rendering from camera 'object_SE_0_COLORCUBEMAP_L2CUBEMAPFACE_0_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_COLORCUBEMAP_L2CUBEMAPFACE_0_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
+17:33:14: Creating viewport on target 'rtt/3118304', rendering from camera 'object_SE_0_COLORCUBEMAP_L2CUBEMAPFACE_1_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_COLORCUBEMAP_L2CUBEMAPFACE_1_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
+17:33:14: Creating viewport on target 'rtt/3118368', rendering from camera 'object_SE_0_COLORCUBEMAP_L2CUBEMAPFACE_2_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_COLORCUBEMAP_L2CUBEMAPFACE_2_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
+17:33:14: Creating viewport on target 'rtt/3118432', rendering from camera 'object_SE_0_COLORCUBEMAP_L2CUBEMAPFACE_3_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_COLORCUBEMAP_L2CUBEMAPFACE_3_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
+17:33:14: Creating viewport on target 'rtt/3118496', rendering from camera 'object_SE_0_COLORCUBEMAP_L2CUBEMAPFACE_4_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_COLORCUBEMAP_L2CUBEMAPFACE_4_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
+17:33:14: Creating viewport on target 'rtt/3118560', rendering from camera 'object_SE_0_COLORCUBEMAP_L2CUBEMAPFACE_5_CAMERA', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
+17:33:14: Viewport for camera 'object_SE_0_COLORCUBEMAP_L2CUBEMAPFACE_5_CAMERA', actual dimensions L: 0 T: 0 W: 1024 H: 1024
+17:33:14: WARNING: Texture instance 'object_SE_0_COLORCUBEMAP_L2' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
+17:33:14: Win32Input8: DirectInput Activation Starts
+17:33:14: Win32Input8: Establishing keyboard input.
+17:33:14: Win32Input8: Keyboard input established.
+17:33:14: Win32Input8: Initializing mouse input in immediate mode.
+17:33:14: Win32Input8: Mouse input in immediate mode initialized.
+17:33:14: Win32Input8: DirectInput OK.
+17:33:15: WARNING: Mesh instance 'FullScreenGrid' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
+17:33:15: WARNING: Texture instance 'object_SE_0_PHOTONMAP' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
+17:33:15: WARNING: Texture instance 'object_SE_0_CAUSTICCUBEMAP' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
+17:33:15: WARNING: Texture instance 'object_SE_0_CAUSTICCUBEMAP_BLURED' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
+17:37:26: Unregistering ResourceManager for type BspLevel
+17:37:26: Render Target 'rtt/3118240' Average FPS: 5.34607 Best FPS: 73.7052 Worst FPS: 1.12066
+17:37:26: Render Target 'rtt/3118304' Average FPS: 5.34611 Best FPS: 73.7052 Worst FPS: 1.12066
+17:37:26: Render Target 'rtt/3118368' Average FPS: 5.34611 Best FPS: 73.7052 Worst FPS: 1.12066
+17:37:26: Render Target 'rtt/3118432' Average FPS: 5.81837 Best FPS: 73.7787 Worst FPS: 1.12066
+17:37:26: Render Target 'rtt/3118496' Average FPS: 5.81838 Best FPS: 73.7787 Worst FPS: 1.12108
+17:37:26: Render Target 'rtt/3118560' Average FPS: 5.81838 Best FPS: 73.7787 Worst FPS: 1.12108
+17:37:26: Render Target 'rtt/3116864' Average FPS: 5.82007 Best FPS: 73.7052 Worst FPS: 1.12108
+17:37:26: Render Target 'rtt/3116928' Average FPS: 5.81721 Best FPS: 73.7052 Worst FPS: 1.12108
+17:37:26: Render Target 'rtt/3116992' Average FPS: 5.81721 Best FPS: 73.7052 Worst FPS: 1.12108
+17:37:26: Render Target 'rtt/3117056' Average FPS: 5.81721 Best FPS: 73.7052 Worst FPS: 1.12108
+17:37:26: Render Target 'rtt/3117120' Average FPS: 5.34607 Best FPS: 73.7052 Worst FPS: 1.12066
+17:37:26: Render Target 'rtt/3117184' Average FPS: 5.34607 Best FPS: 73.7052 Worst FPS: 1.12066
+17:37:26: Render Target 'rtt/3115360' Average FPS: 5.81749 Best FPS: 73.7052 Worst FPS: 1.12066
+17:37:26: Render Target 'rtt/3115424' Average FPS: 5.81825 Best FPS: 73.7787 Worst FPS: 1.12066
+17:37:26: Render Target 'rtt/3115488' Average FPS: 5.81827 Best FPS: 73.7787 Worst FPS: 1.12066
+17:37:26: Render Target 'rtt/3115552' Average FPS: 5.82004 Best FPS: 73.7052 Worst FPS: 1.12108
+17:37:26: Render Target 'rtt/3115616' Average FPS: 5.82005 Best FPS: 73.7052 Worst FPS: 1.12108
+17:37:26: Render Target 'rtt/3115680' Average FPS: 5.82005 Best FPS: 73.7052 Worst FPS: 1.12108
+17:37:26: Render Target 'rtt/3113984' Average FPS: 0.835274 Best FPS: 36.4892 Worst FPS: 0.429738
+17:37:26: Render Target 'rtt/3114048' Average FPS: 0.877729 Best FPS: 35.8923 Worst FPS: 0.434405
+17:37:26: Render Target 'rtt/3114112' Average FPS: 0.836754 Best FPS: 35.8923 Worst FPS: 0.472813
+17:37:26: Render Target 'rtt/3114176' Average FPS: 0.905545 Best FPS: 36.3101 Worst FPS: 0.484496
+17:37:26: Render Target 'rtt/3114240' Average FPS: 0.868748 Best FPS: 36.2035 Worst FPS: 0.472144
+17:37:26: Render Target 'rtt/3114304' Average FPS: 0.902631 Best FPS: 35.225 Worst FPS: 0.446429
+17:37:26: Render Target 'rtt/3143296' Average FPS: 5.82621 Best FPS: 216.135 Worst FPS: 2.83286
+17:37:26: Render Target 'rtt/3142528' Average FPS: 0.835276 Best FPS: 36.4892 Worst FPS: 0.429553
+17:37:26: Render Target 'rtt/3142592' Average FPS: 0.877955 Best FPS: 35.8923 Worst FPS: 0.434405
+17:37:26: Render Target 'rtt/3142656' Average FPS: 0.836853 Best FPS: 35.8923 Worst FPS: 0.47259
+17:37:26: Render Target 'rtt/3142720' Average FPS: 0.905597 Best FPS: 36.3101 Worst FPS: 0.484496
+17:37:26: Render Target 'rtt/3142784' Average FPS: 0.868852 Best FPS: 36.1681 Worst FPS: 0.472144
+17:37:26: Render Target 'rtt/3142848' Average FPS: 0.902635 Best FPS: 35.1906 Worst FPS: 0.446628
+17:37:26: Render Target 'rtt/3133152' Average FPS: 0.835277 Best FPS: 36.4892 Worst FPS: 0.429553
+17:37:26: Render Target 'rtt/42278784' Average FPS: 0.877955 Best FPS: 35.8923 Worst FPS: 0.434405
+17:37:26: Render Target 'rtt/42278848' Average FPS: 0.836853 Best FPS: 35.8923 Worst FPS: 0.47259
+17:37:26: Render Target 'rtt/3141312' Average FPS: 0.905597 Best FPS: 36.3101 Worst FPS: 0.484496
+17:37:26: Render Target 'rtt/3141376' Average FPS: 0.868841 Best FPS: 36.1681 Worst FPS: 0.472144
+17:37:26: Render Target 'rtt/3141440' Average FPS: 0.902635 Best FPS: 35.225 Worst FPS: 0.446628
+17:37:26: *-*-* OGRE Shutdown
+17:37:26: Unregistering ResourceManager for type Compositor
+17:37:26: Unregistering ResourceManager for type Font
+17:37:26: Unregistering ResourceManager for type Skeleton
+17:37:26: Unregistering ResourceManager for type Mesh
+17:37:26: Unregistering ResourceManager for type HighLevelGpuProgram
+17:37:26: Unloading library .\Plugin_CgProgramManager
+17:37:26: Unloading library .\Plugin_OctreeSceneManager
+17:37:26: Unloading library .\Plugin_BSPSceneManager
+17:37:26: Unloading library .\Plugin_ParticleFX
+17:37:26: Render Target 'OGRE Render Window' Average FPS: 5.3576 Best FPS: 216.135 Worst FPS: 2.83822
+17:37:26: D3D9 : Shutting down cleanly.
+17:37:26: Unregistering ResourceManager for type Texture
+17:37:26: Unregistering ResourceManager for type GpuProgram
+17:37:26: D3D9 : Direct3D9 Rendering Subsystem destroyed.
+17:37:26: Unloading library .\RenderSystem_Direct3D9
+17:37:26: Unregistering ResourceManager for type Material
+17:37:26: Unloading library OgrePlatform.dll
