CVS: data/Aircraft/Lightning/Models/Effects lightningreflect.eff, 1.1, 1.2

Vivian Meazza <[email protected]>
Newsgroups gmane.games.flightgear.cvc
Message-ID <[email protected]>
Update of /var/cvs/FlightGear-0.9/data/Aircraft/Lightning/Models/Effects
In directory baron.flightgear.org:/tmp/cvs-serv24345

Modified Files:
	lightningreflect.eff 
Log Message:
Use user-control via parameters.

Perpare for cube cross textures.

Index: lightningreflect.eff
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/Lightning/Models/Effects/lightningreflect.eff,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- lightningreflect.eff	29 Mar 2010 09:34:04 -0000	1.1
+++ lightningreflect.eff	31 Mar 2010 09:14:28 -0000	1.2
@@ -16,6 +16,10 @@
 				<negative-z>Aircraft/Generic/Effects/CubeMaps/fair-sky/fair-sky_nz.png</negative-z>
 			</images>
 		</texture>
+		<rainbowiness>0.05</rainbowiness>
+		<fresneliness>0.1</fresneliness>
+		<refl_correction>0.0</refl_correction>
+		<ambient_correction>0.2</ambient_correction>
 	</parameters>
 
 	<technique n="9">
@@ -51,7 +55,7 @@
 				</images>
 			</texture-unit>
 
-			<uniform>
+			<!--<uniform>
 				<name>BaseTex</name>
 				<type>sampler-2d</type>
 				<value type="int">0</value>
@@ -75,34 +79,34 @@
 				<value type="int">7</value>
 			</uniform>
 
-			<!-- set the amount of fringing colour 0.0 - 1.0 -->
+			--><!-- set the amount of fringing colour 0.0 - 1.0 --><!--
 			<uniform>
 				<name>rainbowiness</name>
 				<type>float</type>
 				<value type="float">0.05</value>
 			</uniform>
 
-			<!-- set the amount of fresnel effect colour 0.0 - 1.0 -->
+			--><!-- set the amount of fresnel effect colour 0.0 - 1.0 --><!--
 			<uniform>
 				<name>fresneliness</name>
 				<type>float</type>
 				<value type="float">0.075</value>
 			</uniform>
 
-			<!-- set the amount of tranparency 0.0 (fully tranaparent)
-				- 1.0 (fully opaque) -->
+			--><!-- set the amount of reflection correction -1.0 (fully transparent)
+				- 1.0 (fully opaque) --><!--
 			<uniform>
-				<name>transparency</name>
+				<name>refl_correction</name>
 				<type>float</type>
-				<value type="float">0.9</value>
+				<value type="float">-0.1</value>
 			</uniform>
 
-			<!-- set the amount of ambient light correction 0.0 -1.0  -->
+			--><!-- set the amount of ambient light correction 0.0 - 1.0  --><!--
 			<uniform>
-				<name>correction</name>
+				<name>ambient</name>
 				<type>float</type>
 				<value type="float">0.2</value>
-			</uniform>
+			</uniform>-->
 		</pass>
 	</technique>
 </PropertyList>


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.