reflect-uber.eff 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <PropertyList>
  3. <name>reflect-uber</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/ec130/Models/Effects/bumpmap.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/ec130/Models/Effects/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. <reflection-fresnel-factor type="float"><use>/sim/rendering/fresnel-factor</use></reflection-fresnel-factor>
  39. <texture n="4">
  40. <image>Aircraft/ec130/Models/Effects/greymap.png</image>
  41. <filter>linear-mipmap-linear</filter>
  42. <wrap-s>clamp</wrap-s>
  43. <wrap-t>clamp</wrap-t>
  44. <internal-format>normalized</internal-format>
  45. </texture>
  46. <texture n="5">
  47. <type>cubemap</type>
  48. <images>
  49. <positive-x>Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_px.png</positive-x>
  50. <negative-x>Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_nx.png</negative-x>
  51. <positive-y>Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_py.png</positive-y>
  52. <negative-y>Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_ny.png</negative-y>
  53. <positive-z>Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_pz.png</positive-z>
  54. <negative-z>Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_nz.png</negative-z>
  55. </images>
  56. </texture>
  57. <reflection-fresnel type="float">0.01</reflection-fresnel>
  58. <reflection-rainbow type="float">0.2</reflection-rainbow>
  59. <reflection-noise type="float">0.01</reflection-noise>
  60. <ambient-correction type="float">0.0</ambient-correction>
  61. <dirt-enabled type="int">0</dirt-enabled>
  62. <dirt-color type="vec3d">1.0 1.0 1.0</dirt-color>
  63. <dirt-factor type="float">0.5</dirt-factor>
  64. </parameters>
  65. <!-- ####################
  66. ### NORMALMAP INCLUDE ###
  67. ######################### -->
  68. <generate>
  69. <tangent type="int">6</tangent>
  70. <binormal type="int">7</binormal>
  71. </generate>
  72. <technique n="4">
  73. <pass>
  74. <program>
  75. <attribute>
  76. <name>tangent</name>
  77. <index>6</index>
  78. </attribute>
  79. <attribute>
  80. <name>binormal</name>
  81. <index>7</index>
  82. </attribute>
  83. </program>
  84. </pass>
  85. </technique>
  86. <technique n="7">
  87. <pass>
  88. <program>
  89. <attribute>
  90. <name>tangent</name>
  91. <index>6</index>
  92. </attribute>
  93. <attribute>
  94. <name>binormal</name>
  95. <index>7</index>
  96. </attribute>
  97. </program>
  98. </pass>
  99. </technique>
  100. <technique n="9">
  101. <pass>
  102. <program>
  103. <attribute>
  104. <name>tangent</name>
  105. <index>6</index>
  106. </attribute>
  107. <attribute>
  108. <name>binormal</name>
  109. <index>7</index>
  110. </attribute>
  111. </program>
  112. </pass>
  113. </technique>
  114. <!-- ########################
  115. ### END NORMALMAP INCLUDE ###
  116. ############################# -->
  117. </PropertyList>