[Orxonox-commit 4837] r9506 - data/trunk/materials

jo at orxonox.net jo at orxonox.net
Mon Dec 10 16:52:21 CET 2012


Author: jo
Date: 2012-12-10 16:52:21 +0100 (Mon, 10 Dec 2012)
New Revision: 9506

Modified:
   data/trunk/materials/LaserBeam.material
Log:
Updating the LaserBeam material to look more like a laser.

Modified: data/trunk/materials/LaserBeam.material
===================================================================
--- data/trunk/materials/LaserBeam.material	2012-12-10 15:51:44 UTC (rev 9505)
+++ data/trunk/materials/LaserBeam.material	2012-12-10 15:52:21 UTC (rev 9506)
@@ -2,38 +2,20 @@
 
 material LaserBeam 
 {
-    receive_shadows on 
+	technique
+	{
+		pass
+		{
+			lighting off
+			depth_write off
+			scene_blend add
+			texture_unit
+			{
+				texture LaserBlau2.png
+				colour_op modulate
+			}
+		}
 
-    technique
-    {
-        pass LaserBeam
-        {
-            ambient 0.800000011920929 0.800000011920929 0.800000011920929 1.0
-            diffuse 0.6400000190734865 0.6400000190734865 0.6400000190734865 1.0
-            specular 0.5 0.5 0.5 1.0 12.5
-            emissive 0.0 0.0 0.0 1.0
-
-            alpha_to_coverage off
-            colour_write on
-            cull_hardware clockwise
-            depth_check on
-            depth_func less_equal
-            depth_write on
-            illumination_stage 
-            light_clip_planes off
-            light_scissor off
-            lighting on
-            normalise_normals off
-            polygon_mode solid
-            scene_blend one zero
-            scene_blend_op add
-            shading gouraud
-            transparent_sorting on
-            texture_unit
-            {
-              texture LaserBlau2.png
-              colour_op modulate
-            }
-        }
-    }
+	}
+    receive_shadows on
 }




More information about the Orxonox-commit mailing list