// This is pretty much originally Killer's MKOxide shader with 
// extraneous stuff removed and paths changed - Lun

//************************************************************//
// Square orange light with 10000 light value                 //
//************************************************************//
textures/waste/ceil_orange_10000
   {
   surfaceparm nomarks
   q3map_surfacelight 10000
   light 1
   qer_editorimage textures/waste/ceil_orange.tga
      {
      map $lightmap
      rgbGen identity
      }
      {
      map textures/waste/ceil_orange.tga
      blendFunc GL_DST_COLOR GL_ZERO
      rgbGen identity
      }
      {
      map textures/waste/ceil_orangeglow.tga
      blendfunc GL_ONE GL_ONE
      }
   }


//************************************************************//
// Square red light with 5000 light value                    //
//************************************************************//
textures/waste/ceil_red_5000
   {
   surfaceparm nomarks
   q3map_surfacelight 5000
   light 1
   qer_editorimage textures/waste/ceil_red.tga
      {
      map $lightmap
      rgbGen identity
      }
      {
      map textures/waste/ceil_red.tga
      blendFunc GL_DST_COLOR GL_ZERO
      rgbGen identity
      }
      {
      map textures/waste/ceil_redglow.tga
      blendfunc GL_ONE GL_ONE
      }
   }


//************************************************************//
// Flourescent white strip light with 5000 light value        //
//************************************************************//
textures/waste/baselt1_5000
   {
   surfaceparm nomarks
   q3map_surfacelight 5000
   q3map_lightsubdivide 32
   light 1
   qer_editorimage textures/waste/baselt1.tga
      {
      map $lightmap
      rgbGen identity
      }
      {
      map textures/waste/baselt1.tga
      blendFunc GL_DST_COLOR GL_ZERO
      rgbGen identity
      }
      {
      map textures/waste/baselt1glow.tga
      blendfunc GL_ONE GL_ONE
      }
   }


//************************************************************//
// Flourescent white strip light with 2000 light value        //
//************************************************************//
textures/waste/baselt1_2000
   {
   surfaceparm nomarks
   q3map_surfacelight 2000
   q3map_lightsubdivide 32
   light 1
   qer_editorimage textures/waste/baselt1.tga
      {
      map $lightmap
      rgbGen identity
      }
      {
      map textures/waste/baselt1.tga
      blendFunc GL_DST_COLOR GL_ZERO
      rgbGen identity
      }
      {
      map textures/waste/baselt1glow.tga
      blendfunc GL_ONE GL_ONE
      }
   }


//************************************************************//
// Flourescent orange strip light with 5000 light value       //
//************************************************************//
textures/waste/wastelt1_5000
   {
   surfaceparm nomarks
   q3map_surfacelight 5000
   q3map_lightsubdivide 32
   light 1
   qer_editorimage textures/waste/wastelt1_ed.tga
      {
      map $lightmap
      rgbGen identity
      }
      {
      map textures/waste/wastelt1.tga
      blendFunc GL_DST_COLOR GL_ZERO
      rgbGen identity
      }
      {
      map textures/waste/wastelt1glow.tga
      blendfunc GL_ONE GL_ONE
      }
   }


//************************************************************//
// Flourescent orange strip light with 2000 light value       //
//************************************************************//
textures/waste/wastelt1_2000
   {
   surfaceparm nomarks
   q3map_surfacelight 2000
   light 1
   qer_editorimage textures/waste/wastelt1_ed.tga
      {
      map $lightmap
      rgbGen identity
      }
      {
      map textures/waste/wastelt1.tga
      blendFunc GL_DST_COLOR GL_ZERO
      rgbGen identity
      }
      {
      map textures/waste/wastelt1glow.tga
      blendfunc GL_ONE GL_ONE
      }
   }


//************************************************************//
// Strogg emblem that hasn't been rusted and chipped off      //
//************************************************************//
textures/waste/metal4_1shiny
   {
      {
      map textures/effects/envmapgold.tga
      tcGen environment
      }
      {
      map textures/waste/metal4_1shiny.tga
      blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
      }
      {
      map $lightmap
      blendFunc GL_DST_COLOR GL_ZERO
      }
   }


//************************************************************//
// Greenish semi-transparent sludge                           //
//************************************************************//
textures/waste/goo1
   {
   qer_editorimage textures/waste/goo2.tga
   qer_trans 0.2
   surfaceparm water
   surfaceparm trans
   surfaceparm noimpact
   surfaceparm nomarks
   tesssize 64
   deformVertexes wave 100 sin 2 2 0 .125
      {
      map textures/waste/goo1.tga
      blendFunc GL_DST_COLOR GL_ZERO
      tcMod rotate 1
      tcMod scroll -0.025 -0.045
      }
      {
      map textures/waste/goo2.tga
      blendFunc GL_ONE GL_ONE
      tcMod scale 1 -1
      tcMod scroll 0.045 0.025
      }
      {
      map $lightmap
      blendFunc GL_DST_COLOR GL_ZERO
      }
   }


//************************************************************//
// Yellow flourescent strip light beam texture                //
//************************************************************//
textures/waste/orangebeam
   {
   surfaceparm trans	
   surfaceparm nomarks	
   surfaceparm nonsolid
   surfaceparm nolightmap
   cull none
      {
      map textures/waste/orangebeam.tga
      tcMod Scroll .3 0
      blendFunc add
      }
   }


//************************************************************//
// Bounce pad on dark diamond floor                           //
//************************************************************//
textures/waste/bounce_floor1
   {
   surfaceparm nodamage
   q3map_lightimage textures/sfx/jumppadsmall.tga	
   q3map_surfacelight 400
      {
      map textures/waste/bounce_floor1.tga
      rgbGen identity
      }
      {
      map $lightmap
      rgbGen identity
      blendfunc filter
      }
      {
      map textures/sfx/bouncepad01b_layer1.tga
      blendfunc add
      rgbGen wave sin .5 .5 0 1.5
      }
      {
      clampmap textures/sfx/jumppadsmall.tga
      blendfunc add
      tcMod stretch sin 1.2 .8 0 1.5
      rgbGen wave square .5 .5 .25 1.5
      }
   }

