home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / scripts / opel.shader < prev    next >
Encoding:
Text File  |  2002-10-21  |  12.7 KB  |  576 lines

  1. opel
  2. {
  3.     qer_editorimage textures/models/vehicles/OpelTruck/opel.tga
  4.     {
  5.         map textures/models/vehicles/OpelTruck/opel.tga
  6.         rgbGen lightingSpherical
  7.     }
  8. //    {
  9. //        map textures/models/vehicles/OpelTruck/opel.tga
  10. //        rgbGen identity
  11. //        blendfunc blend
  12. //    }
  13. }
  14.  
  15. opelheadlights
  16. {
  17.     qer_editorimage textures/models/vehicles/OpelTruck/opel.tga
  18.     {
  19.         map textures/models/vehicles/OpelTruck/opel.tga
  20.         rgbGen lightingSpherical
  21.     }
  22. }
  23.  
  24. opel2sided
  25. {
  26.     cull none
  27.     qer_editorimage textures/models/vehicles/OpelTruck/opel.tga
  28.     {
  29.         map textures/models/vehicles/OpelTruck/opel.tga
  30.         rgbGen lightingSpherical
  31.     }
  32. }
  33.  
  34. opelgreen2sided
  35. {
  36.     cull none
  37.     qer_editorimage textures/models/vehicles/OpelTruck/opelgreen.tga
  38.     {
  39.         map textures/models/vehicles/OpelTruck/opelgreen.tga
  40.         rgbGen lightingSpherical
  41.     }
  42. }
  43.  
  44.  
  45. opel_cull
  46. {
  47.     qer_editorimage textures/models/vehicles/OpelTruck/opel.tga
  48.     cull none
  49.     {
  50.         map textures/models/vehicles/OpelTruck/opel.tga
  51.         rgbGen lightingSpherical
  52.     }
  53. }
  54. opelhub
  55. {
  56.     qer_editorimage textures/models/vehicles/OpelTruck/opelhub.tga
  57.     noMerge
  58.     {
  59.         map textures/models/vehicles/OpelTruck/opelhub.tga
  60.         rgbGen lightingSpherical
  61.         tcmod rotate 5 0 -20
  62.     }
  63. }
  64. opelhub_norotate
  65. {
  66.     qer_editorimage textures/models/vehicles/OpelTruck/opelhub.tga
  67.     {
  68.         map textures/models/vehicles/OpelTruck/opelhub.tga
  69.         rgbGen lightingSpherical
  70.     }
  71. }
  72. opelgreen
  73. {
  74.     qer_editorimage textures/models/vehicles/OpelTruck/opelgreen.tga
  75.     {
  76.         map textures/models/vehicles/OpelTruck/opelgreen.tga
  77.         rgbGen lightingSpherical
  78.     }
  79. //    {
  80. //        map textures/models/vehicles/OpelTruck/opelgreen.tga
  81. //        rgbGen identity
  82. //        blendfunc blend
  83. //    }
  84. }
  85. opel_cullgreen
  86. {
  87.     qer_editorimage textures/models/vehicles/OpelTruck/opelgreen.tga
  88.     cull none
  89.     {
  90.         map textures/models/vehicles/OpelTruck/opelgreen.tga
  91.         rgbGen lightingSpherical
  92.     }
  93. }
  94. opelgreen_d
  95. {
  96.     qer_editorimage textures/models/vehicles/OpelTruck/opelgreen_d.tga
  97.     {
  98.         map textures/models/vehicles/OpelTruck/opelgreen_d.tga
  99.         rgbGen lightingSpherical
  100.     }
  101. }
  102. opel_cullgreen_d
  103. {
  104.     qer_editorimage textures/models/vehicles/OpelTruck/opelgreen_d.tga
  105.     cull none
  106.     {
  107.         map textures/models/vehicles/OpelTruck/opelgreen_d.tga
  108.         rgbGen lightingSpherical
  109.     }
  110. }
  111.  
  112. opelhubgreen
  113. {
  114.     qer_editorimage textures/models/vehicles/OpelTruck/opelhubgreen.tga
  115.     noMerge
  116.     {
  117.         map textures/models/vehicles/OpelTruck/opelhubgreen.tga
  118.         rgbGen lightingSpherical
  119.         tcmod rotate 5 0 -20
  120.     }
  121. }
  122. opelhubgreen_norotate
  123. {
  124.     qer_editorimage textures/models/vehicles/OpelTruck/opelhubgreen.tga
  125.     {
  126.         map textures/models/vehicles/OpelTruck/opelhubgreen.tga
  127.         rgbGen lightingSpherical
  128.     }
  129. }
  130. opeltread
  131. {
  132.     qer_editorimage textures/models/vehicles/OpelTruck/opeltread.tga
  133.     noMerge
  134.     {
  135.         map textures/models/vehicles/OpelTruck/opeltread.tga
  136.         rgbGen lightingSpherical
  137.         tcmod scroll 2.4 0
  138.     }
  139. }
  140. opeltread_norotate
  141. {
  142.     qer_editorimage textures/models/vehicles/OpelTruck/opeltread.tga
  143.     {
  144.         map textures/models/vehicles/OpelTruck/opeltread.tga
  145.         rgbGen lightingSpherical
  146.     }
  147. }
  148. opelwindows
  149. {
  150.     qer_editorimage textures/models/vehicles/OpelTruck/opelwindows.tga
  151.     cull none
  152. //    {
  153. //        map textures/common/reflection1.tga
  154. //        rgbGen lightingSpherical
  155. //        tcgen environmentmodel
  156. //        Blendfunc blend
  157. //    }
  158.     {
  159.         map textures/models/vehicles/OpelTruck/opelwindows.tga
  160.         rgbGen lightingSpherical
  161.         blendFunc blend
  162.     }
  163. }
  164.  
  165. opelwindows_cracked
  166. {
  167.     qer_editorimage textures/models/vehicles/OpelTruck/opelwindows_cracked.tga
  168.     cull none
  169. //    {
  170. //        map textures/common/reflection1.tga
  171. //        rgbGen lightingSpherical
  172. //        tcgen environmentmodel
  173. //        Blendfunc blend
  174. //    }
  175.     {
  176.         map textures/models/vehicles/OpelTruck/opelwindows_cracked.tga
  177.         rgbGen lightingSpherical
  178.         blendFunc blend
  179.     }
  180. }
  181. /////////////////////////////////////////////////////////////////////////////////////
  182. //grid lighting opel truck
  183. /////////////////////////////////////////////////////////////////////////////////////
  184. opel_grid
  185. {
  186.     qer_editorimage textures/models/vehicles/OpelTruck/opel.tga
  187.     {
  188.         map textures/models/vehicles/OpelTruck/opel.tga
  189.         rgbGen lightingGrid
  190.     }
  191. }
  192. opel_cull_grid
  193. {
  194.     qer_editorimage textures/models/vehicles/OpelTruck/opel.tga
  195.     cull none
  196.     {
  197.         map textures/models/vehicles/OpelTruck/opel.tga
  198.         rgbGen lightingGrid
  199.     }
  200. }
  201. opelhub_grid
  202. {
  203.     qer_editorimage textures/models/vehicles/OpelTruck/opelhub.tga
  204.     {
  205.         map textures/models/vehicles/OpelTruck/opelhub.tga
  206.         rgbGen lightingGrid
  207.     }
  208. }
  209. opeltread_grid
  210. {
  211.     qer_editorimage textures/models/vehicles/OpelTruck/opeltread.tga
  212.     {
  213.         map textures/models/vehicles/OpelTruck/opeltread.tga
  214.         rgbGen lightingGrid
  215.     }
  216. }
  217. opelwindows_grid
  218. {
  219.     qer_editorimage textures/models/vehicles/OpelTruck/opelwindows.tga
  220.     cull none
  221. //    {
  222. //        map textures/common/reflection1.tga
  223. //        rgbGen lightingGrid
  224. //        tcgen environmentmodel
  225. //        Blendfunc blend
  226. //    }
  227.     {
  228.         map textures/models/vehicles/OpelTruck/opelwindows.tga
  229.         rgbGen lightingGrid
  230.         blendFunc blend
  231.     }
  232. }
  233. /////////////////////////////////////////////////////////////////////////////////////
  234. //static opel truck
  235. /////////////////////////////////////////////////////////////////////////////////////
  236.  
  237. static_opel
  238. {
  239.     qer_editorimage textures/models/vehicles/OpelTruck/opel.tga
  240.     {
  241.         map textures/models/vehicles/OpelTruck/opel.tga
  242.         rgbgen lightingSpherical
  243.     }
  244. }
  245. static_opel_cull
  246. {
  247.     qer_editorimage textures/models/vehicles/OpelTruck/opel.tga
  248.     cull none
  249.     {
  250.         map textures/models/vehicles/OpelTruck/opel.tga
  251.         rgbgen lightingSpherical
  252.     }
  253. }
  254. static_opelhub
  255. {
  256.     qer_editorimage textures/models/vehicles/OpelTruck/opelhub.tga
  257.     {
  258.         map textures/models/vehicles/OpelTruck/opelhub.tga
  259.         rgbgen lightingSpherical
  260.     }
  261. }
  262. static_opeltread
  263. {
  264.     qer_editorimage textures/models/vehicles/OpelTruck/opeltread.tga
  265.     {
  266.         map textures/models/vehicles/OpelTruck/opeltread.tga
  267.         rgbgen lightingSpherical
  268.     }
  269. }
  270. static_opelwindows
  271. {
  272.     qer_editorimage textures/models/vehicles/OpelTruck/opelwindows.tga
  273.     cull none
  274. //    {
  275. //        map textures/common/reflection1.tga
  276. //        rgbgen lightingSpherical
  277. //        tcgen environmentmodel
  278. //        Blendfunc blend
  279. //    }
  280.     {
  281.         map textures/models/vehicles/OpelTruck/opelwindows.tga
  282.         rgbgen lightingSpherical
  283.         blendFunc blend
  284.     }
  285. }
  286.  
  287. opellights
  288. {
  289.     nomipmaps
  290.     qer_editorimage textures/models/items/beam.tga
  291.     {
  292.         map textures/common/airdust.tga
  293.         tcmod scroll 0 0.15
  294.  
  295.         nextbundle
  296.         map textures/models/items/beam.tga
  297.         rgbGen dot 0 1.5
  298.         blendfunc add
  299.     }
  300.  
  301.  
  302. }
  303. opellightflare
  304. {
  305.     qer_editorimage textures/sprites/corona_util.tga
  306.     {
  307.         map textures/sprites/corona_util.tga
  308.         rgbGen dot -1 1.5
  309.         blendfunc add    
  310.     }
  311. }
  312.  
  313. static_opelengine
  314. {
  315.     qer_editorimage textures/models/vehicles/OpelTruck/engine.tga
  316.     {
  317.         map textures/models/vehicles/OpelTruck/engine.tga
  318.         rgbgen lightingSpherical
  319.     }
  320. }
  321. ///////////////////////////////////////////////////////////////
  322. //damaged opel
  323. ///////////////////////////////////////////////////////////////
  324. opelengine
  325. {
  326.     qer_editorimage textures/models/vehicles/OpelTruck/engine.tga
  327.     {
  328.         map textures/models/vehicles/OpelTruck/engine.tga
  329.         rgbGen lightingSpherical
  330.     }
  331. }
  332. opel_d
  333. {
  334.     qer_editorimage textures/models/vehicles/OpelTruck/opel_d.tga
  335.     {
  336.         map textures/models/vehicles/OpelTruck/opel_d.tga
  337.         rgbGen lightingSpherical
  338.     }
  339. }
  340. opel_cull_d
  341. {
  342.     qer_editorimage textures/models/vehicles/OpelTruck/opel_d.tga
  343.     cull none
  344.     {
  345.         map textures/models/vehicles/OpelTruck/opel_d.tga
  346.         rgbGen lightingSpherical
  347.     }
  348. }
  349. opelhub_d
  350. {
  351.     qer_editorimage textures/models/vehicles/OpelTruck/opelhub_d.tga
  352.     {
  353.         map textures/models/vehicles/OpelTruck/opelhub_d.tga
  354.         rgbGen lightingSpherical
  355.     }
  356. }
  357.  
  358. opelwindows_d
  359. {
  360.     qer_editorimage textures/models/vehicles/OpelTruck/opelwindows_d.tga
  361.     cull none
  362. //    {
  363. //        map textures/common/reflection1.tga
  364. //        rgbGen lightingSpherical
  365. //        tcgen environmentmodel
  366. //        Blendfunc blend
  367. //    }
  368.     {
  369.         map textures/models/vehicles/OpelTruck/opelwindows_d.tga
  370.         rgbGen lightingSpherical
  371.         blendFunc blend
  372.     }
  373. }
  374.  
  375. opelwindows_d2
  376. {
  377.     qer_editorimage textures/models/vehicles/OpelTruck/opelwindows_d2.tga
  378.     cull none
  379. //    {
  380. //        map textures/common/reflection1.tga
  381. //        rgbGen lightingSpherical
  382. //        tcgen environmentmodel
  383. //        Blendfunc blend
  384. //    }
  385.     {
  386.         map textures/models/vehicles/OpelTruck/opelwindows_d2.tga
  387.         rgbGen lightingSpherical
  388.         blendFunc blend
  389.     }
  390. }
  391. // Additional Opel_w shaders
  392. opel_side
  393. {
  394.     qer_editorimage textures/models/vehicles/Opel_Truck_2_2/opel_side.tga
  395.     {
  396.         map textures/models/vehicles/Opel_Truck_2_2/opel_side.tga
  397.         rgbGen lightingSpherical
  398.     }
  399. }
  400. opel_crate_side
  401. {
  402.     qer_editorimage textures/models/vehicles/Opel_Truck_2_2/opel_crate_side.tga
  403.     {
  404.         map textures/models/vehicles/Opel_Truck_2_2/opel_crate_side.tga
  405.         rgbGen lightingSpherical
  406.     }
  407. }
  408. opel_crate_top
  409. {
  410.     qer_editorimage textures/models/vehicles/Opel_Truck_2_2/opel_crate_top.tga
  411.     {
  412.         map textures/models/vehicles/Opel_Truck_2_2/opel_crate_top.tga
  413.         rgbGen lightingSpherical
  414.     }
  415. }
  416. // opel_w_d shaders
  417. opel_grill_d
  418. {
  419.     qer_editorimage textures/models/vehicles/opel_w_d/opel_grill_d.tga
  420.     {
  421.         map textures/models/vehicles/opel_w_d/opel_grill_d.tga
  422.         rgbGen lightingSpherical
  423.     }
  424. }
  425. opel_fender_d
  426. {
  427.     qer_editorimage textures/models/vehicles/opel_w_d/opel_fender_d.tga
  428.     {
  429.         map textures/models/vehicles/opel_w_d/opel_fender_d.tga
  430.         rgbGen lightingSpherical
  431.     }
  432. }
  433. opel_door_d
  434. {
  435.     qer_editorimage textures/models/vehicles/opel_w_d/opel_door_d.tga
  436.     {
  437.         map textures/models/vehicles/opel_w_d/opel_door_d.tga
  438.         rgbGen lightingSpherical
  439.     }
  440. }
  441. opel_roof_d
  442. {
  443.     qer_editorimage textures/models/vehicles/opel_w_d/opel_roof_d.tga
  444.     {
  445.         map textures/models/vehicles/opel_w_d/opel_roof_d.tga
  446.         rgbGen lightingSpherical
  447.     }
  448. }
  449. opel_floor_d
  450. {
  451.     qer_editorimage textures/models/vehicles/opel_w_d/opel_floor_d.tga
  452.     {
  453.         map textures/models/vehicles/opel_w_d/opel_floor_d.tga
  454.         rgbGen lightingSpherical
  455.     }
  456. }
  457. opel_side_d
  458. {
  459.     qer_editorimage textures/models/vehicles/opel_w_d/opel_side_d.tga
  460.     {
  461.         map textures/models/vehicles/opel_w_d/opel_side_d.tga
  462.         rgbGen lightingSpherical
  463.     }
  464. }
  465. opel_side1_d
  466. {
  467.     qer_editorimage textures/models/vehicles/opel_w_d/opel_side1_d.tga
  468.     {
  469.         map textures/models/vehicles/opel_w_d/opel_side1_d.tga
  470.         rgbGen lightingSpherical
  471.     }
  472. }
  473. opel_hood_d
  474. {
  475.     qer_editorimage textures/models/vehicles/opel_w_d/opel_Hood_d.tga
  476.     {
  477.         map textures/models/vehicles/opel_w_d/opel_Hood_d.tga
  478.         rgbGen lightingSpherical
  479.     }
  480. }
  481.  
  482. opel_cover
  483. {
  484.     qer_editorimage textures/models/vehicles/opel_w/cover.tga
  485.     {
  486.         map textures/models/vehicles/opel_w/cover.tga
  487.         rgbGen lightingSpherical
  488.     }
  489. }
  490.  
  491. ///////////////////////////////////////////////////////////////
  492. //snowy opel
  493. ///////////////////////////////////////////////////////////////
  494. opelsnow2sided
  495. {
  496.     cull none
  497.     qer_editorimage textures/models/vehicles/OpelTruck/Opel_s.tga
  498.     {
  499.         map textures/models/vehicles/OpelTruck/Opel_s.tga
  500.         rgbGen lightingSpherical
  501.     }
  502. }
  503. opelsnow
  504. {
  505.     qer_editorimage textures/models/vehicles/OpelTruck/Opel_s.tga
  506.     {
  507.         map textures/models/vehicles/OpelTruck/Opel_s.tga
  508.         rgbGen lightingSpherical
  509.     }
  510. }
  511. opelhubsnow
  512. {
  513.     qer_editorimage textures/models/vehicles/OpelTruck/opelhub_s.tga
  514.     noMerge
  515.     {
  516.         map textures/models/vehicles/OpelTruck/opelhub_s.tga
  517.         rgbGen lightingSpherical
  518.         tcmod rotate 5 0 -20
  519.     }
  520. }
  521. opelhubsnow_norotate
  522. {
  523.     qer_editorimage textures/models/vehicles/OpelTruck/opelhub_s.tga
  524.     {
  525.         map textures/models/vehicles/OpelTruck/opelhub_s.tga
  526.         rgbGen lightingSpherical
  527.     }
  528. }
  529. opeltreadsnow
  530. {
  531.     qer_editorimage textures/models/vehicles/OpelTruck/opeltread_s.tga
  532.     noMerge
  533.     {
  534.         map textures/models/vehicles/OpelTruck/opeltread_s.tga
  535.         rgbGen lightingSpherical
  536.         tcmod scroll 2.4 0
  537.     }
  538. }
  539. opeltreadsnow_norotate
  540. {
  541.     qer_editorimage textures/models/vehicles/OpelTruck/opeltread_s.tga
  542.     {
  543.         map textures/models/vehicles/OpelTruck/opeltread_s.tga
  544.         rgbGen lightingSpherical
  545.     }
  546. }
  547. opelwindowssnow
  548. {
  549.     qer_editorimage textures/models/vehicles/OpelTruck/opelwindows_s.tga
  550.     cull none
  551.     {
  552.         map textures/models/vehicles/OpelTruck/opelwindows_s.tga
  553.         rgbGen lightingSpherical
  554.         blendFunc blend
  555.     }
  556. }
  557.  
  558. ////////////////////this is what's in the tiki
  559. //
  560. //    surface opel2 shader opel2sided shader opelgreen2sided shader opelsnow2sided
  561. //    surface opel3 shader opel shader opelgreen shader opelsnow
  562. //    surface opel4 shader opel shader opelgreen shader opelsnow
  563. //    surface opelhub shader opelhub shader opelhubgreen shader opelhubsnow
  564. //    surface opeltread shader opeltread shader opeltreadsnow
  565. //    surface opelhubstill shader opelhub_norotate shader opelhubgreen_norotate shader opelhubsnow_norotate
  566. //    surface opeltreadstill shader opeltread_norotate shader opeltreadsnow_norotate
  567. //    surface opelwindows shader opelwindows shader opelwindows_cracked shader opelwindowssnow
  568.  
  569. opelsnow_d
  570. {
  571.     qer_editorimage textures/models/vehicles/OpelTruck/Opel_s_d.tga
  572.     {
  573.         map textures/models/vehicles/OpelTruck/Opel_s_d.tga
  574.         rgbGen lightingSpherical
  575.     }
  576. }