home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 58 / pcpp58a.iso / demos / alice / alice_demo.exe / demo / pak0.pk3 / scripts / wood.shader < prev   
Encoding:
Text File  |  2000-11-20  |  874 b   |  46 lines

  1. // Chris school window glow shader
  2. textures/wood/sch_wndw
  3. {
  4.  
  5.     cull disable
  6.     {
  7.         map textures/wood/sch_wndw2_1.tga
  8.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  9.         alphaFunc GE128
  10.         // blendFunc blend
  11.         depthWrite        
  12.         rgbGen lightingdiffuse
  13.     }
  14.     {
  15.         map textures/wood/sch_wndw3_1.tga
  16.         blendfunc add
  17.         rgbGen wave triangle 0 0.9 .75 0.07
  18.     }
  19. }
  20.  
  21. //see through rope bridge alpha
  22. textures/detail/ropebridge01sh
  23. {
  24.     qer_editorimage textures/detail/ropebridge01sh.tga
  25.     surfaceparm alphashadow
  26.     {
  27.         map textures/detail/ropebridge01sh.tga
  28.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  29.         alphaFunc GE128
  30.         depthWrite
  31.     }
  32.     {
  33.         map textures/detail_shader/detail_wood06.tga
  34.         blendfunc GL_DST_COLOR GL_SRC_COLOR
  35.         detail
  36.         tcMod scale 9.1 4.2
  37.         depthfunc equal
  38.     }
  39.     {    
  40.         map $lightmap
  41.         blendFunc GL_DST_COLOR GL_ZERO    
  42.         depthFunc equal
  43.     }
  44. }
  45.  
  46.