home *** CD-ROM | disk | FTP | other *** search
/ GameStar Special 2002 April / GSSH42002.iso / EDITOREN / JK2 / JK2EditingTools.exe / base / shaders / zoom.shader < prev   
Encoding:
Text File  |  2002-02-23  |  5.1 KB  |  322 lines

  1. gfx/misc/zoom_mask2
  2. {
  3.     nopicmip
  4.     nomipmaps
  5.     cull    disable
  6.     {
  7.         map gfx/misc/scanline.tga
  8.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  9.         detail
  10.         rgbGen identity
  11.         tcMod scale 10 12.5
  12.     }
  13.     {
  14.         map gfx/misc/zoom_mask2.tga
  15.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  16.         detail
  17.         rgbGen exactVertex
  18.     }
  19. }
  20.  
  21. gfx/misc/zoom_insert
  22. {
  23.     nopicmip
  24.     nomipmaps
  25.     cull    disable
  26.     {
  27.         map gfx/misc/zoom_insert.tga
  28.         blendFunc GL_ONE GL_ZERO
  29.         rgbGen exactVertex
  30.         tcMod scroll 0 0.5
  31.     }
  32.     {
  33.         map gfx/misc/zoom_ins_mask.tga
  34.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  35.         rgbGen exactVertex
  36.         tcMod scale 1 18
  37.     }
  38. }
  39.  
  40. gfx/2d/binocularWindow
  41. {
  42.     nopicmip
  43.     nomipmaps
  44.     cull    disable
  45.     {
  46.         map gfx/2d/zoomWindow.tga
  47.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  48.         tcMod scroll 60 41.5
  49.         rgbGen exactVertex
  50.     }
  51.     {
  52.         map gfx/misc/scanline.tga
  53.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  54.         detail
  55.         rgbGen identity
  56.         tcMod scale 1     5
  57.     }
  58. }
  59.  
  60. gfx/2d/lagogglesWindow
  61. {
  62.     nopicmip
  63.     nomipmaps
  64.     cull    disable
  65.     {
  66.         map gfx/2d/lagogglesWindow.tga
  67.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  68.         tcMod scroll 70 45.5
  69.     tcmod scale    3.0 2.0
  70.         rgbGen exactVertex
  71.     }
  72. }
  73.  
  74. gfx/2d/binocularBottom
  75. {
  76.     nopicmip
  77.     nomipmaps
  78.     cull    disable
  79.     {
  80.        clampmap gfx/2d/zoomBottom.tga
  81.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  82.         detail
  83.         rgbGen identity
  84.     }
  85. }
  86.  
  87. gfx/2d/binocularTop
  88. {
  89.     nopicmip
  90.     nomipmaps
  91.     cull    disable
  92.     {
  93.        clampmap gfx/2d/zoomTop.tga
  94.         blendFunc     GL_ONE        GL_ZERO
  95.         detail
  96.         rgbGen identity
  97.     }
  98.     {
  99.     map gfx/2d/zoomTopGlow.tga
  100.     blendFunc     GL_ONE         GL_ONE
  101.     detail
  102.     rgbGen wave sin 0.25 0.15 0.0 0.6
  103.     }
  104. }
  105.  
  106. gfx/2d/binocularNumOverlay
  107. {
  108.     nopicmip
  109.     nomipmaps
  110.     cull    disable
  111.     {
  112.       map gfx/2d/zoomNumOverlay2.tga
  113.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  114.         rgbGen identity
  115.     }
  116.     {
  117.       map gfx/2d/zoomNumOverlay.tga
  118.         blendFunc GL_ONE GL_ONE
  119.         rgbGen identity
  120.     }
  121.     {
  122.         map gfx/misc/scanline2.tga
  123.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  124.         rgbGen identity
  125.         tcMod scale 1         0.7
  126.     tcMod scroll 0    6.2
  127.     }
  128. }
  129.  
  130. gfx/2d/zoomStatic
  131. {
  132.     nopicmip
  133.     nomipmaps
  134.     cull    disable
  135.     {
  136.        map gfx/2d/zoomStatic.tga
  137.         blendFunc GL_ONE GL_ONE
  138.         detail
  139.         rgbGen vertex
  140.         tcMod scale 3         3
  141.     tcMod scroll 20    10
  142.     }
  143. }
  144.  
  145. gfx/2d/watermark
  146. {
  147.     nopicmip
  148.     cull    disable
  149.     {
  150.        map gfx/2d/watermark.tga
  151.         blendFunc GL_ONE GL_ONE
  152.         detail
  153.         rgbGen vertex
  154.     }
  155. }
  156.  
  157. gfx/2d/disruptorMask
  158. {
  159.     nopicmip
  160.     cull    disable
  161.     {
  162.         map gfx/misc/scanline.tga
  163.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  164.         detail
  165.         rgbGen identity
  166.         tcMod scale 1 9.5
  167.     }
  168.     {
  169.         map gfx/2d/disruptorMask.tga
  170.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  171.         detail
  172.         rgbGen exactVertex
  173.     }
  174. }
  175.  
  176. //--------------------------------
  177. // New Binocular Shaders
  178. //--------------------------------
  179. gfx/2d/binTopTri
  180. {
  181.     nopicmip
  182.     nomipmaps
  183.     cull    disable
  184.  
  185.     {
  186.         map     gfx/2d/binTopTri.tga
  187.         blendFunc GL_ONE GL_ONE
  188.         rgbGen     vertex
  189.     }
  190. }
  191.  
  192. gfx/2d/binCircle
  193. {
  194.     nopicmip
  195.     nomipmaps
  196.     cull    disable
  197.  
  198.     {
  199.         map     gfx/2d/binCircle.tga
  200.         blendFunc GL_ONE GL_ONE
  201.         rgbGen     vertex
  202.     }
  203. }
  204.  
  205. gfx/2d/binSideArrow
  206. {
  207.     nopicmip
  208.     nomipmaps
  209.     cull    disable
  210.  
  211.     {
  212.         map     gfx/2d/binSideArrow.tga
  213.         blendFunc GL_ONE GL_ONE
  214.         rgbGen     vertex
  215.     }
  216. }
  217.  
  218. gfx/2d/binMask
  219. {
  220.     nopicmip
  221.     nomipmaps
  222.     cull    disable
  223.  
  224.     {
  225.         map     gfx/2d/binMask.tga
  226.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  227.         rgbGen     identity
  228.         alphaGen identity
  229.     }
  230. }
  231.  
  232. gfx/2d/amp_mask
  233. {
  234.     nopicmip
  235.     nomipmaps
  236.     cull    disable
  237.  
  238.     {
  239.         map     gfx/2d/amp_mask.tga
  240.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  241.         rgbGen     identity
  242.         alphaGen identity
  243.     }
  244. }
  245.  
  246. gfx/2d/side_bit
  247. {
  248.     nopicmip
  249.     nomipmaps
  250.     cull disable
  251.     {
  252.         map gfx/2d/side_bit.tga
  253.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  254.         rgbGen identity
  255.         alphaGen identity
  256.         tcMod scale 1 1.5
  257.         tcMod scroll 0 3
  258.     }
  259. }
  260.  
  261. gfx/2d/bracket
  262. {
  263.     nopicmip
  264.     nomipmaps
  265.     cull disable
  266.     {
  267.         map gfx/2d/bracket.tga
  268.         blendFunc GL_ONE GL_ONE
  269.         rgbGen identity
  270.         alphaGen identity
  271.     }
  272. }
  273.  
  274. gfx/2d/bracket2
  275. {
  276.     nopicmip
  277.     nomipmaps
  278.     cull disable
  279.     {
  280.         map gfx/2d/bracket2.tga
  281.         blendFunc GL_ONE GL_ONE
  282.         rgbGen identity
  283.         alphaGen identity
  284.     }
  285. }
  286.  
  287. gfx/2d/workingCamera
  288. {
  289.     nopicmip
  290.     nomipmaps
  291.     cull disable
  292.     {
  293.         map gfx/2d/lagogglesWindow
  294.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  295.         tcmod scale 2 2
  296.         tcmod scroll -30 10
  297.     }    
  298.     {
  299.         map gfx/misc/scanline2
  300.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  301.         tcmod scale 1 10
  302.     }    
  303. }
  304.  
  305. gfx/2d/brokenCamera
  306. {
  307.     nopicmip
  308.     nomipmaps
  309.     cull disable
  310.     {
  311.         map gfx/2d/brokenCamera
  312.         blendFunc GL_ONE GL_ZERO
  313.         tcmod scale 3.5 3
  314.         tcmod scroll -30 20
  315.     }    
  316.     {
  317.         map gfx/misc/scanline2
  318.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  319.         tcmod scale 1 10
  320.     }    
  321. }
  322.