Advertisement
Guest User

Render Template Additions 15 Oct 2015

a guest
Oct 15th, 2015
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.45 KB | None | 0 0
  1. <template name="decal:DIFFUSE_TEXTURE:OPACITY_TEXTURE:SKINNED_3WEIGHTS" sort_value="">
  2. <shader_input_declaration>
  3. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  4. <variable name="opacity_texture" type="texture" ui_name="Opacity Texture (r: diffuse op, g: normalmap op)" expects_gamma_corrected="false"/>
  5. </shader_input_declaration>
  6. <technique name="default">
  7. <method name="decal:default:DIFFUSE_TEXTURE:OPACITY_TEXTURE:SKINNED_3WEIGHTS"/>
  8. </technique>
  9. </template>
  10.  
  11. <template name="effect:BLEND_ADD:DIFFUSE0_TEXTURE:DIFFUSE0_UVANIM:SKINNED_2WEIGHTS:VIEW_ANGLE_FALLOFF_OP" sort_value="">
  12. <shader_input_declaration>
  13. <variable name="diffuse_texture" type="texture" ui_name="Diffuse0 Texture" expects_gamma_corrected="true"/>
  14. <variable name="falloff_exp" type="scalar" ui_name="Opacity View Angle Falloff" min="0.0001" max="2000" step="0.01" default="2"/>
  15. <variable name="uv0_speed" type="vector3" ui_name="Diffuse0 UV Speed" min="-5 -5 0" max="5 5 0" step="0.001 0.001 0.0" default="0.1 0.1 0"/>
  16. <variable name="intensity" type="scalar" ui_type="intensity" ui_name="Intensity"/>
  17. </shader_input_declaration>
  18. <technique name="default">
  19. <method name="effect:default:BLEND_ADD:DIFFUSE0_TEXTURE:DIFFUSE0_UVANIM:SKINNED_2WEIGHTS:VIEW_ANGLE_FALLOFF_OP"/>
  20. </technique>
  21. </template>
  22.  
  23. <template name="effect:BLEND_MUL:DIFFUSE0_TEXTURE:SKINNED_3WEIGHTS" sort_value="">
  24. <shader_input_declaration>
  25. <variable name="diffuse_texture" type="texture" ui_name="Diffuse0 Texture" expects_gamma_corrected="true"/>
  26. <variable name="intensity" type="scalar" ui_type="intensity" ui_name="Intensity"/>
  27. </shader_input_declaration>
  28. <technique name="default">
  29. <method name="effect:default:BLEND_MUL:DIFFUSE0_TEXTURE:SKINNED_3WEIGHTS"/>
  30. </technique>
  31. </template>
  32.  
  33.  
  34.  
  35. <template name="generic:ALPHA_MASKED:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GSMA_ALPHA_MASKING:GSMA_TEXTURE" sort_value="">
  36. <shader_input_declaration>
  37. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  38. <variable name="material_texture" type="texture" ui_name="Gloss-Spec-Material-Alpha Texture (GSMA)" expects_gamma_corrected="true"/>
  39. <variable name="reflection_texture" type="texture" ui_name="Reflection Cube" expects_gamma_corrected="true"/>
  40. </shader_input_declaration>
  41. <technique name="default">
  42. <method name="generic:default:ALPHA_MASKED:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GSMA_ALPHA_MASKING:GSMA_TEXTURE"/>
  43. </technique>
  44. <technique name="shadow_caster">
  45. <method name="generic:shadow_caster:ALPHA_MASKED:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GSMA_ALPHA_MASKING:GSMA_TEXTURE:NVIDIA" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  46. <method name="generic:shadow_caster:ALPHA_MASKED:ATI:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GSMA_ALPHA_MASKING:GSMA_TEXTURE" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  47. <method name="generic:shadow_caster:ALPHA_MASKED:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GSMA_ALPHA_MASKING:GSMA_TEXTURE"/>
  48. </technique>
  49. </template>
  50.  
  51.  
  52.  
  53. <template name="generic:CONTOUR:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE" sort_value="">
  54. <shader_input_declaration>
  55. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  56. <variable name="reflection_texture" type="texture" ui_name="Reflection Cube" expects_gamma_corrected="true"/>
  57. <variable name="contour_color" type="vector3" ui_type="color3" ui_name="Contour color" default="1.0 1.0 1.0" min="0 0 0" max="1 1 1" step="0.01 0.01 0.01"/>
  58. <variable name="contour_opacity" type="scalar" ui_name="Contour opacity" min="0" max="1" step="0.1"/>
  59. </shader_input_declaration>
  60. <technique name="default">
  61. <method name="generic:default:CONTOUR:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE"/>
  62. </technique>
  63. <technique name="shadow_caster">
  64. <method name="generic:shadow_caster:CONTOUR:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:NVIDIA" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  65. <method name="generic:shadow_caster:ATI:CONTOUR:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  66. <method name="generic:shadow_caster:CONTOUR:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE"/>
  67. </technique>
  68. </template>
  69.  
  70.  
  71.  
  72.  
  73. <template name="generic:CUBE_ENVIRONMENT_MAPPING:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1" sort_value="">
  74. <shader_input_declaration>
  75. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  76. <variable name="bump_normal_texture" type="texture" ui_name="Normal map (UV2 else UV1)" expects_gamma_corrected="false"/>
  77. <variable name="reflection_texture" type="texture" ui_name="Reflection Cube" expects_gamma_corrected="true"/>
  78. </shader_input_declaration>
  79. <technique name="default">
  80. <method name="generic:default:CUBE_ENVIRONMENT_MAPPING:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1"/>
  81. </technique>
  82. <technique name="shadow_caster">
  83. <method name="generic:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1:NVIDIA" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  84. <method name="generic:shadow_caster:ATI:CUBE_ENVIRONMENT_MAPPING:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  85. <method name="generic:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1"/>
  86. </technique>
  87. </template>
  88.  
  89.  
  90.  
  91.  
  92. <template name="generic:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE" sort_value="">
  93. <shader_input_declaration>
  94. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  95. <variable name="reflection_texture" type="texture" ui_name="Reflection Cube" expects_gamma_corrected="true"/>
  96. <variable name="glossiness_control" type="scalar" ui_name="Glossiness value" min="0" max="1" step="0.001"/>
  97. </shader_input_declaration>
  98. <technique name="default">
  99. <method name="generic:default:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE"/>
  100. </technique>
  101. <technique name="shadow_caster">
  102. <method name="generic:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE:NVIDIA" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  103. <method name="generic:shadow_caster:ATI:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  104. <method name="generic:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE"/>
  105. </technique>
  106. </template>
  107. <template name="generic:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE:INSTANCED:NORMALMAP" sort_value="">
  108. <shader_input_declaration>
  109. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  110. <variable name="bump_normal_texture" type="texture" ui_name="Normal map (UV2 else UV1)" expects_gamma_corrected="false"/>
  111. <variable name="reflection_texture" type="texture" ui_name="Reflection Cube" expects_gamma_corrected="true"/>
  112. <variable name="glossiness_control" type="scalar" ui_name="Glossiness value" min="0" max="1" step="0.001"/>
  113. </shader_input_declaration>
  114. <technique name="default">
  115. <method name="generic:default:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE:INSTANCED:NORMALMAP"/>
  116. </technique>
  117. <technique name="shadow_caster">
  118. <method name="generic:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE:INSTANCED:NORMALMAP:NVIDIA" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  119. <method name="generic:shadow_caster:ATI:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE:INSTANCED:NORMALMAP" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  120. <method name="generic:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE:INSTANCED:NORMALMAP"/>
  121. </technique>
  122. </template>
  123. <template name="generic:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE:NORMALMAP" sort_value="">
  124. <shader_input_declaration>
  125. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  126. <variable name="bump_normal_texture" type="texture" ui_name="Normal map (UV2 else UV1)" expects_gamma_corrected="false"/>
  127. <variable name="reflection_texture" type="texture" ui_name="Reflection Cube" expects_gamma_corrected="true"/>
  128. <variable name="glossiness_control" type="scalar" ui_name="Glossiness value" min="0" max="1" step="0.001"/>
  129. </shader_input_declaration>
  130. <technique name="default">
  131. <method name="generic:default:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE:NORMALMAP"/>
  132. </technique>
  133. <technique name="shadow_caster">
  134. <method name="generic:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE:NORMALMAP:NVIDIA" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  135. <method name="generic:shadow_caster:ATI:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE:NORMALMAP" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  136. <method name="generic:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE:NORMALMAP"/>
  137. </technique>
  138. </template>
  139. <template name="generic:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE:NORMALMAP:RL_CORE_ENVIRONMENT" sort_value="">
  140. <shader_input_declaration>
  141. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  142. <variable name="bump_normal_texture" type="texture" ui_name="Normal map (UV2 else UV1)" expects_gamma_corrected="false"/>
  143. <variable name="reflection_texture" type="texture" ui_name="Reflection Cube" expects_gamma_corrected="true"/>
  144. <variable name="glossiness_control" type="scalar" ui_name="Glossiness value" min="0" max="1" step="0.001"/>
  145. </shader_input_declaration>
  146. <technique name="default">
  147. <method name="generic:default:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE:NORMALMAP:RL_CORE_ENVIRONMENT"/>
  148. </technique>
  149. <technique name="shadow_caster">
  150. <method name="generic:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE:NORMALMAP:NVIDIA:RL_CORE_ENVIRONMENT" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  151. <method name="generic:shadow_caster:ATI:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE:NORMALMAP:RL_CORE_ENVIRONMENT" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  152. <method name="generic:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GLOSS_CONTROL_VALUE:NORMALMAP:RL_CORE_ENVIRONMENT"/>
  153. </technique>
  154. </template>
  155. <template name="generic:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GSMA_TEXTURE:NORMALMAP" sort_value="">
  156. <shader_input_declaration>
  157. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  158. <variable name="material_texture" type="texture" ui_name="Gloss-Spec-Material-Alpha Texture (GSMA)" expects_gamma_corrected="true"/>
  159. <variable name="bump_normal_texture" type="texture" ui_name="Normal map (UV2 else UV1)" expects_gamma_corrected="false"/>
  160. <variable name="reflection_texture" type="texture" ui_name="Reflection Cube" expects_gamma_corrected="true"/>
  161. </shader_input_declaration>
  162. <technique name="default">
  163. <method name="generic:default:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GSMA_TEXTURE:NORMALMAP"/>
  164. </technique>
  165. <technique name="shadow_caster">
  166. <method name="generic:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GSMA_TEXTURE:NORMALMAP:NVIDIA" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  167. <method name="generic:shadow_caster:ATI:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GSMA_TEXTURE:NORMALMAP" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  168. <method name="generic:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GLOSS_BLURS_CUBEMAP:GSMA_TEXTURE:NORMALMAP"/>
  169. </technique>
  170. </template>
  171. <template name="generic:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GSMA_TEXTURE:NORMALMAP" sort_value="">
  172. <shader_input_declaration>
  173. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  174. <variable name="material_texture" type="texture" ui_name="Gloss-Spec-Material-Alpha Texture (GSMA)" expects_gamma_corrected="true"/>
  175. <variable name="bump_normal_texture" type="texture" ui_name="Normal map (UV2 else UV1)" expects_gamma_corrected="false"/>
  176. <variable name="reflection_texture" type="texture" ui_name="Reflection Cube" expects_gamma_corrected="true"/>
  177. </shader_input_declaration>
  178. <technique name="default">
  179. <method name="generic:default:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GSMA_TEXTURE:NORMALMAP"/>
  180. </technique>
  181. <technique name="shadow_caster">
  182. <method name="generic:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GSMA_TEXTURE:NORMALMAP:NVIDIA" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  183. <method name="generic:shadow_caster:ATI:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GSMA_TEXTURE:NORMALMAP" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  184. <method name="generic:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:GSMA_TEXTURE:NORMALMAP"/>
  185. </technique>
  186. </template>
  187.  
  188.  
  189. <template name="generic:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1" sort_value="">
  190. <shader_input_declaration>
  191. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  192. <variable name="bump_normal_texture" type="texture" ui_name="Normal map (UV2 else UV1)" expects_gamma_corrected="false"/>
  193. <variable name="reflection_texture" type="texture" ui_name="Reflection Cube" expects_gamma_corrected="true"/>
  194. </shader_input_declaration>
  195. <technique name="default">
  196. <method name="generic:default:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1"/>
  197. </technique>
  198. <technique name="shadow_caster">
  199. <method name="generic:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1:NVIDIA" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  200. <method name="generic:shadow_caster:ATI:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  201. <method name="generic:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1"/>
  202. </technique>
  203. </template>
  204.  
  205.  
  206.  
  207.  
  208. <template name="generic:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:SKINNED_3WEIGHTS" sort_value="">
  209. <shader_input_declaration>
  210. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  211. <variable name="reflection_texture" type="texture" ui_name="Reflection Cube" expects_gamma_corrected="true"/>
  212. </shader_input_declaration>
  213. <technique name="default">
  214. <method name="generic:default:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:SKINNED_3WEIGHTS"/>
  215. </technique>
  216. <technique name="shadow_caster">
  217. <method name="generic:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:NVIDIA:SKINNED_3WEIGHTS" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  218. <method name="generic:shadow_caster:ATI:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:SKINNED_3WEIGHTS" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  219. <method name="generic:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DIFFUSE_TEXTURE:SKINNED_3WEIGHTS"/>
  220. </technique>
  221. </template>
  222.  
  223.  
  224.  
  225. <template name="generic:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1" sort_value="">
  226. <shader_input_declaration>
  227. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  228. <variable name="bump_normal_texture" type="texture" ui_name="Normal map (UV2 else UV1)" expects_gamma_corrected="false"/>
  229. </shader_input_declaration>
  230. <technique name="default">
  231. <method name="generic:default:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1"/>
  232. </technique>
  233. <technique name="shadow_caster">
  234. <method name="generic:shadow_caster:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1:NVIDIA" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  235. <method name="generic:shadow_caster:ATI:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  236. <method name="generic:shadow_caster:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1"/>
  237. </technique>
  238. </template>
  239. <template name="generic:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1:SKINNED_3WEIGHTS" sort_value="">
  240. <shader_input_declaration>
  241. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  242. <variable name="bump_normal_texture" type="texture" ui_name="Normal map (UV2 else UV1)" expects_gamma_corrected="false"/>
  243. </shader_input_declaration>
  244. <technique name="default">
  245. <method name="generic:default:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1:SKINNED_3WEIGHTS"/>
  246. </technique>
  247. <technique name="shadow_caster">
  248. <method name="generic:shadow_caster:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1:NVIDIA:SKINNED_3WEIGHTS" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  249. <method name="generic:shadow_caster:ATI:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1:SKINNED_3WEIGHTS" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  250. <method name="generic:shadow_caster:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP:NORMALMAP_UV1:SKINNED_3WEIGHTS"/>
  251. </technique>
  252. </template>
  253.  
  254.  
  255.  
  256. <template name="generic:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP_UV1" sort_value="">
  257. <shader_input_declaration>
  258. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  259. </shader_input_declaration>
  260. <technique name="default">
  261. <method name="generic:default:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP_UV1"/>
  262. </technique>
  263. <technique name="shadow_caster">
  264. <method name="generic:shadow_caster:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP_UV1:NVIDIA" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  265. <method name="generic:shadow_caster:ATI:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP_UV1" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  266. <method name="generic:shadow_caster:DEPTH_SCALING:DIFFUSE_TEXTURE:NORMALMAP_UV1"/>
  267. </technique>
  268. </template>
  269.  
  270.  
  271.  
  272. <template name="generic:DETAIL_TEXTURE_2:DIFFUSE_TEXTURE:NORMALMAP" sort_value="">
  273. <shader_input_declaration>
  274. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  275. <variable name="diffuse_layer1_texture" type="texture" ui_name="Seperate blend mask (UV1)" expects_gamma_corrected="true"/>
  276. <variable name="bump_normal_texture" type="texture" ui_name="Normal map (UV2 else UV1)" expects_gamma_corrected="false"/>
  277. </shader_input_declaration>
  278. <technique name="default">
  279. <method name="generic:default:DETAIL_TEXTURE_2:DIFFUSE_TEXTURE:NORMALMAP"/>
  280. </technique>
  281. <technique name="shadow_caster">
  282. <method name="generic:shadow_caster:DETAIL_TEXTURE_2:DIFFUSE_TEXTURE:NORMALMAP:NVIDIA" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  283. <method name="generic:shadow_caster:ATI:DETAIL_TEXTURE_2:DIFFUSE_TEXTURE:NORMALMAP" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  284. <method name="generic:shadow_caster:DETAIL_TEXTURE_2:DIFFUSE_TEXTURE:NORMALMAP"/>
  285. </technique>
  286. </template>
  287.  
  288.  
  289. <template name="generic:DIFFUSE_TEXTURE:GSMA_TEXTURE:NORMALMAP" sort_value="">
  290. <shader_input_declaration>
  291. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  292. <variable name="material_texture" type="texture" ui_name="Gloss-Spec-Material-Alpha Texture (GSMA)" expects_gamma_corrected="true"/>
  293. <variable name="bump_normal_texture" type="texture" ui_name="Normal map (UV2 else UV1)" expects_gamma_corrected="false"/>
  294. </shader_input_declaration>
  295. <technique name="default">
  296. <method name="generic:default:DIFFUSE_TEXTURE:GSMA_TEXTURE:NORMALMAP"/>
  297. </technique>
  298. <technique name="shadow_caster">
  299. <method name="generic:shadow_caster:DIFFUSE_TEXTURE:GSMA_TEXTURE:NORMALMAP:NVIDIA" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  300. <method name="generic:shadow_caster:ATI:DIFFUSE_TEXTURE:GSMA_TEXTURE:NORMALMAP" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  301. <method name="generic:shadow_caster:DIFFUSE_TEXTURE:GSMA_TEXTURE:NORMALMAP"/>
  302. </technique>
  303. </template>
  304.  
  305. <template name="opacity:CUBE_ENVIRONMENT_MAPPING:CUBE_FRESNEL:DIFFUSE_TEXTURE:SKINNED_1WEIGHT" sort_value="">
  306. <shader_input_declaration>
  307. <variable name="reflection_texture" type="texture" ui_name="Reflection Cube" expects_gamma_corrected="true"/>
  308. <variable name="opacity_texture" type="texture" ui_name="Opacity Texture (UV5)" expects_gamma_corrected="false"/>
  309. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  310. <variable name="fresnel_settings" type="vector3" ui_name="Falloff Settings (Falloff curve, Falloff multiplier, Opacity dimmer)" default="0 1 0.5" min="0 0 0" max="2 1 1" step="0.01 0.01 0.01"/>
  311. </shader_input_declaration>
  312. <technique name="default">
  313. <method name="opacity:default:CUBE_ENVIRONMENT_MAPPING:CUBE_FRESNEL:DIFFUSE_TEXTURE:NVIDIA:SKINNED_1WEIGHT" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  314. <method name="opacity:default:ATI:CUBE_ENVIRONMENT_MAPPING:CUBE_FRESNEL:DIFFUSE_TEXTURE:SKINNED_1WEIGHT" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  315. <method name="opacity:default:CUBE_ENVIRONMENT_MAPPING:CUBE_FRESNEL:DIFFUSE_TEXTURE:SKINNED_1WEIGHT"/>
  316. </technique>
  317. </template>
  318.  
  319.  
  320.  
  321. <template name="generic_customizable:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DEPTH_SCALING:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:SKINNED_3WEIGHTS:WEAR_TEAR_MASKING" sort_value="">
  322. <shader_input_declaration>
  323. <variable name="diffuse_layer3_texture" type="texture" ui_name="Decal (UV2)" expects_gamma_corrected="false"/>
  324. <variable name="diffuse_layer1_texture" type="texture" ui_name="Base color gradient map" expects_gamma_corrected="true"/>
  325. <variable name="diffuse_layer2_texture" type="texture" ui_name="Pattern gradient texture" expects_gamma_corrected="true"/>
  326. <variable name="diffuse_layer0_texture" type="texture" ui_name="Pattern on second UV" expects_gamma_corrected="true"/>
  327. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  328. <variable name="bump_normal_texture" type="texture" ui_name="Normal map (UV2 else UV1)" expects_gamma_corrected="false"/>
  329. <variable name="reflection_texture" type="texture" ui_name="Reflection Cube" expects_gamma_corrected="true"/>
  330. <variable name="uv_scale" type="vector3" ui_type="vector3" ui_name="Sticker Scale x y, Sticker Spec Influence" default="1 1 1" min="0.005 0.005 0.0" max="100 100 1" step="0.01 0.01 0.015"/>
  331. <variable name="uv_offset_rot" type="vector3" ui_type="vector3" ui_name="Sticker Position Offset x y, Sticker Rotation" default="0 0 0" min="-2.0 -2.0 -4.0" max="2 2 4" step="0.001 0.001 0.005"/>
  332. <variable name="pattern_tweak" type="vector3" ui_type="vector3" ui_name="Pattern Tiling, Pattern Rotation, Pattern Spec Opacity" default="1 0 1" min="0.005 -4.0 0.0" max="100 4.0 1.01" step="0.05 0.05 0.015"/>
  333. <variable name="pattern_pos" type="vector3" ui_type="vector2" ui_name="Pattern offset" default="0 0 0" min="-10.0 -10.0 0.0" max="10 10 0" step="0.001 0.001 0.001"/>
  334. <variable name="wear_tear_value" type="scalar" ui_name="Wear and Tear Mask Reference" min="0.00" max="1.00" default="0.1" step="0.05"/>
  335. <variable name="cubemap_pattern_control" type="vector3" ui_type="vector2" ui_name="Pattern Cubemap Intesity, Pattern Cubemap influence" min="0.00 0.00" max="1.0 1.0" default="0.0 0.0" step="0.1 0.1"/>
  336. </shader_input_declaration>
  337. <technique name="default">
  338. <method name="generic_customizable:default:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DEPTH_SCALING:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:SKINNED_3WEIGHTS:WEAR_TEAR_MASKING"/>
  339. </technique>
  340. <technique name="shadow_caster">
  341. <method name="generic_customizable:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DEPTH_SCALING:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:NVIDIA:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:SKINNED_3WEIGHTS:WEAR_TEAR_MASKING" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  342. <method name="generic_customizable:shadow_caster:ATI:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DEPTH_SCALING:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:SKINNED_3WEIGHTS:WEAR_TEAR_MASKING" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  343. <method name="generic_customizable:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DEPTH_SCALING:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:SKINNED_3WEIGHTS:WEAR_TEAR_MASKING"/>
  344. </technique>
  345. </template>
  346.  
  347.  
  348.  
  349. <template name="generic_customizable:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DEPTH_SCALING:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:WEAR_TEAR_MASKING" sort_value="">
  350. <shader_input_declaration>
  351. <variable name="diffuse_layer3_texture" type="texture" ui_name="Decal (UV2)" expects_gamma_corrected="false"/>
  352. <variable name="diffuse_layer1_texture" type="texture" ui_name="Base color gradient map" expects_gamma_corrected="true"/>
  353. <variable name="diffuse_layer2_texture" type="texture" ui_name="Pattern gradient texture" expects_gamma_corrected="true"/>
  354. <variable name="diffuse_layer0_texture" type="texture" ui_name="Pattern on second UV" expects_gamma_corrected="true"/>
  355. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  356. <variable name="bump_normal_texture" type="texture" ui_name="Normal map (UV2 else UV1)" expects_gamma_corrected="false"/>
  357. <variable name="reflection_texture" type="texture" ui_name="Reflection Cube" expects_gamma_corrected="true"/>
  358. <variable name="uv_scale" type="vector3" ui_type="vector3" ui_name="Sticker Scale x y, Sticker Spec Influence" default="1 1 1" min="0.005 0.005 0.0" max="100 100 1" step="0.01 0.01 0.015"/>
  359. <variable name="uv_offset_rot" type="vector3" ui_type="vector3" ui_name="Sticker Position Offset x y, Sticker Rotation" default="0 0 0" min="-2.0 -2.0 -4.0" max="2 2 4" step="0.001 0.001 0.005"/>
  360. <variable name="pattern_tweak" type="vector3" ui_type="vector3" ui_name="Pattern Tiling, Pattern Rotation, Pattern Spec Opacity" default="1 0 1" min="0.005 -4.0 0.0" max="100 4.0 1.01" step="0.05 0.05 0.015"/>
  361. <variable name="pattern_pos" type="vector3" ui_type="vector2" ui_name="Pattern offset" default="0 0 0" min="-10.0 -10.0 0.0" max="10 10 0" step="0.001 0.001 0.001"/>
  362. <variable name="wear_tear_value" type="scalar" ui_name="Wear and Tear Mask Reference" min="0.00" max="1.00" default="0.1" step="0.05"/>
  363. <variable name="cubemap_pattern_control" type="vector3" ui_type="vector2" ui_name="Pattern Cubemap Intesity, Pattern Cubemap influence" min="0.00 0.00" max="1.0 1.0" default="0.0 0.0" step="0.1 0.1"/>
  364. </shader_input_declaration>
  365. <technique name="default">
  366. <method name="generic_customizable:default:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DEPTH_SCALING:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:WEAR_TEAR_MASKING"/>
  367. </technique>
  368. <technique name="shadow_caster">
  369. <method name="generic_customizable:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DEPTH_SCALING:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:NVIDIA:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:WEAR_TEAR_MASKING" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  370. <method name="generic_customizable:shadow_caster:ATI:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DEPTH_SCALING:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:WEAR_TEAR_MASKING" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  371. <method name="generic_customizable:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DEPTH_SCALING:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:WEAR_TEAR_MASKING"/>
  372. </technique>
  373. </template>
  374.  
  375.  
  376.  
  377. <template name="generic_customizable:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:SKINNED_3WEIGHTS:WEAR_TEAR_MASKING" sort_value="">
  378. <shader_input_declaration>
  379. <variable name="diffuse_layer3_texture" type="texture" ui_name="Decal (UV2)" expects_gamma_corrected="false"/>
  380. <variable name="diffuse_layer1_texture" type="texture" ui_name="Base color gradient map" expects_gamma_corrected="true"/>
  381. <variable name="diffuse_layer2_texture" type="texture" ui_name="Pattern gradient texture" expects_gamma_corrected="true"/>
  382. <variable name="diffuse_layer0_texture" type="texture" ui_name="Pattern on second UV" expects_gamma_corrected="true"/>
  383. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  384. <variable name="bump_normal_texture" type="texture" ui_name="Normal map (UV2 else UV1)" expects_gamma_corrected="false"/>
  385. <variable name="reflection_texture" type="texture" ui_name="Reflection Cube" expects_gamma_corrected="true"/>
  386. <variable name="pattern_tweak" type="vector3" ui_type="vector3" ui_name="Pattern Tiling, Pattern Rotation, Pattern Spec Opacity" default="1 0 1" min="0.005 -4.0 0.0" max="100 4.0 1.01" step="0.05 0.05 0.015"/>
  387. <variable name="pattern_pos" type="vector3" ui_type="vector2" ui_name="Pattern offset" default="0 0 0" min="-10.0 -10.0 0.0" max="10 10 0" step="0.001 0.001 0.001"/>
  388. <variable name="uv_scale" type="vector3" ui_type="vector3" ui_name="Sticker Scale x y, Sticker Spec Influence" default="1 1 1" min="0.005 0.005 0.0" max="100 100 1" step="0.01 0.01 0.015"/>
  389. <variable name="uv_offset_rot" type="vector3" ui_type="vector3" ui_name="Sticker Position Offset x y, Sticker Rotation" default="0 0 0" min="-2.0 -2.0 -4.0" max="2 2 4" step="0.001 0.001 0.005"/>
  390. <variable name="wear_tear_value" type="scalar" ui_name="Wear and Tear Mask Reference" min="0.00" max="1.00" default="0.1" step="0.05"/>
  391. <variable name="cubemap_pattern_control" type="vector3" ui_type="vector2" ui_name="Pattern Cubemap Intesity, Pattern Cubemap influence" min="0.00 0.00" max="1.0 1.0" default="0.0 0.0" step="0.1 0.1"/>
  392. </shader_input_declaration>
  393. <technique name="default">
  394. <method name="generic_customizable:default:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:SKINNED_3WEIGHTS:WEAR_TEAR_MASKING"/>
  395. </technique>
  396. <technique name="shadow_caster">
  397. <method name="generic_customizable:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:NVIDIA:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:SKINNED_3WEIGHTS:WEAR_TEAR_MASKING" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  398. <method name="generic_customizable:shadow_caster:ATI:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:SKINNED_3WEIGHTS:WEAR_TEAR_MASKING" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  399. <method name="generic_customizable:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:SKINNED_3WEIGHTS:WEAR_TEAR_MASKING"/>
  400. </technique>
  401. </template>
  402.  
  403.  
  404.  
  405. <template name="generic_customizable:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:WEAR_TEAR_MASKING" sort_value="">
  406. <shader_input_declaration>
  407. <variable name="diffuse_layer3_texture" type="texture" ui_name="Decal (UV2)" expects_gamma_corrected="false"/>
  408. <variable name="diffuse_layer1_texture" type="texture" ui_name="Base color gradient map" expects_gamma_corrected="true"/>
  409. <variable name="diffuse_layer2_texture" type="texture" ui_name="Pattern gradient texture" expects_gamma_corrected="true"/>
  410. <variable name="diffuse_layer0_texture" type="texture" ui_name="Pattern on second UV" expects_gamma_corrected="true"/>
  411. <variable name="diffuse_texture" type="texture" ui_name="Diffuse Texture (UV1)" expects_gamma_corrected="true"/>
  412. <variable name="bump_normal_texture" type="texture" ui_name="Normal map (UV2 else UV1)" expects_gamma_corrected="false"/>
  413. <variable name="reflection_texture" type="texture" ui_name="Reflection Cube" expects_gamma_corrected="true"/>
  414. <variable name="pattern_tweak" type="vector3" ui_type="vector3" ui_name="Pattern Tiling, Pattern Rotation, Pattern Spec Opacity" default="1 0 1" min="0.005 -4.0 0.0" max="100 4.0 1.01" step="0.05 0.05 0.015"/>
  415. <variable name="pattern_pos" type="vector3" ui_type="vector2" ui_name="Pattern offset" default="0 0 0" min="-10.0 -10.0 0.0" max="10 10 0" step="0.001 0.001 0.001"/>
  416. <variable name="uv_scale" type="vector3" ui_type="vector3" ui_name="Sticker Scale x y, Sticker Spec Influence" default="1 1 1" min="0.005 0.005 0.0" max="100 100 1" step="0.01 0.01 0.015"/>
  417. <variable name="uv_offset_rot" type="vector3" ui_type="vector3" ui_name="Sticker Position Offset x y, Sticker Rotation" default="0 0 0" min="-2.0 -2.0 -4.0" max="2 2 4" step="0.001 0.001 0.005"/>
  418. <variable name="wear_tear_value" type="scalar" ui_name="Wear and Tear Mask Reference" min="0.00" max="1.00" default="0.1" step="0.05"/>
  419. <variable name="cubemap_pattern_control" type="vector3" ui_type="vector2" ui_name="Pattern Cubemap Intesity, Pattern Cubemap influence" min="0.00 0.00" max="1.0 1.0" default="0.0 0.0" step="0.1 0.1"/>
  420. </shader_input_declaration>
  421. <technique name="default">
  422. <method name="generic_customizable:default:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:WEAR_TEAR_MASKING"/>
  423. </technique>
  424. <technique name="shadow_caster">
  425. <method name="generic_customizable:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:NVIDIA:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:WEAR_TEAR_MASKING" platforms="PCD3D9" required_caps="nv_shadow_buffer"/>
  426. <method name="generic_customizable:shadow_caster:ATI:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:WEAR_TEAR_MASKING" platforms="PCD3D9" required_caps="ati_depth_texture_16"/>
  427. <method name="generic_customizable:shadow_caster:CUBE_ENVIRONMENT_MAPPING:DECAL_STICKER_UV2:DIFFUSE_TEXTURE:GRADIENTMAP:NORMALMAP:PATTERN_GRADIENTMAP:PATTERN_GRADIENTMAP_ANGLE_OFFSET:PATTERN_UV2:WEAR_TEAR_MASKING"/>
  428. </technique>
  429. </template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement