home *** CD-ROM | disk | FTP | other *** search
/ Net Power 2000 #2 / NetCD2.iso / Demogame / Quake3 / q3ademo.exe / Main / pak0.pk3 / scripts / common.shader < prev    next >
Encoding:
Text File  |  1999-11-29  |  6.6 KB  |  368 lines

  1. textures/common/nolightmap
  2. {
  3.     surfaceparm nolightmap
  4. }
  5.  
  6. textures/common/nodrawnonsolid
  7. {
  8.     surfaceparm    nonsolid
  9.     surfaceparm    nodraw
  10. }
  11.  
  12. textures/common/invisible
  13. {
  14.     surfaceparm nolightmap            
  15.         {
  16.                 map textures/common/invisible.tga
  17.                 alphaFunc GE128
  18.         depthWrite
  19.         rgbGen vertex
  20.         }
  21. }
  22.  
  23. textures/common/teleporter
  24. {
  25.     surfaceparm nolightmap
  26.     surfaceparm noimpact
  27.     q3map_lightimage textures/sfx/powerupshit.tga    
  28.     q3map_surfacelight 800
  29.     {
  30.         map textures/sfx/powerupshit.tga
  31.         tcGen environment
  32. //        tcMod scale 5 5
  33.         tcMod turb 0 0.015 0 0.3
  34.     }
  35. }
  36.  
  37. textures/common/nodrop
  38. {
  39.     qer_nocarve
  40.     qer_trans    0.5
  41.     surfaceparm     trans
  42.     surfaceparm    nonsolid
  43.     surfaceparm    nomarks
  44.     surfaceparm     nodrop
  45.     surfaceparm     nolightmap
  46.     surfaceparm     nodraw
  47.     cull        disable
  48. }
  49.  
  50. textures/common/weapclip
  51. {
  52.     qer_trans 0.40
  53.     surfaceparm trans
  54.     surfaceparm nomarks
  55.     surfaceparm nodraw
  56. }
  57.  
  58. textures/common/clip
  59. {
  60.     qer_trans 0.40
  61.     surfaceparm     nolightmap
  62.     surfaceparm nomarks
  63.     surfaceparm nodraw
  64.     surfaceparm nonsolid
  65.         //surfaceparm     nolightmap //proto_addition 11/08/99
  66.     surfaceparm playerclip
  67.     surfaceparm noimpact
  68. }
  69.  
  70. textures/common/full_clip
  71. {
  72.     qer_trans 0.40
  73.     surfaceparm nodraw
  74.     surfaceparm playerclip
  75. }
  76.  
  77.  
  78. textures/common/missileclip
  79. {
  80.     qer_trans 0.40
  81.     surfaceparm nodamage
  82.     surfaceparm nomarks
  83.     surfaceparm nodraw
  84.     //surfaceparm nonsolid
  85.     surfaceparm playerclip
  86. }
  87.  
  88. //*****************************************
  89. //**   I've reduced the transparency on most editor-only brushes here.
  90. //**   If the transparent textures are still too pale for
  91. //**   things like clip, hint, trigger, etc.,
  92. //**   Please make an editorimage to suit your needs.
  93. //******************************************
  94.  
  95. textures/common/cushion
  96. {
  97.     qer_nocarve
  98.     qer_trans 0.50
  99.     surfaceparm nodraw
  100.     surfaceparm nomarks
  101.     surfaceparm nodamage
  102.     surfaceparm trans
  103. }
  104.  
  105. textures/common/hint
  106. {
  107. qer_nocarve
  108. qer_trans 0.30
  109. surfaceparm nodraw
  110. surfaceparm nonsolid
  111. surfaceparm structural
  112. surfaceparm trans
  113. surfaceparm noimpact
  114. }
  115.  
  116. textures/common/skip
  117. {
  118. qer_nocarve
  119. qer_trans 0.40
  120. surfaceparm nodraw
  121. surfaceparm nonsolid
  122. surfaceparm structural
  123. surfaceparm trans
  124. }
  125.  
  126. textures/common/slick
  127. {
  128.     qer_trans 0.50
  129.     surfaceparm nodraw
  130.     surfaceparm nomarks
  131.     surfaceparm trans
  132.     surfaceparm slick
  133. }
  134.  
  135. textures/common/origin
  136. {
  137.     qer_nocarve
  138.     surfaceparm nodraw
  139.     surfaceparm nonsolid
  140.     surfaceparm origin
  141. }
  142.  
  143. textures/common/noimpact
  144. {
  145.     surfaceparm noimpact
  146. }
  147.  
  148. textures/common/areaportal
  149. {
  150.     qer_trans 0.50
  151.     surfaceparm nodraw
  152.     surfaceparm nonsolid
  153.     surfaceparm structural
  154.     surfaceparm trans
  155.     surfaceparm    nomarks
  156.     surfaceparm areaportal
  157. }
  158.  
  159. //bot specific cluster portal
  160. textures/common/clusterportal
  161. {
  162.     qer_trans 0.50
  163.     surfaceparm nodraw
  164.     surfaceparm nonsolid
  165.     surfaceparm trans
  166.     surfaceparm    nomarks
  167.     surfaceparm detail
  168.     surfaceparm clusterportal
  169. }
  170.  
  171. //bot specific "do not enter" brush
  172. textures/common/donotenter
  173. {
  174.     qer_trans 0.50
  175.     surfaceparm nodraw
  176.     surfaceparm nonsolid
  177.     surfaceparm trans
  178.     surfaceparm    nomarks
  179.     surfaceparm detail
  180.     surfaceparm donotenter
  181. }
  182.  
  183. textures/common/trigger
  184. {
  185.     qer_trans 0.50
  186.     qer_nocarve
  187.     surfaceparm nodraw
  188. }
  189.  
  190. textures/common/caulk
  191. {
  192.     surfaceparm nodraw
  193.     surfaceparm nomarks
  194.         surfaceparm nolightmap
  195. }
  196.  
  197. textures/common/nodraw
  198. {
  199.     surfaceparm nodraw
  200.     surfaceparm nonsolid
  201.     surfaceparm trans
  202.     surfaceparm nomarks
  203. }
  204.  
  205. textures/common/mirror1
  206. {
  207.     qer_editorimage textures/common/qer_mirror.tga
  208.     surfaceparm nolightmap
  209.     portal
  210.   
  211.     {
  212.         map textures/common/mirror1.tga
  213.         blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  214.         depthWrite
  215.     }
  216.        
  217.         
  218.  
  219. }
  220.  
  221. textures/common/mirror2
  222. {
  223.     qer_editorimage textures/common/qer_mirror.tga
  224.     surfaceparm nolightmap
  225.     portal
  226.     {
  227.         map textures/common/mirror1.tga
  228.         blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  229.         depthWrite
  230.     }
  231.         {
  232.                map textures/sfx/mirror.tga
  233.            blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
  234.         }
  235.  
  236. }
  237. textures/common/energypad
  238. {
  239.     qer_editorimage textures/common/bluegoal.tga
  240.     surfaceparm nolightmap
  241.     cull twosided
  242.     {
  243.         map textures/common/bluegoal.tga
  244.         blendFunc GL_ONE GL_SRC_ALPHA
  245.         tcGen environment
  246.         tcMod turb 0 0.25 0 0.05
  247.     }
  248. }
  249.  
  250. textures/common/portal
  251. {
  252.     qer_editorimage textures/common/qer_portal.tga
  253.     surfaceparm nolightmap
  254.     portal
  255.     {
  256.         map textures/common/mirror1.tga
  257. //        map textures/common/portal.tga
  258.         tcMod turb 0 0.25 0 0.05
  259. //        blendFunc GL_ONE GL_SRC_ALPHA
  260.         blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  261.         depthWrite
  262.  
  263.     }
  264. }
  265.  
  266. textures/common/timportal
  267. {
  268.     qer_editorimage textures/common/qer_portal.tga
  269.     portal
  270.     surfaceparm nolightmap
  271.     {
  272.         map textures/common/portal.tga
  273.         tcMod turb 0 0.25 0 0.05
  274.         blendFunc GL_ONE GL_SRC_ALPHA
  275.         depthWrite
  276.     }
  277. }
  278.  
  279. textures/sfx/portal_sfx
  280. {
  281.  
  282.     //    *************************************************
  283.     //    *          Portal Inside Effect             *
  284.     //    *          April 29                *    
  285.     //    *    Please Comment Changes            *
  286.     //    *************************************************
  287.  
  288.     portal
  289.     surfaceparm nolightmap
  290.     deformVertexes wave 100 sin 0 2 0 .5
  291.  
  292.  
  293.     {
  294.         map textures/sfx/portal_sfx3.tga
  295.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  296.     //    This blend function is not working on RagePro drivers Mac only
  297.     //    when it is used on top of portals
  298.         depthWrite
  299.     }
  300.  
  301.  
  302.     {
  303.         map textures/sfx/portal_sfx1.tga
  304.         blendfunc gl_dst_color gl_zero
  305.         tcMod rotate 360
  306.     }
  307.  
  308.     {
  309.         map textures/sfx/portal_sfx.tga
  310.         blendfunc gl_one gl_one
  311.         rgbgen wave inversesawtooth 0 .5 .2 .5
  312.     }
  313.  
  314.     {
  315.         map textures/sfx/portalfog.tga
  316.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  317.         alphagen portal 256
  318.         rgbGen identityLighting    
  319.         tcmod turb sin 0 .5 0 1
  320.         tcmod rotate .1 .1
  321.         tcmod scroll .01 .03
  322.     }
  323. }
  324. textures/sfx/portal2_sfx
  325. {
  326.  
  327.     //    *************************************************
  328.     //    *          Portal Inside Effect             *
  329.     //    *          April 29                *    
  330.     //    *    Please Comment Changes            *
  331.     //    *************************************************
  332.  
  333.     portal
  334.     surfaceparm nolightmap
  335.     deformVertexes wave 100 sin 0 2 0 .5
  336.  
  337.  
  338.     {
  339.         map textures/sfx/portal_sfx3.tga
  340.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  341.     //    This blend function is not working on RagePro drivers Mac only
  342.     //    when it is used on top of portals
  343.         depthWrite
  344.     }
  345.  
  346.  
  347.     {
  348.         map textures/sfx/portal_sfx1.tga
  349.         blendfunc gl_dst_color gl_zero
  350.         tcMod rotate 360
  351.     }
  352.  
  353.     {
  354.         map textures/sfx/portal_sfx.tga
  355.         blendfunc gl_one gl_one
  356.         rgbgen wave inversesawtooth 0 .5 .2 .5
  357.     }
  358.  
  359.     {
  360.         map textures/sfx/portalfog.tga
  361.         blendfunc gl_src_alpha gl_one_minus_src_alpha
  362.         //alphagen portal 128
  363.         rgbGen identityLighting    
  364.         tcmod turb sin 0 .5 0 1
  365.         tcmod rotate .1 .1
  366.         tcmod scroll .01 .03
  367.     }
  368. }