bumpspec.eff 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!-- Bump and specular effect -->
  3. <PropertyList>
  4. <name>bumpspec</name>
  5. <inherits-from>Effects/model-combined-deferred</inherits-from>
  6. <parameters>
  7. <normalmap-enabled type="int"> 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/BAe-125/Models/Effects/Bump/normalmap.png</image>
  12. <filter>linear-mipmap-linear</filter>
  13. <wrap-s>repeat</wrap-s>
  14. <wrap-t>repeat</wrap-t>
  15. <internal-format>normalized</internal-format>
  16. </texture>
  17. <lightmap-enabled type="int"> 0 </lightmap-enabled>
  18. <reflection-enabled type="int"> 1 </reflection-enabled>
  19. <reflection-correction type="float"> -0.1 </reflection-correction>
  20. <reflection-dynamic type="int"> 1 </reflection-dynamic>
  21. <reflection-fresnel type="float"> 0.1 </reflection-fresnel>
  22. <reflection-rainbow type="float"> 0.1 </reflection-rainbow>
  23. <reflection-noise type="float"> 0.0 </reflection-noise>
  24. <texture n= "5" >
  25. <type>cubemap</type>
  26. <images>
  27. <positive-x>Aircraft/Generic/Effects/fgfs-sky2/1.png</positive-x>
  28. <negative-x>Aircraft/Generic/Effects/fgfs-sky2/4.png</negative-x>
  29. <positive-y>Aircraft/Generic/Effects/fgfs-sky2/2.png</positive-y>
  30. <negative-y>Aircraft/Generic/Effects/fgfs-sky2/3.png</negative-y>
  31. <positive-z>Aircraft/Generic/Effects/fgfs-sky2/6.png</positive-z>
  32. <negative-z>Aircraft/Generic/Effects/fgfs-sky2/5.png</negative-z>
  33. </images>
  34. </texture>
  35. <ambient-correction type="float"> 0.1 </ambient-correction>
  36. </parameters>
  37. <!--WARNING: Do not edit below this line -->
  38. <!--
  39. #########################
  40. ### NORMALMAP INCLUDE ###
  41. #########################
  42. -->
  43. <generate>
  44. <tangent type="int">6</tangent>
  45. <binormal type="int">7</binormal>
  46. </generate>
  47. <technique n="4">
  48. <pass>
  49. <program>
  50. <attribute>
  51. <name>tangent</name>
  52. <index>6</index>
  53. </attribute>
  54. <attribute>
  55. <name>binormal</name>
  56. <index>7</index>
  57. </attribute>
  58. </program>
  59. </pass>
  60. </technique>
  61. <technique n="7">
  62. <pass>
  63. <program>
  64. <attribute>
  65. <name>tangent</name>
  66. <index>6</index>
  67. </attribute>
  68. <attribute>
  69. <name>binormal</name>
  70. <index>7</index>
  71. </attribute>
  72. </program>
  73. </pass>
  74. </technique>
  75. <technique n="9">
  76. <pass>
  77. <program>
  78. <attribute>
  79. <name>tangent</name>
  80. <index>6</index>
  81. </attribute>
  82. <attribute>
  83. <name>binormal</name>
  84. <index>7</index>
  85. </attribute>
  86. </program>
  87. </pass>
  88. </technique>
  89. <!--
  90. #############################
  91. ### END NORMALMAP INCLUDE ###
  92. #############################
  93. -->
  94. </PropertyList>