home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Inne / Gry / OpenArena / baseoa / pak0.pk3 / scripts / terrain.shader < prev    next >
Encoding:
Text File  |  2007-05-25  |  3.5 KB  |  213 lines

  1. textures/castle/terrain_0
  2. {
  3.     q3map_lightmapaxis z
  4.     q3map_texturesize 512 512
  5.     q3map_shadeangle 120
  6.     q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
  7.  
  8.     {
  9.         map textures/organics/pjrock7d.jpg
  10.         blendFunc GL_DST_COLOR GL_ZERO
  11.     }
  12.     {
  13.         map textures/skies/clouds.tga
  14.         blendfunc filter
  15.         tcmod scale .2 .2
  16.         tcMod scroll -0.15 0.15
  17.     }
  18.     {
  19.         map $lightmap
  20.         rgbGen identity
  21.     }
  22.  
  23.     q3map_styleMarker
  24. }
  25.  
  26. textures/castle/terrain_1
  27. {
  28.     q3map_lightmapaxis z
  29.     q3map_texturesize 512 512
  30.     q3map_shadeangle 120
  31.     q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
  32.  
  33.     {
  34.         map textures/clown/vegetation.tga
  35.         blendFunc GL_DST_COLOR GL_ZERO
  36.     }
  37.     {
  38.         map textures/skies/clouds.tga
  39.         blendfunc filter
  40.         tcmod scale .2 .2
  41.         tcMod scroll -0.15 0.15
  42.     }
  43.     {
  44.         map $lightmap
  45.         rgbGen identity
  46.     }
  47.  
  48.     q3map_styleMarker
  49.  
  50. }
  51.  
  52. textures/castle/terrain_2
  53. {
  54.     q3map_lightmapaxis z
  55.     q3map_texturesize 512 512
  56.     q3map_shadeangle 120
  57.     q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
  58.  
  59.     {
  60.         map textures/organics/pjrock7d.jpg
  61.         blendFunc GL_DST_COLOR GL_ZERO
  62.     }
  63.     {
  64.         map textures/skies/clouds.tga
  65.         blendfunc filter
  66.         tcmod scale .2 .2
  67.         tcMod scroll -0.15 0.15
  68.     }
  69.     {
  70.         map $lightmap
  71.         rgbGen identity
  72.     }
  73.  
  74.     q3map_styleMarker
  75.  
  76. }
  77.  
  78. textures/castle/terrain_0to1
  79. {
  80.     q3map_lightmapaxis z
  81.     q3map_texturesize 512 512
  82.     q3map_shadeangle 120
  83.     q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
  84.  
  85.     {
  86.         map textures/organics/pjrock7d.jpg
  87.         blendFunc GL_DST_COLOR GL_ZERO
  88.     }
  89.     {
  90.         map textures/clown/vegetation.tga
  91.         alphaGen vertex
  92.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  93.     }
  94.     {
  95.         map textures/skies/clouds.tga
  96.         blendfunc filter
  97.         tcmod scale .2 .2
  98.         tcMod scroll -0.15 0.15
  99.     }
  100.     {
  101.         map $lightmap
  102.         rgbGen identity
  103.     }
  104.  
  105.     q3map_styleMarker
  106.  
  107. }
  108.  
  109. textures/castle/terrain_0to2
  110. {
  111.     q3map_lightmapaxis z
  112.     q3map_texturesize 512 512
  113.     q3map_shadeangle 120
  114.     q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
  115.  
  116.     {
  117.         map textures/organics/pjrock7d.jpg
  118.         blendFunc GL_DST_COLOR GL_ZERO
  119.     }
  120.     {
  121.         map textures/organics/pjrock7d.jpg
  122.         alphaGen vertex
  123.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  124.     }
  125.     {
  126.         map textures/skies/clouds.tga
  127.         blendfunc filter
  128.         tcmod scale .2 .2
  129.         tcMod scroll -0.15 0.15
  130.     }
  131.     {
  132.         map $lightmap
  133.         rgbGen identity
  134.     }
  135.  
  136.     q3map_styleMarker
  137.  
  138. }
  139.  
  140. textures/castle/terrain_1to2
  141. {
  142.     q3map_lightmapaxis z
  143.     q3map_texturesize 512 512
  144.     q3map_shadeangle 120
  145.     q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
  146.  
  147.     {
  148.         map textures/clown/vegetation.tga
  149.         blendFunc GL_DST_COLOR GL_ZERO
  150.     }
  151.     {
  152.         map textures/organics/pjrock7d.jpg
  153.         alphaGen vertex
  154.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  155.     }
  156.     {
  157.         map textures/skies/clouds.tga
  158.         blendfunc filter
  159.         tcmod scale .2 .2
  160.         tcMod scroll -0.15 0.15
  161.     }
  162.     {
  163.         map $lightmap
  164.         rgbGen identity
  165.     }
  166.  
  167.     q3map_styleMarker
  168.  
  169. }
  170.  
  171. textures/castle/terrain.vertex
  172. {
  173.     {
  174.         map textures/organics/pjrock7d.jpg
  175.         rgbGen vertex
  176.     }
  177. }
  178.  
  179. textures/castle/ter_rock-mud
  180. {
  181.            q3map_nonplanar
  182.     q3map_shadeangle 180
  183.     q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 )
  184.     q3map_alphaMod dotproduct2 ( 0.0 0.0 0.95 )
  185.  
  186.  
  187.  
  188.     {
  189.         map textures/organics/pjrock7d.jpg    // Primary
  190.         rgbGen identity
  191.     }
  192.  
  193.     {
  194.          map textures/clown/vegetation.tga    // Secondary
  195.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  196.         alphaFunc GE128
  197.         rgbGen identity
  198.         alphaGen vertex
  199.     }
  200.     {
  201.         map textures/skies/clouds.tga
  202.         blendfunc filter
  203.         tcmod scale .2 .2
  204.         tcMod scroll -0.15 0.15
  205.     }
  206.     {
  207.         map $lightmap
  208.         rgbGen identity
  209.         blendFunc GL_DST_COLOR GL_ZERO
  210.     }
  211.     q3map_styleMarker
  212.  
  213. }