reflect-uber2.eff 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <PropertyList>
  3. <name>reflect-uber1</name>
  4. <inherits-from>Effects/model-combined-deferred</inherits-from>
  5. <parameters>
  6. <normalmap-enabled type="int">1</normalmap-enabled>
  7. <normalmap-dds type="int">0</normalmap-dds>
  8. <rain-enabled>1</rain-enabled>
  9. <texture n="2">
  10. <image>Aircraft/FGR2/Models/Effects/reflection/2bump-02.png</image>
  11. <filter>linear-mipmap-linear</filter>
  12. <wrap-s>repeat</wrap-s>
  13. <wrap-t>repeat</wrap-t>
  14. <internal-format>normalized</internal-format>
  15. </texture>
  16. <!--lightmap-->
  17. <lightmap-enabled type="int">1</lightmap-enabled>
  18. <lightmap-multi type="int">1</lightmap-multi>
  19. <lightmap-factor type="float" n="0"><use>/systems/electrical/outputs/beacon-itensity</use></lightmap-factor>
  20. <lightmap-color type="vec3d" n="0"> 1.0 0.0 0.0 </lightmap-color>
  21. <lightmap-factor type="float" n="1"><use>/systems/electrical/outputs/taxi-light-itensity</use></lightmap-factor>
  22. <lightmap-color type="vec3d" n="1"> 1.0 1.0 1.0 </lightmap-color>
  23. <lightmap-factor type="float" n="2"><use>/systems/electrical/outputs/landing-light-intensity</use></lightmap-factor>
  24. <lightmap-color type="vec3d" n="2">1.0 1.0 1.0 </lightmap-color>
  25. <lightmap-factor type="float" n="3">0.0</lightmap-factor>
  26. <lightmap-color type="vec3d" n="3">1.0 0.0 0.0 </lightmap-color>
  27. <texture n="3">
  28. <image>Aircraft/FGR2/Models/Effects/reflection/Lightmaps.png</image>
  29. <filter>linear-mipmap-linear</filter>
  30. <wrap-s>clamp</wrap-s>
  31. <wrap-t>clamp</wrap-t>
  32. <internal-format>normalized</internal-format>
  33. </texture>
  34. <reflection-enabled type="int">1</reflection-enabled>
  35. <reflect-map-enabled type="int">1</reflect-map-enabled>
  36. <reflection-correction type="float"><use>/sim/rendering/refl_correction</use></reflection-correction>
  37. <reflection-dynamic type="int">1</reflection-dynamic>
  38. <texture n="4">
  39. <image>Aircraft/FGR2/Models/Effects/reflection/greymap.png</image>
  40. <filter>linear-mipmap-linear</filter>
  41. <wrap-s>clamp</wrap-s>
  42. <wrap-t>clamp</wrap-t>
  43. <internal-format>normalized</internal-format>
  44. </texture>
  45. <texture n="5">
  46. <type>cubemap</type>
  47. <images>
  48. <positive-x>Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_px.png</positive-x>
  49. <negative-x>Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_nx.png</negative-x>
  50. <positive-y>Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_py.png</positive-y>
  51. <negative-y>Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_ny.png</negative-y>
  52. <positive-z>Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_pz.png</positive-z>
  53. <negative-z>Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_nz.png</negative-z>
  54. </images>
  55. </texture>
  56. <reflection-fresnel type="float">0.01</reflection-fresnel>
  57. <reflection-rainbow type="float">0.2</reflection-rainbow>
  58. <reflection-noise type="float">0.01</reflection-noise>
  59. <ambient-correction type="float">0.0</ambient-correction>
  60. <dirt-enabled type="int">0</dirt-enabled>
  61. <dirt-color type="vec3d">1.0 1.0 1.0</dirt-color>
  62. <dirt-factor type="float">0.5</dirt-factor>
  63. </parameters>
  64. <!-- ####################
  65. ### NORMALMAP INCLUDE ###
  66. ######################### -->
  67. <generate>
  68. <tangent type="int">6</tangent>
  69. <binormal type="int">7</binormal>
  70. </generate>
  71. <technique n="4">
  72. <pass>
  73. <program>
  74. <attribute>
  75. <name>tangent</name>
  76. <index>6</index>
  77. </attribute>
  78. <attribute>
  79. <name>binormal</name>
  80. <index>7</index>
  81. </attribute>
  82. </program>
  83. </pass>
  84. </technique>
  85. <technique n="7">
  86. <pass>
  87. <program>
  88. <attribute>
  89. <name>tangent</name>
  90. <index>6</index>
  91. </attribute>
  92. <attribute>
  93. <name>binormal</name>
  94. <index>7</index>
  95. </attribute>
  96. </program>
  97. </pass>
  98. </technique>
  99. <technique n="9">
  100. <pass>
  101. <program>
  102. <attribute>
  103. <name>tangent</name>
  104. <index>6</index>
  105. </attribute>
  106. <attribute>
  107. <name>binormal</name>
  108. <index>7</index>
  109. </attribute>
  110. </program>
  111. </pass>
  112. </technique>
  113. <!-- ########################
  114. ### END NORMALMAP INCLUDE ###
  115. ############################# -->
  116. </PropertyList>