bk117reflect-uber.eff 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <PropertyList>
  3. <name>bk117reflect-uber</name>
  4. <inherits-from>/Effects/model-combined</inherits-from>
  5. <parameters>
  6. <!-- Normal Map -->
  7. <normalmap-enabled >1</normalmap-enabled>
  8. <normalmap-dds type="int">0</normalmap-dds>
  9. <normalmap-tiling type="float"> 1.0 </normalmap-tiling>
  10. <texture n="2">
  11. <image>Aircraft/Robinson-R66/Models/Effects/bumpmap.png</image>
  12. </texture>
  13. <!-- Reflection environment -->
  14. <texture n="4">
  15. <image>Aircraft/Robinson-R66/Models/Effects/greymap.png</image>
  16. <filter>linear-mipmap-linear</filter>
  17. <wrap-s>repeat</wrap-s>
  18. <wrap-t>repeat</wrap-t>
  19. <internal-format>normalized</internal-format>
  20. </texture>
  21. <texture n="5">
  22. <type>cubemap</type>
  23. <images>
  24. <positive-x>Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_px.png</positive-x>
  25. <negative-x>Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_nx.png</negative-x>
  26. <positive-y>Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_py.png</positive-y>
  27. <negative-y>Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_ny.png</negative-y>
  28. <positive-z>Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_pz.png</positive-z>
  29. <negative-z>Aircraft/Generic/Effects/CubeMaps/real.blue-sky/fair-sky_nz.png</negative-z>
  30. </images>
  31. </texture>
  32. <!-- Light Map -->
  33. <lightmap-enabled type="int">0</lightmap-enabled>
  34. <lightmap-multi type="int">0</lightmap-multi>
  35. <lightmap-factor type="float" n="0"><use></use></lightmap-factor>
  36. <lightmap-color type="vec3d" n="0"> 1.0 0.0 0.0 </lightmap-color>
  37. <lightmap-factor type="float" n="1"><use></use></lightmap-factor>
  38. <lightmap-color type="vec3d" n="1"> 1.0 1.0 1.0 </lightmap-color>
  39. <lightmap-factor type="float" n="2"><use></use></lightmap-factor>
  40. <lightmap-color type="vec3d" n="2">1.0 1.0 1.0 </lightmap-color>
  41. <lightmap-factor type="float" n="3">0.0</lightmap-factor>
  42. <lightmap-color type="vec3d" n="3">1.0 0.0 0.0 </lightmap-color>
  43. <texture n="3">
  44. <image>Aircraft/eRobinson-R66/Models/Effects/Lightmaps.png</image>
  45. <filter>linear-mipmap-linear</filter>
  46. <wrap-s>clamp</wrap-s>
  47. <wrap-t>clamp</wrap-t>
  48. <internal-format>normalized</internal-format>
  49. </texture>
  50. <!-- Reflection -->
  51. <reflection-enabled type="int">1</reflection-enabled>
  52. <reflect-map-enabled type="int">1</reflect-map-enabled>
  53. <reflection-dynamic type="int">1</reflection-dynamic>
  54. <reflection-fresnel type="float">0.01</reflection-fresnel>
  55. <reflection-rainbow type="float">0.01</reflection-rainbow>
  56. <reflection-noise type="float">0.01</reflection-noise>
  57. <reflection-correction type="float"><use>/sim/rendering/refl_correction</use></reflection-correction>
  58. <ambient-correction type="float">0.0</ambient-correction>
  59. <dirt-enabled type="int">0</dirt-enabled>
  60. <dirt-color type="vec3d">1.0 1.0 1.0</dirt-color>
  61. <dirt-factor type="float">0.5</dirt-factor>
  62. </parameters>
  63. <!-- ####################
  64. ### NORMALMAP INCLUDE ###
  65. ######################### -->
  66. <generate>
  67. <tangent type="int">6</tangent>
  68. <binormal type="int">7</binormal>
  69. </generate>
  70. <technique n="10">
  71. <pass>
  72. <program>
  73. <attribute>
  74. <name>tangent</name>
  75. <index>6</index>
  76. </attribute>
  77. <attribute>
  78. <name>binormal</name>
  79. <index>7</index>
  80. </attribute>
  81. </program>
  82. </pass>
  83. </technique>
  84. <!-- ########################
  85. ### END NORMALMAP INCLUDE ###
  86. ############################# -->
  87. </PropertyList>