CVS: data/Effects urban.eff,1.7,1.8

Frederic Bouvier <[email protected]> Sat, 10 Apr 2010 09:39:39 -0500
Newsgroups gmane.games.flightgear.cvc
Message-ID <[email protected]>
Update of /var/cvs/FlightGear-0.9/data/Effects
In directory baron.flightgear.org:/tmp/cvs-serv18514/Effects

Modified Files:
	urban.eff 
Log Message:
Use quality level inside urban fragment shader

Index: urban.eff
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Effects/urban.eff,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- urban.eff	10 Apr 2010 14:01:00 -0000	1.7
+++ urban.eff	10 Apr 2010 14:35:02 -0000	1.8
@@ -5,6 +5,7 @@
   <parameters>
     <depth-factor type="float">0.008</depth-factor>
     <night-color type="vec3d">0.75 0.59 0.05</night-color>
+    <quality-level><use>/sim/rendering/quality-level</use></quality-level>
   </parameters>
   <generate>
     <normal type="int">15</normal>
@@ -111,6 +112,11 @@
         <type>float-vec3</type>
         <value><use>night-color</use></value>
       </uniform>
+      <uniform>
+        <name>quality_level</name>
+        <type>float</type>
+        <value><use>quality-level</use></value>
+      </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