Kaynağa Gözat

Effects / shaders update by Eagle

The canopy was not activated in the model.xml.

The object CP-R-Frame-inside was assigned to the livery in the model.xml (I deleted it).

Two shaders for the fuselage were activated in the model.xml.
Avionyx 1 yıl önce
ebeveyn
işleme
79bb4e8ffa
2 değiştirilmiş dosya ile 27 ekleme ve 22 silme
  1. 25 20
      Models/CanberraBI8.xml
  2. 2 2
      Models/Effects/reflect-uber.eff

+ 25 - 20
Models/CanberraBI8.xml

@@ -274,7 +274,7 @@
 	<type>material</type>
     <object-name>Low-Rez-Body</object-name>
     <object-name>FUS-Hull</object-name>
-    <object-name>CP-R-Frame-Inside</object-name>
+    
      <object-name>CP-F-Canopy-Frame</object-name>
 	
     <object-name>WNG-L</object-name>
@@ -311,9 +311,24 @@
     <texture>texture.png</texture>
 	</animation>
 	
-	<!-- fuselage reflection -->
+
+	
+	<!-- Pilot -->
+   <animation>
+        <type>material</type>
+        <object-name>tete</object-name>
+    <object-name>corps</object-name>
+    <object-name>bras</object-name>
+    <object-name>avantbras</object-name>
+    <object-name>main</object-name>
+        <property-base>sim/model/livery</property-base>
+        <texture-prop>texture-pilot</texture-prop>
+        <texture>fighter_pilot.png</texture>
+    </animation>
+    
+    	<!-- fuselage reflection -->
 <effect>
-    <inherits-from>Aircraft/Hunter/Models/Effects/reflect-uber</inherits-from>
+    <inherits-from>Aircraft/CanberraBI8/Models/Effects/reflect-uber</inherits-from>
  
 	  <object-name>Low-Rez-Body</object-name>
     <object-name>FUS-Hull</object-name>
@@ -349,21 +364,9 @@
 	<object-name>FUS-Hatch-Outside</object-name>
 	
   </effect>	
-	
-	<!-- Pilot -->
-   <animation>
-        <type>material</type>
-        <object-name>tete</object-name>
-    <object-name>corps</object-name>
-    <object-name>bras</object-name>
-    <object-name>avantbras</object-name>
-    <object-name>main</object-name>
-        <property-base>sim/model/livery</property-base>
-        <texture-prop>texture-pilot</texture-prop>
-        <texture>fighter_pilot.png</texture>
-    </animation>
   
   <!-- Bump Map Effect -->
+    <!--
  <effect>
     <inherits-from>Aircraft/CanberraBI8/Models/Effects/eec_bumpspec</inherits-from>
     <object-name>Low-Rez-Body</object-name>
@@ -397,6 +400,7 @@
     <object-name>UC-RF-Door.001</object-name>
 	<object-name>FUS-Hatch-Outside</object-name>
  </effect>
+    -->
 
   
  
@@ -640,7 +644,7 @@
 
 <!-- ** Misc Body Parts ** -->
 
-<!-- Canopy 
+<!-- Canopy--> 
 
 <animation>
 	<type>rotate</type>
@@ -660,12 +664,13 @@
 	<axis>
 		<y>1</y>
 	</axis>
-</animation>-->
-<!--
+</animation>
+
 <animation>
 	 This one is seperate, because it has been sorted for layering 
 	<type>rotate</type>
 	<object-name>CP-R-Glass</object-name>
+    <object-name>CP-R-Glassin</object-name>
 	<property>controls/canopy/canopy-pos-norm</property>
 	<interpolation>
 		<entry> <ind>0</ind>    <dep>0</dep>  </entry>
@@ -681,7 +686,7 @@
 	<axis>
 		<y>1</y>
 	</axis>
-</animation>-->
+</animation>
 
 <!-- Crew entry hatch -->
 

+ 2 - 2
Models/Effects/reflect-uber.eff

@@ -5,10 +5,10 @@
   <inherits-from>Effects/model-combined-deferred</inherits-from>
   <parameters>
     <normalmap-enabled type="int">1</normalmap-enabled>
-	 <rain-enabled>1</rain-enabled>
     <normalmap-dds type="int">0</normalmap-dds>
+	 <rain-enabled>1</rain-enabled>
     <texture n="2">
-      <image>Aircraft/CanberraBI8/Models/Effects/bumpmap.png</image>
+      <image>Aircraft/CanberraBI8/Models/Liveries/2bump.png</image>
       <filter>linear-mipmap-linear</filter>
       <wrap-s>repeat</wrap-s>
       <wrap-t>repeat</wrap-t>