Advertisement
Guest User

Untitled

a guest
Sep 3rd, 2016
890
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 95.04 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <!--
  4. <[[
  5.  
  6. Description = "GTAV materials configuration script"
  7. Version = 1.2.4
  8.  
  9. ]]>
  10. -->
  11.  
  12.  
  13. <configset>
  14. <!--
  15. //=====================================
  16. //
  17. // General-purpose group of shaders:
  18. //
  19. //=====================================
  20. -->
  21. <config title="spec"
  22. group="GTAV\Generic"
  23. hint="Detail and specular map">
  24. <undo mode="IMaterial" />
  25. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  26. <basics class="rend::CShaderMaterial" shader="system.diff_spec" adapt="spec"
  27. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  28. <color type="ambient" value="(0, 0, 0)" />
  29. <color type="emissive" value="(0, 0, 0)" />
  30. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  31. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  32. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  33. <sampler type="Spec" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  34. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  35. <user name="wetnessMultiplier" mode="add" value="1" />
  36. <user name="specularIntensityMult" mode="add" value="0.5" />
  37. <user name="specularFalloffMult" mode="add" value="180" />
  38. <user name="specularFresnel" mode="add" value="0.75" />
  39. <user name="globalAnimUV0" mode="add" value="1, 0" />
  40. <user name="globalAnimUV1" mode="add" value="0, 1" />
  41. <user name="Crash" mode="add" value="1" />
  42. <user name="Crash" mode="add" value="" />
  43. </config>
  44.  
  45.  
  46. <config title="emissive"
  47. group="GTAV\Generic"
  48. hint="Detail is emissive light mask">
  49. <undo mode="IMaterial" />
  50. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  51. <basics class="rend::CShaderMaterial" shader="system.diff" adapt="emissive"
  52. specular="off" options="+IgnoreVertexColor"/>
  53. <color type="ambient" value="(0, 0, 0)" />
  54. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  55. <advancedcolor type="emissive" value="(0, 0, 0)" level="100" affectMap="Detail" affectTexel="Gray"/>
  56. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  57. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  58. <user name="emissiveMultiplier" mode="add" value="1" />
  59. <user name="globalAnimUV0" mode="add" value="1, 0" />
  60. <user name="globalAnimUV1" mode="add" value="0, 1" />
  61. </config>
  62.  
  63.  
  64. <config title="normal"
  65. group="GTAV\Generic"
  66. hint="Bump-mapped with detail map">
  67. <undo mode="IMaterial" />
  68. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  69. <basics class="rend::CShaderMaterial" shader="system.bump.diff" adapt="normal"
  70. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  71. <color type="ambient" value="(0, 0, 0)" />
  72. <color type="emissive" value="(0, 0, 0)" />
  73. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  74. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  75. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  76. <sampler type="Bump" inputMap="Bump" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  77. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  78. <user name="wetnessMultiplier" mode="add" value="1" />
  79. <user name="specularIntensityMult" mode="add" value="0.5" />
  80. <user name="specularFalloffMult" mode="add" value="180" />
  81. <user name="specularFresnel" mode="add" value="0.75" />
  82. <user name="globalAnimUV0" mode="add" value="1, 0" />
  83. <user name="globalAnimUV1" mode="add" value="0, 1" />
  84. </config>
  85.  
  86.  
  87. <config title="normal_spec"
  88. group="GTAV\Generic"
  89. hint="Bump-mapped with detail map and specular map">
  90. <undo mode="IMaterial" />
  91. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  92. <basics class="rend::CShaderMaterial" shader="system.bump.diff_spec" adapt="normal_spec"
  93. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  94. <color type="ambient" value="(0, 0, 0)" />
  95. <color type="emissive" value="(0, 0, 0)" />
  96. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  97. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  98. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  99. <sampler type="Bump" inputMap="Bump" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  100. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  101. <sampler type="Spec" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  102. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  103. <user name="wetnessMultiplier" mode="add" value="1" />
  104. <user name="specularIntensityMult" mode="add" value="0.5" />
  105. <user name="specularFalloffMult" mode="add" value="180" />
  106. <user name="specularFresnel" mode="add" value="0.75" />
  107. </config>
  108.  
  109. <config title="normal_spec_reflect"
  110. group="GTAV\Generic"
  111. hint="Bump-mapped with detail map and specular map">
  112. <undo mode="IMaterial" />
  113. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  114. <basics class="rend::CShaderMaterial" shader="system.bump.diff_spec_refl" adapt="normal_spec_reflect"
  115. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  116. <color type="ambient" value="(0, 0, 0)" />
  117. <color type="emissive" value="(0, 0, 0)" />
  118. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  119. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  120. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  121. <sampler type="Bump" inputMap="Bump" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  122. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  123. <sampler type="Spec" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  124. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  125. <sampler type="Env" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Const"
  126. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  127. <user name="specularIntensityMult" mode="add" value="0.5" />
  128. <user name="specularFalloffMult" mode="add" value="180" />
  129. <user name="specularFresnel" mode="add" value="0.75" />
  130. </config>
  131.  
  132. <config title="normal_spec_decal"
  133. group="GTAV\Generic"
  134. hint="Detail.A is opacity mask for bump-mapped and specular-mapped decal">
  135. <undo mode="IMaterial" />
  136. <alpha vertAffect="Off" mapAffect="Detail" mapTexel="A" blendSrc="SrcAlpha" blendDest="InvSrcAlpha"
  137. opacity="1.0" mapAffectLevel="1.0" clip="off"/>
  138. <basics class="rend::CShaderMaterial" shader="system.bump.diff_spec" adapt="normal_spec_decal"
  139. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  140. <color type="ambient" value="(0, 0, 0)" />
  141. <color type="emissive" value="(0, 0, 0)" />
  142. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  143. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  144. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  145. <sampler type="Bump" inputMap="Bump" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  146. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  147. <sampler type="Spec" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  148. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  149. <user name="wetnessMultiplier" mode="add" value="1" />
  150. <user name="specularIntensityMult" mode="add" value="0.5" />
  151. <user name="specularFalloffMult" mode="add" value="180" />
  152. <user name="specularFresnel" mode="add" value="0.75" />
  153. <user name="globalAnimUV0" mode="add" value="1, 0" />
  154. <user name="globalAnimUV1" mode="add" value="0, 1" />
  155. </config>
  156.  
  157. <config title="normal_decal"
  158. group="GTAV\Generic"
  159. hint="Detail.A is opacity mask for bump-mapped decal">
  160. <undo mode="IMaterial" />
  161. <alpha vertAffect="Off" mapAffect="Detail" mapTexel="A" blendSrc="SrcAlpha" blendDest="InvSrcAlpha"
  162. opacity="1.0" mapAffectLevel="1.0" clip="off"/>
  163. <basics class="rend::CShaderMaterial" shader="system.bump.diff" adapt="normal_decal"
  164. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  165. <color type="ambient" value="(0, 0, 0)" />
  166. <color type="emissive" value="(0, 0, 0)" />
  167. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  168. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  169. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  170. <sampler type="Bump" inputMap="Bump" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  171. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  172. <user name="wetnessMultiplier" mode="add" value="1" />
  173. <user name="specularIntensityMult" mode="add" value="0.5" />
  174. <user name="specularFalloffMult" mode="add" value="180" />
  175. <user name="specularFresnel" mode="add" value="0.75" />
  176. <user name="globalAnimUV0" mode="add" value="1, 0" />
  177. <user name="globalAnimUV1" mode="add" value="0, 1" />
  178. </config>
  179.  
  180. <config title="vehicle_vehglass"
  181. group="GTAV\Vehicle generic"
  182. hint="Outer side of vehicle glass. Alpha-blended (via Detail.A) with specular map and dirt/dust effect on UV#2.">
  183.  
  184.  
  185. <config title="decal"
  186. group="GTAV\Generic"
  187. hint="Detail.A masked decal overlay">
  188. <undo mode="IMaterial" />
  189. <alpha vertAffect="Off" mapAffect="Detail" mapTexel="A" blendSrc="SrcAlpha" blendDest="InvSrcAlpha"
  190. opacity="1.0" mapAffectLevel="1.0" clip="off"/>
  191. <basics class="rend::CShaderMaterial" shader="system.diff" adapt="decal"
  192. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  193. <color type="ambient" value="(0, 0, 0)" />
  194. <color type="emissive" value="(0, 0, 0)" />
  195. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  196. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  197. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  198. <user name="wetnessMultiplier" mode="add" value="1" />
  199. <user name="specularIntensityMult" mode="add" value="0.5" />
  200. <user name="specularFalloffMult" mode="add" value="180" />
  201. <user name="specularFresnel" mode="add" value="0.75" />
  202. </config>
  203.  
  204. <config title="mirror_decal"
  205. group="GTAV\Generic"
  206. hint="Masked mirror reflection as bump-mapped decal">
  207. <undo mode="IMaterial" />
  208. <alpha vertAffect="Off" mapAffect="Bump" mapTexel="Gray" blendSrc="SrcAlpha" blendDest="InvSrcAlpha"
  209. opacity="1.0" mapAffectLevel="1.0" clip="off"/>
  210. <basics class="rend::CShaderMaterial" shader="system.bump.color" adapt="mirror_decal"
  211. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  212. <color type="ambient" value="(0, 0, 0)" />
  213. <color type="emissive" value="(0, 0, 0)" />
  214. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  215. <sampler type="Bump" inputMap="Bump" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  216. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  217. <user name="gMirrorDebugParams" mode="add" value="0" />
  218. <user name="gMirrorBounds" mode="add" value="0, 0, 0, 0" />
  219. <user name="gMirrorDistortionAmount" mode="add" value="10" />
  220. <user name="reflectivePower" mode="add" value="1" />
  221. </config>
  222.  
  223. <config title="mirror_default"
  224. group="GTAV\Generic"
  225. hint="Masked mirror reflection as bump-mapped decal">
  226. <undo mode="IMaterial" />
  227. <alpha vertAffect="Off" mapAffect="Const" mapTexel="A" blendSrc="One" blendDest="Zero"
  228. opacity="1.0" mapAffectLevel="1.0" clip="off"/>
  229. <basics class="rend::CShaderMaterial" shader="system.diff_spec" adapt="mirror_default"
  230. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  231. <color type="ambient" value="(0, 0, 0)" />
  232. <color type="emissive" value="(0, 0, 0)" />
  233. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  234. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  235. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  236. <sampler type="Spec" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  237. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  238. <user name="gMirrorBounds" mode="add" value="0, 0, 0, 0" />
  239. <user name="specularIntensityMult" mode="add" value="0.5" />
  240. </config>
  241.  
  242. <config title="weapon_normal_spec_detail_palette"
  243. group="GTAV\Generic"
  244. hint="Weapon with bump, spec and palette selector.">
  245. <undo mode="IMaterial" />
  246. <alpha vertAffect="Off" mapAffect="Detail" mapTexel="A" blendSrc="SrcAlpha" blendDest="InvSrcAlpha"
  247. opacity="1.0" mapAffectLevel="1.0" clip="off"/>
  248. <basics class="rend::CShaderMaterial" shader="system.bump.triplediff.spec_refl" adapt="weapon_normal_spec_detail_palette"
  249. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  250. <color type="ambient" value="(0, 0, 0)" />
  251. <color type="emissive" value="(0, 0, 0)" />
  252. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  253. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  254. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  255. <sampler type="Detail2" inputMap="Detail2" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  256. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  257. <sampler type="Detail3" inputMap="Detail3" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  258. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  259. <sampler type="Bump" inputMap="Bump" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  260. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  261. <sampler type="Spec" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  262. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  263. <user name="detailSettings" mode="add" value="0.1, 0.1, 8, 8" />
  264. <user name="paletteSelector" mode="add" value="0" />
  265. <user name="specular2Color" mode="add" value="1, 1, 1" />
  266. <user name="specular2ColorIntensity" mode="add" value="1" />
  267. <user name="specular2Factor" mode="add" value="100" />
  268. <user name="specularIntensityMult" mode="add" value="0.5" />
  269. <user name="specularFalloffMult" mode="add" value="180" />
  270. <user name="specularFresnel" mode="add" value="0.75" />
  271. </config>
  272.  
  273. <config title="weapon_normal_spec_cutout_palette"
  274. group="GTAV\Generic"
  275. hint="Weapon with bump, spec and palette selector, Alpha-test">
  276. <undo mode="IMaterial" />
  277. <alpha vertAffect="Off" mapAffect="Detail" mapTexel="A" blendSrc="SrcAlpha" blendDest="InvSrcAlpha"
  278. opacity="1.0" mapAffectLevel="1.0" clip="on"/>
  279. <basics class="rend::CShaderMaterial" shader="system.bump.dualdiff.spec_refl" adapt="weapon_normal_spec_cutout_palette"
  280. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  281. <color type="ambient" value="(0, 0, 0)" />
  282. <color type="emissive" value="(0, 0, 0)" />
  283. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  284. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  285. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  286. <sampler type="Detail2" inputMap="Detail2" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  287. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  288. <sampler type="Bump" inputMap="Bump" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  289. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  290. <sampler type="Spec" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  291. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  292. <user name="HardAlphaBlend" mode="add" value="1" />
  293. <user name="paletteSelector" mode="add" value="0" />
  294. <user name="specular2Color" mode="add" value="1, 1, 1" />
  295. <user name="specular2ColorIntensity" mode="add" value="1" />
  296. <user name="specular2Factor" mode="add" value="100" />
  297. <user name="specularIntensityMult" mode="add" value="0.5" />
  298. <user name="specularFalloffMult" mode="add" value="180" />
  299. <user name="specularFresnel" mode="add" value="0.75" />
  300. </config>
  301.  
  302. <!--
  303. //=====================================
  304. //
  305. // Generic Vehicle group of shaders:
  306. //
  307. //=====================================
  308. -->
  309. <config title="vehicle_basic"
  310. group="GTAV\Vehicle generic"
  311. hint="Detail with bump and specular (all on UV#1) without alpha or damage/effects map">
  312. <undo mode="IMaterial" />
  313. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  314. <basics class="rend::CShaderMaterial" shader="system.bump.diff_spec_refl" adapt="vehicle_basic"
  315. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  316. <color type="ambient" value="(0, 0, 0)" />
  317. <color type="emissive" value="(0, 0, 0)" />
  318. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  319. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  320. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  321. <sampler type="Bump" texture="blank_normal.dds" inputMap="Bump" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  322. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  323. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  324. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  325. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  326. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  327. <user name="specularIntensityMult" mode="add" value="0.5" />
  328. <user name="specularFalloffMult" mode="add" value="180" />
  329. <user name="specularFresnel" mode="add" value="0.75" />
  330. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  331. </config>
  332.  
  333.  
  334. <config title="vehicle_blurredrotor"
  335. group="GTAV\Vehicle generic"
  336. hint="Detail.A is opacity level for itself with specular map">
  337. <undo mode="IMaterial" />
  338. <alpha vertAffect="Off" mapAffect="Detail" mapTexel="A" blendSrc="SrcAlpha" blendDest="InvSrcAlpha"
  339. opacity="1.0" mapAffectLevel="1.0" clip="off"/>
  340. <basics class="rend::CShaderMaterial" shader="system.diff_spec" adapt="vehicle_blurredrotor"
  341. specular="on" emissive="0" options="+RenderLast+IgnoreVertexColor"/>
  342. <color type="ambient" value="(0, 0, 0)" />
  343. <color type="emissive" value="(0, 0, 0)" />
  344. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  345. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  346. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="R" uv="Manual#2" inputAffectMap="Const"
  347. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  348. <user name="reflectivePower" mode="add" value="0.45" />
  349. </config>
  350.  
  351. <config title="vehicle_mesh"
  352. group="GTAV\Vehicle generic"
  353. hint="Detail map, bump map, specular (all on UV#1) with dirt/burn/damage effects map on UV#2">
  354. <undo mode="IMaterial" />
  355. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  356. <basics class="rend::CShaderMaterial" shader="system.bump.diff_spec_refl" adapt="vehicle_mesh"
  357. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  358. <color type="ambient" value="(0, 0, 0)" />
  359. <color type="emissive" value="(0, 0, 0)" />
  360. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  361. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  362. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  363. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  364. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  365. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  366. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  367. <sampler type="Mask" texture="vehicle_genericmud_car.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#2" inputAffectMap="Const"
  368. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  369. <sampler type="Bump" texture="blank_normal.dds" inputMap="Bump" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  370. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  371. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  372. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  373. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  374. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  375. <user name="specular2Color_DirLerp" mode="add" value="0, 0.5, 0" />
  376. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  377. </config>
  378.  
  379. <config title="vehicle_mesh (winter)"
  380. group="GTAV\Vehicle generic"
  381. hint="Detail map, bump map, specular and snow layers (all on UV#1) with dirt/burn/damage effects map on UV#2">
  382. <undo mode="IMaterial" />
  383. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  384. <basics class="rend::CShaderMaterial" shader="system.bump.dualdiff.spec_refl" adapt="vehicle_mesh_enveff"
  385. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  386. <color type="ambient" value="(0, 0, 0)" />
  387. <color type="emissive" value="(0, 0, 0)" />
  388. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  389. <advancedcolor type="dirtColor" value="(230, 230, 230)" level="100" affectMap="Mask" affectTexel="R"/>
  390. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  391. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  392. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  393. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  394. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  395. <sampler type="Detail2" inputMap="Detail2" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  396. transition="" inputTransitionMap="Detail2" inputTransitionTexel="Gray" tileU="8.0" tileV="8.0" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  397. <sampler type="Mask" texture="vehicle_genericmud_car.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#2" inputAffectMap="Const"
  398. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  399. <sampler type="Bump" texture="blank_normal.dds" inputMap="Bump" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  400. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  401. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  402. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  403. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  404. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  405. <custom name="MODE" mode="add" value="2" />
  406. <user name="specular2Color_DirLerp" mode="add" value="0, 0.5, 0" />
  407. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  408. </config>
  409.  
  410.  
  411. <config title="vehicle_detail2"
  412. group="GTAV\Vehicle generic"
  413. hint="Base Detail map, Sub-detail displacement map (UV#2), specular map with no dirt/damage effects, with standard interior burnt effect">
  414. <undo mode="IMaterial" />
  415. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  416. <basics class="rend::CShaderMaterial" shader="system.bump.diff_spec" adapt="vehicle_detail2"
  417. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  418. <color type="ambient" value="(0, 0, 0)" />
  419. <color type="emissive" value="(0, 0, 0)" />
  420. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  421. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="1-R" options="+maskVertB" />
  422. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  423. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  424. <sampler type="Bump" inputMap="Bump" inputTexel="RGB" uv="Manual#2" inputAffectMap="Const"
  425. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  426. <sampler type="Mask" texture="vehicle_generic_burnt_int.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  427. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  428. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  429. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  430. <user name="reflectivePower" mode="add" value="0.45" />
  431. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  432. </config>
  433.  
  434.  
  435. <config title="vehicle_interior2"
  436. group="GTAV\Vehicle generic"
  437. hint="Detail map, specular map with no dirt/damage effects, with standard interior burnt effect">
  438. <undo mode="IMaterial" />
  439. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  440. <basics class="rend::CShaderMaterial" shader="system.diff_spec" adapt="vehicle_interior2"
  441. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  442. <color type="ambient" value="(0, 0, 0)" />
  443. <color type="emissive" value="(0, 0, 0)" />
  444. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  445. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="1-R" options="+maskVertB" />
  446. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  447. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  448. <sampler type="Mask" texture="vehicle_generic_burnt_int.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  449. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  450. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  451. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  452. <user name="reflectivePower" mode="add" value="0.45" />
  453. <user name="specularFresnel" mode="add" value="0.97" />
  454. </config>
  455.  
  456.  
  457. <config title="vehicle_shuts"
  458. group="GTAV\Vehicle generic"
  459. hint="Paintable detail map, bump map, specular (all on UV#1) with burnt effect and no dirt/damage effects">
  460. <undo mode="IMaterial" />
  461. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  462. <basics class="rend::CShaderMaterial" shader="system.bump.diff_spec" adapt="vehicle_shuts"
  463. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  464. <color type="ambient" value="(0, 0, 0)" />
  465. <color type="emissive" value="(0, 0, 0)" />
  466. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  467. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="Gray" options="+maskVertB" />
  468. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  469. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  470. <sampler type="Mask" texture="vehicle_generic_burnt_out.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  471. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  472. <sampler type="Bump" texture="blank_normal.dds" inputMap="Bump" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  473. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  474. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  475. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  476. <user name="reflectivePower" mode="add" value="0.45" />
  477. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  478. </config>
  479.  
  480. <config title="vehicle_badges"
  481. group="GTAV\Vehicle generic"
  482. hint="Detail.A is opacity mask for bump-mapped and spec-mapped material with burnt effect (all on UV#1) and no dirt/dust effects ">
  483. <undo mode="IMaterial" />
  484. <alpha vertAffect="Off" mapAffect="Detail" mapTexel="A" blendSrc="SrcAlpha" blendDest="InvSrcAlpha"
  485. opacity="1.0" mapAffectLevel="1.0" clip="off"/>
  486. <basics class="rend::CShaderMaterial" shader="system.bump.diff_spec" adapt="vehicle_badges"
  487. specular="on" emissive="0" options="+RenderLast+IgnoreVertexColor"/>
  488. <color type="ambient" value="(0, 0, 0)" />
  489. <color type="emissive" value="(0, 0, 0)" />
  490. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  491. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="Gray" options="+maskVertB" />
  492. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  493. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  494. <sampler type="Mask" texture="vehicle_generic_burnt_out.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  495. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  496. <sampler type="Bump" texture="blank_normal.dds" inputMap="Bump" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  497. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  498. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  499. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  500. <user name="reflectivePower" mode="add" value="0.45" />
  501. <user name="specularIntensityMult" mode="add" value="0.5" />
  502. <user name="specularFalloffMult" mode="add" value="180" />
  503. <user name="specularFresnel" mode="add" value="0.75" />
  504. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  505. </config>
  506.  
  507. <config title="vehicle_licenseplate"
  508. group="GTAV\Vehicle generic"
  509. hint="License plate with font letters standard preconfiguration.">
  510. <undo mode="IMaterial" />
  511. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  512. <basics class="rend::CShaderMaterial" shader="system.bump.diff_refl" adapt="vehicle_licenseplate"
  513. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  514. <color type="ambient" value="(0, 0, 0)" />
  515. <color type="emissive" value="(0, 0, 0)" />
  516. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  517. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  518. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  519. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  520. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  521. <sampler type="Detail" texture="plate01.dds" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  522. transition="vehicle_generic_plate_font.dds" inputTransitionMap="Detail" inputTransitionTexel="Gray" outputLevel="1.0" outputAngularLevel="0" />
  523. <sampler type="Mask" texture="vehicle_genericmud_car.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#2" inputAffectMap="Const"
  524. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  525. <sampler type="Bump" texture="plate01_n.dds" inputMap="Bump" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  526. transition="vehicle_generic_plate_font_n.dds" inputTransitionMap="Bump" inputTransitionTexel="Gray" outputLevel="1.0" outputAngularLevel="0" />
  527. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Const"
  528. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  529. <user name="DistEpsilonScaleMin" mode="add" value="10, 10" />
  530. <user name="DistMapCenterVal" mode="add" value="0.5" />
  531. <user name="FontNormalScale" mode="add" value="5.0" />
  532. <user name="LicensePlateFontTint" mode="add" value="1, 1, 1" />
  533. <user name="LicensePlateFontExtents" mode="add" value="0.043, 0.38, 0.944627, 0.840627" />
  534. <user name="NumLetters" mode="add" value="16, 4" />
  535. <user name="LetterSize" mode="add" value="0.0625, 0.25" />
  536. <user name="LetterIndex2" mode="add" value="63, 63, 62, 0" />
  537. <user name="LetterIndex1" mode="add" value="10, 21, 10, 23" />
  538. <user name="reflectivePower" mode="add" value="0.45" />
  539. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  540. </config>
  541.  
  542. <config title="vehicle_nosplash"
  543. group="GTAV\Vehicle generic"
  544. hint="Blank material for drawing stencil mask to prevent water splashes drawing">
  545. <undo mode="IMaterial" />
  546. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  547. <basics class="rend::CShaderMaterial" shader="system.color" adapt="vehicle_nosplash" specular="off" emissive="0"/>
  548. <color type="ambient" value="(0, 0, 0)" />
  549. <color type="emissive" value="(0, 0, 0)" />
  550. </config>
  551.  
  552. <config title="vehicle_nowater"
  553. group="GTAV\Vehicle generic"
  554. hint="Blank material for drawing stencil mask to prevent drawing water">
  555. <undo mode="IMaterial" />
  556. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  557. <basics class="rend::CShaderMaterial" shader="system.color" adapt="vehicle_nosplash" specular="off" emissive="0"/>
  558. <color type="ambient" value="(0, 0, 0)" />
  559. <color type="emissive" value="(0, 0, 0)" />
  560. </config>
  561.  
  562. <config title="vehicle_tire"
  563. group="GTAV\Vehicle generic"
  564. hint="Vehicle tire specific shader with Detail map, bump map, specular (all on UV#1) and dirt/burn effects map on UV#2">
  565. <undo mode="IMaterial" />
  566. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  567. <basics class="rend::CShaderMaterial" shader="system.bump.diff_spec_refl" adapt="vehicle_tire"
  568. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  569. <color type="ambient" value="(0, 0, 0)" />
  570. <color type="emissive" value="(0, 0, 0)" />
  571. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  572. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  573. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  574. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  575. <sampler type="Detail" texture="vehicle_generic_tyrewallblack.dds" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  576. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  577. <sampler type="Mask" texture="vehicle_generic_tyrewall_dirt.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#2" inputAffectMap="Const"
  578. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  579. <sampler type="Bump" texture="vehicle_generic_tyrewall_normal.dds" inputMap="Bump" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  580. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  581. <sampler type="Spec" texture="vehicle_generic_tyrewall_spec.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  582. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  583. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  584. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  585. <user name="specular2Color_DirLerp" mode="add" value="0, 0.5, 0" />
  586. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  587. <user name="tyreDeformParams" mode="add" value="0, 0, 0, 1" />
  588. <user name="tyreDeformParams2" mode="add" value="0.262, 1495" />
  589. </config>
  590.  
  591. <config title="vehicle_track"
  592. group="GTAV\Vehicle generic"
  593. hint="Vehicle track specific shader with Detail map, bump map, specular (all on UV#1), dirt/burn effects map on UV#2 and animation parameters for UV#1.">
  594. <undo mode="IMaterial" />
  595. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  596. <basics class="rend::CShaderMaterial" shader="system.bump.diff_spec" adapt="vehicle_track"
  597. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  598. <color type="ambient" value="(0, 0, 0)" />
  599. <color type="emissive" value="(0, 0, 0)" />
  600. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  601. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  602. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  603. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  604. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  605. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  606. <sampler type="Mask" inputMap="Mask" inputTexel="RGB" uv="Manual#2" inputAffectMap="Const"
  607. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  608. <sampler type="Bump" inputMap="Bump" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  609. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  610. <sampler type="Spec" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  611. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  612. <user name="reflectivePower" mode="add" value="0.45" />
  613. <user name="specularIntensityMult" mode="add" value="0.5" />
  614. <user name="specularFalloffMult" mode="add" value="180" />
  615. <user name="specularFresnel" mode="add" value="0.75" />
  616. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  617. <user name="TrackAnimUV" mode="add" value="0" />
  618. </config>
  619.  
  620.  
  621. <config title="vehicle_cloth"
  622. group="GTAV\Vehicle generic"
  623. hint="Detail map, bump map, specular (all on UV#1) with dirt/burn/damage effects map on UV#2">
  624. <undo mode="IMaterial" />
  625. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  626. <basics class="rend::CShaderMaterial" shader="system.bump.diff_spec" adapt="vehicle_cloth"
  627. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  628. <color type="ambient" value="(0, 0, 0)" />
  629. <color type="emissive" value="(0, 0, 0)" />
  630. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  631. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  632. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  633. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  634. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  635. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  636. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  637. <sampler type="Mask" texture="vehicle_genericmud_car.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#2" inputAffectMap="Const"
  638. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  639. <sampler type="Bump" texture="blank_normal.dds" inputMap="Bump" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  640. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  641. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  642. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  643. <user name="reflectivePower" mode="add" value="0.45" />
  644. <user name="specularFresnel" mode="add" value="0.75" />
  645. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  646. </config>
  647.  
  648. <config title="vehicle_dash_emissive"
  649. group="GTAV\Vehicle generic"
  650. hint="Emissive dashboard via Detail.A map, transparency in Detail.G. ID of Poly/Vertex is used to determine element of dashboard to lit on/off.">
  651. <undo mode="IMaterial" />
  652. <alpha vertAffect="Off" mapAffect="Detail" mapTexel="1-G" blendSrc="SrcAlpha" blendDest="InvSrcAlpha"
  653. opacity="1.0" mapAffectLevel="1.0" clip="on" clipValue="128" />
  654. <basics class="rend::CShaderMaterial" shader="system.diff_spec_refl" adapt="vehicle_dash_emissive"
  655. specular="on" options="+RenderLast+IgnoreVertexColor"/>
  656. <color type="ambient" value="(0, 0, 0)" />
  657. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  658. <advancedcolor type="emissive" value="(0, 0, 0)" level="100" affectMap="Detail" affectTexel="A"/>
  659. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="1-R" options="+maskVertB" />
  660. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  661. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  662. <sampler type="Mask" texture="vehicle_generic_burnt_int.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  663. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  664. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  665. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  666. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  667. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  668. </config>
  669.  
  670.  
  671. <config title="vehicle_dash_emissive_opaque"
  672. group="GTAV\Vehicle generic"
  673. hint="Emissive dashboard via Detail.A map. ID of Poly/Vertex is used to determine element of dashboard to lit on/off.">
  674. <undo mode="IMaterial" />
  675. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off" />
  676. <basics class="rend::CShaderMaterial" shader="system.diff_spec_refl" adapt="vehicle_dash_emissive_opaque"
  677. specular="on" options="+IgnoreVertexColor"/>
  678. <color type="ambient" value="(0, 0, 0)" />
  679. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  680. <advancedcolor type="emissive" value="(0, 0, 0)" level="100" affectMap="Detail" affectTexel="A"/>
  681. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="1-R" options="+maskVertB" />
  682. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  683. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  684. <sampler type="Mask" texture="vehicle_generic_burnt_int.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  685. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  686. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  687. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  688. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  689. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  690. </config>
  691.  
  692.  
  693. <config title="vehicle_vehglass"
  694. group="GTAV\Vehicle generic"
  695. hint="Outer side of vehicle glass. Alpha-blended (via Detail.A) with specular map and dirt/dust effect on UV#2.">
  696. </config>
  697. <config title="vehicle_emissive_opaque"
  698. group="GTAV\Vehicle generic"
  699. hint="Emissive via Detail.A map, with spec map and dirt/dust/burnt effect on UV#2.">
  700. <undo mode="IMaterial" />
  701. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off" />
  702. <basics class="rend::CShaderMaterial" shader="system.diff_spec_refl" adapt="vehicle_emissive_opaque"
  703. specular="on" options="+IgnoreVertexColor"/>
  704. <color type="ambient" value="(0, 0, 0)" />
  705. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  706. <advancedcolor type="emissive" value="(0, 0, 0)" level="100" affectMap="Detail" affectTexel="A"/>
  707. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  708. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  709. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  710. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  711. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  712. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  713. <sampler type="Mask" texture="vehicle_generic_burnt_int.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#2" inputAffectMap="Const"
  714. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  715. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  716. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  717. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  718. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  719. <user name="emissiveMultiplier" mode="add" value="1" />
  720. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  721. <user name="Crash" mode="add" value="" />
  722.  
  723. </config>
  724.  
  725.  
  726. <config title="vehicle_decal"
  727. group="GTAV\Vehicle generic"
  728. hint="Alpha-blended (via Detail.A) decal for interior with burn effect on UV#2.">
  729. <undo mode="IMaterial" />
  730. <alpha vertAffect="Off" mapAffect="Detail" mapTexel="A" blendSrc="SrcAlpha" blendDest="InvSrcAlpha"
  731. opacity="1.0" mapAffectLevel="1.0" />
  732. <basics class="rend::CShaderMaterial" shader="system.diff_spec_refl" adapt="vehicle_decal"
  733. specular="on" emissive="0" options="+RenderLast+IgnoreVertexColor"/>
  734. <color type="ambient" value="(0, 0, 0)" />
  735. <color type="emissive" value="(0, 0, 0)" />
  736. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  737. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="1-R" options="+maskVertB" />
  738. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  739. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  740. <sampler type="Mask" texture="vehicle_generic_burnt_out.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#2" inputAffectMap="Const"
  741. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  742. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  743. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  744. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  745. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  746. </config>
  747.  
  748.  
  749. <config title="vehicle_decal2"
  750. group="GTAV\Vehicle generic"
  751. hint="Alpha-blended (via Detail.A) decal for exterior with bump map, dirt/dust/burn effect on UV#2.">
  752. <undo mode="IMaterial" />
  753. <alpha vertAffect="Off" mapAffect="Detail" mapTexel="A" blendSrc="SrcAlpha" blendDest="InvSrcAlpha"
  754. opacity="1.0" mapAffectLevel="1.0" />
  755. <basics class="rend::CShaderMaterial" shader="system.diff_spec_refl" adapt="vehicle_decal"
  756. specular="on" emissive="0" options="+RenderLast+IgnoreVertexColor"/>
  757. <color type="ambient" value="(0, 0, 0)" />
  758. <color type="emissive" value="(0, 0, 0)" />
  759. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  760. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  761. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  762. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  763. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  764. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  765. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  766. <sampler type="Mask" texture="vehicle_genericmud_car.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#2" inputAffectMap="Const"
  767. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  768. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  769. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  770. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  771. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  772. <user name="specularIntensityMult" mode="add" value="1.0" />
  773. <user name="specularFalloffMult" mode="add" value="180" />
  774. <user name="specularFresnel" mode="add" value="0.75" />
  775. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  776. </config>
  777.  
  778. <config title="vehicle_vehglass_inner"
  779. group="GTAV\Vehicle generic"
  780. hint="Innerside of vehicle glass. Alpha-blended (via Detail.A) with specular map and dirt/dust effect on UV#2.">
  781. <undo mode="IMaterial" />
  782. <alpha vertAffect="Off" mapAffect="Detail" mapTexel="A" blendSrc="SrcAlpha" blendDest="InvSrcAlpha"
  783. opacity="1.0" mapAffectLevel="1.0" />
  784. <basics class="rend::CShaderMaterial" shader="system.diff_spec_refl" adapt="vehicle_vehglass_inner"
  785. specular="on" emissive="0" options="+RenderLast+IgnoreVertexColor"/>
  786. <color type="ambient" value="(0, 0, 0)" />
  787. <color type="emissive" value="(0, 0, 0)" />
  788. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  789. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  790. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  791. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  792. <!--<advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />-->
  793. <sampler type="Detail" texture="vehicle_generic_glasswindows2.dds" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  794. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  795. <sampler type="Mask" texture="vehicle_generic_glassdirt.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#2" inputAffectMap="Const"
  796. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  797. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  798. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  799. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  800. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-20" />
  801. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  802. </config>
  803.  
  804. <config title="vehicle_vehglass"
  805. group="GTAV\Vehicle generic"
  806. hint="Outer side of vehicle glass. Alpha-blended (via Detail.A) with specular map and dirt/dust effect on UV#2.">
  807. <undo mode="IMaterial" />
  808. <alpha vertAffect="Off" mapAffect="Detail" mapTexel="A" blendSrc="SrcAlpha" blendDest="InvSrcAlpha"
  809. opacity="1.0" mapAffectLevel="1.0" />
  810. <basics class="rend::CShaderMaterial" shader="system.diff_spec_refl" adapt="vehicle_vehglass"
  811. specular="on" emissive="0" options="+RenderLast+IgnoreVertexColor"/>
  812. <color type="ambient" value="(0, 0, 0)" />
  813. <color type="emissive" value="(0, 0, 0)" />
  814. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  815. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  816. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  817. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  818. <!--<advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />-->
  819. <sampler type="Detail" texture="vehicle_generic_glasswindows2.dds" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  820. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  821. <sampler type="Mask" texture="vehicle_generic_glassdirt.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#2" inputAffectMap="Const"
  822. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  823. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  824. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  825. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  826. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-20" />
  827. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  828. <user name="Crash" mode="add" value="" />
  829.  
  830. </config>
  831.  
  832. <config title="vehicle_lights"
  833. group="GTAV\Vehicle generic"
  834. hint="Detail.A as opacity level material with specular map and dirt/dust/burnt effect on UV#2.">
  835. <undo mode="IMaterial" />
  836. <alpha vertAffect="Off" mapAffect="Detail" mapTexel="A" blendSrc="SrcAlpha" blendDest="InvSrcAlpha"
  837. opacity="1.0" mapAffectLevel="1.0" />
  838. <basics class="rend::CShaderMaterial" shader="system.diff_spec_refl" adapt="vehicle_lights"
  839. specular="on" emissive="0" options="+RenderLast+IgnoreVertexColor"/>
  840. <color type="ambient" value="(0, 0, 0)" />
  841. <color type="emissive" value="(0, 0, 0)" />
  842. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  843. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  844. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  845. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  846. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  847. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  848. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  849. <sampler type="Mask" texture="vehicle_generic_glassdirt.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#2" inputAffectMap="Const"
  850. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  851. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  852. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  853. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  854. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  855. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  856. </config>
  857.  
  858.  
  859. <config title="vehicle_lightsemissive"
  860. group="GTAV\Vehicle generic"
  861. hint="Detail.A as opacity level and emissive level. Poly/Vertex ID used as part condition-emissive lit. Uses specular map and dirt/dust/burnt effect on UV#2.">
  862. <undo mode="IMaterial" />
  863. <alpha vertAffect="Off" mapAffect="Detail" mapTexel="A" blendSrc="SrcAlpha" blendDest="InvSrcAlpha"
  864. opacity="1.0" mapAffectLevel="1.0" />
  865. <basics class="rend::CShaderMaterial" shader="system.diff_spec_refl" adapt="vehicle_lightsemissive"
  866. specular="on" options="+RenderLast+IgnoreVertexColor"/>
  867. <color type="ambient" value="(0, 0, 0)" />
  868. <advancedcolor type="emissive" value="(0, 0, 0)" level="100" affectMap="Detail" affectTexel="A"/>
  869. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  870. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  871. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  872. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  873. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  874. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  875. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  876. <sampler type="Mask" texture="vehicle_generic_glassdirt.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#2" inputAffectMap="Const"
  877. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  878. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  879. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  880. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  881. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  882. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  883. <user name="emissiveMultiplier" mode="add" value="3.0" />
  884. </config>
  885.  
  886. <!--
  887. //=====================================
  888. //
  889. // Vehicle-Paint group of shaders:
  890. //
  891. //=====================================
  892. -->
  893. <config title="vehicle_paint1"
  894. group="GTAV\Vehicle paint"
  895. hint="Single Detail paintable with specular map (all UV#1, no tiling used) and dirt/dust/burnt effects on UV#2.">
  896. <undo mode="IMaterial" />
  897. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  898. <basics class="rend::CShaderMaterial" shader="system.diff_spec_refl" adapt="vehicle_paint1"
  899. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  900. <color type="ambient" value="(0, 0, 0)" />
  901. <color type="emissive" value="(0, 0, 0)" />
  902. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  903. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  904. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  905. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  906. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  907. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  908. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  909. <sampler type="Mask" texture="vehicle_genericmud_car.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#2" inputAffectMap="Const"
  910. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  911. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  912. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  913. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  914. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  915. <user name="specular2Color_DirLerp" mode="add" value="0, 0.5, 0" />
  916. <user name="specularIntensityMult" mode="add" value="0.5" />
  917. <user name="specularFalloffMult" mode="add" value="180" />
  918. <user name="specularFresnel" mode="add" value="0.75" />
  919. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  920. </config>
  921.  
  922. <config title="vehicle_paint1 (winter)"
  923. group="GTAV\Vehicle paint"
  924. hint="Single Detail paintable with specular map (tiled, UV#1), dirt/dust/burnt and snow effects on UV#2.">
  925. <undo mode="IMaterial" />
  926. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  927. <basics class="rend::CShaderMaterial" shader="system.dualdiff.spec_refl" adapt="vehicle_paint1_enveff"
  928. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  929. <color type="ambient" value="(0, 0, 0)" />
  930. <color type="emissive" value="(0, 0, 0)" />
  931. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  932. <advancedcolor type="dirtColor" value="(230, 230, 230)" level="100" affectMap="Mask" affectTexel="R"/>
  933. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  934. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  935. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  936. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  937. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  938. <sampler type="Detail2" texture="snowbasespeckle.dds" inputMap="Detail2" inputTexel="RGB" uv="Manual#2" inputAffectMap="VertexColor" inputAffectTexel="A"
  939. transition="snow.dds" inputTransitionMap="Detail2" inputTransitionTexel="Gray" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  940. <sampler type="Mask" texture="vehicle_genericmud_car.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#2" inputAffectMap="Const"
  941. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  942. <sampler type="Spec" texture="snow_s.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  943. transition="" inputTransitionMap="Const" tileU="8" tileV="8" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  944. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  945. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  946. <user name="envEffTexTileUV" mode="add" value="8" />
  947. <user name="envEffScale" mode="add" value="1.0, 0.001" />
  948. <user name="envEffThickness" mode="add" value="25" />
  949. <user name="specular2Color_DirLerp" mode="add" value="0, 0.5, 0" />
  950. <user name="specularIntensityMult" mode="add" value="0.5" />
  951. <user name="specularFalloffMult" mode="add" value="180" />
  952. <user name="specularFresnel" mode="add" value="0.75" />
  953. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  954. </config>
  955.  
  956.  
  957. <config title="vehicle_paint2"
  958. group="GTAV\Vehicle paint"
  959. hint="Single Detail paintable with specular map and dirt/dust/burnt effects (all UV#1, no tiling used).">
  960. <undo mode="IMaterial" />
  961. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  962. <basics class="rend::CShaderMaterial" shader="system.diff_spec_refl" adapt="vehicle_paint2"
  963. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  964. <color type="ambient" value="(0, 0, 0)" />
  965. <color type="emissive" value="(0, 0, 0)" />
  966. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  967. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  968. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  969. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  970. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  971. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  972. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  973. <sampler type="Mask" texture="vehicle_genericmud_car.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  974. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  975. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  976. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  977. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  978. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  979. <user name="specular2Color_DirLerp" mode="add" value="0, 0.5, 0" />
  980. <user name="specularIntensityMult" mode="add" value="0.5" />
  981. <user name="specularFalloffMult" mode="add" value="180" />
  982. <user name="specularFresnel" mode="add" value="0.75" />
  983. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  984. </config>
  985.  
  986.  
  987. <config title="vehicle_paint3"
  988. group="GTAV\Vehicle paint"
  989. hint="Dual detail paintable (Detail2.A is a mask for Detail2 overlay using UV#2) with specular map and dirt/dust/burnt effects (on UV#1, no tiling used).">
  990. <undo mode="IMaterial" />
  991. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  992. <basics class="rend::CShaderMaterial" shader="system.dualdiff.spec_refl" adapt="vehicle_paint3"
  993. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  994. <color type="ambient" value="(0, 0, 0)" />
  995. <color type="emissive" value="(0, 0, 0)" />
  996. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  997. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  998. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  999. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  1000. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  1001. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  1002. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1003. <sampler type="Detail2" inputMap="Detail2" inputTexel="RGB" uv="Manual#2" inputAffectMap="Detail2" inputAffectTexel="A"
  1004. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1005. <sampler type="Mask" texture="vehicle_genericmud_car.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  1006. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1007. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  1008. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1009. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  1010. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  1011. <custom name="MODE" mode="add" value="2" /> <!-- lerp -->
  1012. <user name="specular2Color_DirLerp" mode="add" value="0, 0.5, 0" />
  1013. <user name="matDiffuseColor2" mode="add" value="1.0, 1.0, 1.0" />
  1014. <user name="diffuse2SpecMod" mode="add" value="8.0" />
  1015. <user name="specularIntensityMult" mode="add" value="0.5" />
  1016. <user name="specularFalloffMult" mode="add" value="180" />
  1017. <user name="specularFresnel" mode="add" value="0.75" />
  1018. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  1019. </config>
  1020.  
  1021. <config title="vehicle_paint4"
  1022. group="GTAV\Vehicle paint"
  1023. hint="Dual detail paintable (Detail2.A is a mask for Detail2 soft decal overlay using UV#2) with specular map and dirt/dust/burnt effects (on UV#1, with Detail and Spec tiling allowed).">
  1024. <undo mode="IMaterial" />
  1025. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  1026. <basics class="rend::CShaderMaterial" shader="system.dualdiff.spec_refl" adapt="vehicle_paint4"
  1027. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  1028. <color type="ambient" value="(0, 0, 0)" />
  1029. <color type="emissive" value="(0, 0, 0)" />
  1030. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  1031. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  1032. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  1033. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  1034. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  1035. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  1036. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1037. <sampler type="Detail2" inputMap="Detail2" inputTexel="RGB" uv="Manual#2" inputAffectMap="Detail2" inputAffectTexel="A"
  1038. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1039. <sampler type="Mask" texture="vehicle_genericmud_car.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  1040. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1041. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  1042. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1043. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  1044. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  1045. <custom name="MODE" mode="add" value="3" /> <!-- overlay -->
  1046. <user name="matDiffuseColor2" mode="add" value="1.0, 1.0, 1.0" />
  1047. <user name="diffuse2SpecMod" mode="add" value="8.0" />
  1048. <user name="specular2Color_DirLerp" mode="add" value="0, 0.5, 0" />
  1049. <user name="specular2ColorIntensity" mode="add" value="1.7" />
  1050. <user name="specular2Factor" mode="add" value="40" />
  1051. <user name="specularIntensityMult" mode="add" value="0.5" />
  1052. <user name="specularFalloffMult" mode="add" value="180" />
  1053. <user name="specularFresnel" mode="add" value="0.75" />
  1054. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  1055. </config>
  1056.  
  1057.  
  1058. <config title="vehicle_paint4 (winter)"
  1059. group="GTAV\Vehicle paint"
  1060. hint="Dual detail paintable (Detail2.A is a mask for Detail2 soft decal overlay using UV#2) with specular map and dirt/dust/burnt (on UV#1) and snow effects (on UV#2). Detail and Spec tiling allowed).">
  1061. <undo mode="IMaterial" />
  1062. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  1063. <basics class="rend::CShaderMaterial" shader="system.triplediff.spec_refl" adapt="vehicle_paint4_enveff"
  1064. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  1065. <color type="ambient" value="(0, 0, 0)" />
  1066. <color type="emissive" value="(0, 0, 0)" />
  1067. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  1068. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  1069. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  1070. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  1071. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  1072. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  1073. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1074. <sampler type="Detail2" inputMap="Detail2" inputTexel="RGB" uv="Manual#2" inputAffectMap="Detail2" inputAffectTexel="A"
  1075. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1076. <sampler type="Detail3" texture="snowbasespeckle.dds" inputMap="Detail3" inputTexel="RGB" uv="Manual#2" inputAffectMap="VertexColor" inputAffectTexel="A"
  1077. transition="snow.dds" inputTransitionMap="Detail3" inputTransitionTexel="Gray" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1078. <sampler type="Mask" texture="vehicle_genericmud_car.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  1079. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1080. <sampler type="Spec" texture="snow_s.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  1081. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1082. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  1083. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  1084. <custom name="MODE" mode="add" value="3" /> <!-- overlay -->
  1085. <custom name="MODE2" mode="add" value="2" /> <!-- lerp -->
  1086. <user name="matDiffuseColor2" mode="add" value="1.0, 1.0, 1.0" />
  1087. <user name="diffuse2SpecMod" mode="add" value="8.0" />
  1088. <user name="specular2Color_DirLerp" mode="add" value="0, 0.5, 0" />
  1089. <user name="specular2ColorIntensity" mode="add" value="1.7" />
  1090. <user name="specular2Factor" mode="add" value="40" />
  1091. <user name="specularIntensityMult" mode="add" value="0.5" />
  1092. <user name="specularFalloffMult" mode="add" value="180" />
  1093. <user name="specularFresnel" mode="add" value="0.75" />
  1094. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  1095. </config>
  1096.  
  1097. <config title="vehicle_paint5 (winter)"
  1098. group="GTAV\Vehicle paint"
  1099. hint="Dual detail paintable (Detail2.A is a mask for Detail2 soft decal overlay using UV#2) with specular map and dirt/dust/burnt (on UV#2) and snow effects (on UV#1). Detail and Spec tiling allowed).">
  1100. <undo mode="IMaterial" />
  1101. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  1102. <basics class="rend::CShaderMaterial" shader="system.triplediff.spec_refl" adapt="vehicle_paint5_enveff"
  1103. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  1104. <color type="ambient" value="(0, 0, 0)" />
  1105. <color type="emissive" value="(0, 0, 0)" />
  1106. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  1107. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  1108. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  1109. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  1110. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  1111. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  1112. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1113. <sampler type="Detail2" inputMap="Detail2" inputTexel="RGB" uv="Manual#2" inputAffectMap="Detail2" inputAffectTexel="A"
  1114. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1115. <sampler type="Detail3" texture="snowbasespeckle.dds" inputMap="Detail3" inputTexel="RGB" uv="Manual#2" inputAffectMap="VertexColor" inputAffectTexel="A"
  1116. transition="snow.dds" inputTransitionMap="Detail3" inputTransitionTexel="Gray" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1117. <sampler type="Mask" texture="vehicle_genericmud_car.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  1118. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1119. <sampler type="Spec" texture="snow_s.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  1120. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1121. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  1122. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  1123. <custom name="MODE" mode="add" value="3" /> <!-- overlay -->
  1124. <custom name="MODE2" mode="add" value="2" /> <!-- lerp -->
  1125. <user name="matDiffuseColor2" mode="add" value="1.0, 1.0, 1.0" />
  1126. <user name="diffuse2SpecMod" mode="add" value="8.0" />
  1127. <user name="specular2Color_DirLerp" mode="add" value="0, 0.5, 0" />
  1128. <user name="specular2ColorIntensity" mode="add" value="1.7" />
  1129. <user name="specular2Factor" mode="add" value="40" />
  1130. <user name="specularIntensityMult" mode="add" value="0.5" />
  1131. <user name="specularFalloffMult" mode="add" value="180" />
  1132. <user name="specularFresnel" mode="add" value="0.75" />
  1133. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  1134. </config>
  1135.  
  1136. <config title="vehicle_paint6"
  1137. group="GTAV\Vehicle paint"
  1138. hint="Dual detail paintable (Detail2.A is a mask for Detail2 soft decal overlay using UV#2) with bump map (UV#2) specular map and dirt/dust/burnt effects (on UV#1, with Spec tiling allowed).">
  1139. <undo mode="IMaterial" />
  1140. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  1141. <basics class="rend::CShaderMaterial" shader="system.bump.dualdiff.spec_refl" adapt="vehicle_paint6"
  1142. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  1143. <color type="ambient" value="(0, 0, 0)" />
  1144. <color type="emissive" value="(0, 0, 0)" />
  1145. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  1146. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  1147. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  1148. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  1149. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  1150. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  1151. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1152. <sampler type="Detail2" inputMap="Detail2" inputTexel="RGB" uv="Manual#2" inputAffectMap="Detail2" inputAffectTexel="A"
  1153. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1154. <sampler type="Mask" texture="vehicle_genericmud_car.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  1155. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1156. <sampler type="Bump" texture="blank_normal.dds" inputMap="Bump" inputTexel="RGB" uv="Manual#2" inputAffectMap="Const"
  1157. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1158. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  1159. transition="" inputTransitionMap="Const" tileU="8" tileV="8" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1160. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  1161. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  1162. <custom name="MODE" mode="add" value="3" /> <!-- overlay -->
  1163. <user name="matDiffuseColor2" mode="add" value="1.0, 1.0, 1.0" />
  1164. <user name="diffuse2SpecMod" mode="add" value="8.0" />
  1165. <user name="specular2Color_DirLerp" mode="add" value="0, 0.5, 0" />
  1166. <user name="specular2ColorIntensity" mode="add" value="1.7" />
  1167. <user name="specular2Factor" mode="add" value="40" />
  1168. <user name="specularIntensityMult" mode="add" value="0.5" />
  1169. <user name="specularFalloffMult" mode="add" value="180" />
  1170. <user name="specularFresnel" mode="add" value="0.75" />
  1171. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  1172. </config>
  1173.  
  1174. <config title="vehicle_paint6 (winter)"
  1175. group="GTAV\Vehicle paint"
  1176. hint="Dual detail paintable (Detail2.A is a mask for Detail2 soft decal overlay using UV#2) with bump map (UV#2) specular map and dirt/dust/burnt effects (on UV#1, with Spec tiling allowed) and snow effect (UV#1).">
  1177. <undo mode="IMaterial" />
  1178. <alpha vertAffect="Off" mapAffect="Const" blendSrc="One" blendDest="Zero" opacity="1.0" clip="off"/>
  1179. <basics class="rend::CShaderMaterial" shader="system.bump.triplediff.spec_refl" adapt="vehicle_paint6_enveff"
  1180. specular="on" emissive="0" options="+IgnoreVertexColor"/>
  1181. <color type="ambient" value="(0, 0, 0)" />
  1182. <color type="emissive" value="(0, 0, 0)" />
  1183. <advancedcolor type="diffuse2" value="(0, 0, 0)" level="100" affectMap="VertexColor" affectTexel="1-R"/>
  1184. <advancedcolor type="dirtColor" value="(59, 57, 52)" level="100" affectMap="Mask" affectTexel="R"/>
  1185. <advancedcolor type="dustColor" value="(180, 180, 180)" level="100" affectMap="Mask" affectTexel="G"/>
  1186. <advancedcolor type="scratchColor" value="(224, 224, 224)" level="100" affectMap="Mask" affectTexel="B"/>
  1187. <advancedcolor type="burnColor" value="(24, 24, 24)" level="100" affectMap="Mask" affectTexel="A" options="+maskVertB" />
  1188. <sampler type="Detail" inputMap="Detail" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  1189. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1190. <sampler type="Detail2" inputMap="Detail2" inputTexel="RGB" uv="Manual#2" inputAffectMap="Detail2" inputAffectTexel="A"
  1191. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1192. <sampler type="Detail3" texture="snowbasespeckle.dds" inputMap="Detail3" inputTexel="RGB" uv="Manual#1" inputAffectMap="VertexColor" inputAffectTexel="A"
  1193. transition="snow.dds" inputTransitionMap="Detail3" inputTransitionTexel="Gray" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1194. <sampler type="Mask" texture="vehicle_genericmud_car.dds" inputMap="Mask" inputTexel="RGB" uv="Manual#1" inputAffectMap="Const"
  1195. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1196. <sampler type="Bump" texture="blank_normal.dds" inputMap="Bump" inputTexel="RGB" uv="Manual#2" inputAffectMap="Const"
  1197. transition="" inputTransitionMap="Const" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1198. <sampler type="Spec" texture="vehicle_generic_smallspecmap.dds" inputMap="Spec" inputTexel="R" uv="Manual#1" inputAffectMap="Const"
  1199. transition="" inputTransitionMap="Const" tileU="8" tileV="8" outputLevel="1.0" outputAngularLevel="0" addressU="wrap" addressV="wrap"/>
  1200. <sampler type="Env" texture="env.dds" inputMap="Env" inputTexel="RGB" uv="AutoSphereEnv" inputAffectMap="Spec" inputAffectTexel="G"
  1201. transition="" inputTransitionMap="Const" outputLevel="0.45" outputAngularLevel="-60" />
  1202. <custom name="MODE" mode="add" value="3" /> <!-- overlay -->
  1203. <custom name="MODE2" mode="add" value="2" /> <!-- lerp -->
  1204. <user name="matDiffuseColor2" mode="add" value="1.0, 1.0, 1.0" />
  1205. <user name="diffuse2SpecMod" mode="add" value="8.0" />
  1206. <user name="specular2Color_DirLerp" mode="add" value="0, 0.5, 0" />
  1207. <user name="specular2ColorIntensity" mode="add" value="1.7" />
  1208. <user name="specular2Factor" mode="add" value="40" />
  1209. <user name="specularIntensityMult" mode="add" value="0.5" />
  1210. <user name="specularFalloffMult" mode="add" value="180" />
  1211. <user name="specularFresnel" mode="add" value="0.75" />
  1212. <user name="dirtLevelMod" mode="add" value="1, 1, 1, 1" />
  1213. </config>
  1214.  
  1215. </configset>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement