home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 58 / pcpp58a.iso / demos / alice / alice_demo.exe / demo / pak0.pk3 / scripts / wall.shader < prev    next >
Encoding:
Text File  |  2000-11-20  |  11.3 KB  |  568 lines

  1. // Chris school window glow shader
  2. textures/wall/sch_window1
  3. {
  4.     surfaceparm trans
  5.     qer_editorimage textures/wall/sch_wndw2_1.tga
  6.     //cull disable
  7.  
  8.     {
  9.         map textures/wall/sch_wndw2_1.tga
  10.         depthWrite
  11.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  12.         rgbGen identity
  13.     }
  14.     {    
  15.         map $lightmap
  16.         rgbGen identity
  17.         blendFunc GL_DST_COLOR GL_ZERO
  18.     }
  19.     {
  20.         map textures/wall/sch_wndw3_1.tga
  21.         blendfunc add
  22.         rgbGen wave triangle 0 0.9 .75 0.1
  23.     }
  24. }
  25.  
  26.  
  27. //Chris dooboards for school maps alpha
  28. textures/door/door_beams2_1
  29. {
  30.     qer_editorimage textures/door/door_beams2_1.tga
  31.     surfaceparm alphashadow
  32.     surfaceparm trans
  33.     {
  34.         map textures/door/door_beams2_1.tga
  35.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  36.         alphafunc gt0
  37.     }
  38.     {    
  39.         map $lightmap
  40.         blendfunc filter
  41.         depthfunc equal
  42.         rgbGen identity
  43.     }
  44. }
  45.  
  46. //Chris dooboards for school maps alpha
  47. textures/door/door_beams2_2
  48. {
  49.     qer_editorimage textures/door/door_beams2_2.tga
  50.     //surfaceparm nolightmap
  51.     surfaceparm trans
  52.     {
  53.         map textures/door/door_beams2_2.tga
  54.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  55.         alphafunc gt0
  56.     }
  57.     {    
  58.         map $lightmap
  59.         blendfunc filter
  60.         depthfunc equal
  61.         rgbGen identity
  62.     }
  63. }
  64.  
  65. //Chris dooboards for school maps alpha
  66. textures/door/door_beams2_3
  67. {
  68.     qer_editorimage textures/door/door_beams2_3.tga
  69.     //surfaceparm nolightmap
  70.     surfaceparm trans
  71.     {
  72.         map textures/door/door_beams2_3.tga
  73.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  74.         alphafunc gt0
  75.     }
  76.     {    
  77.         map $lightmap
  78.         blendfunc filter
  79.         depthfunc equal
  80.         rgbGen identity
  81.     }
  82. }
  83.  
  84. textures/wall/sch_wndw_sm5
  85. {
  86.     surfaceparm trans
  87.     qer_editorimage textures/wall/sch_wndw_small5_1.tga
  88.     //cull disable
  89.  
  90.     {
  91.         map textures/wall/sch_wndw_small5_1.tga
  92.         depthWrite
  93.           blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  94.         rgbGen identity
  95.     }
  96.     {    
  97.         map $lightmap
  98.         rgbGen identity
  99.         blendFunc GL_DST_COLOR GL_ZERO
  100.     }
  101. }
  102.  
  103. // PGM - this is alice's mental block wall
  104. textures/effects/alicewall
  105. {
  106.     q3map_globaltexture
  107.     qer_editorimage textures/effects/alicewall_04.tga
  108.     //surfaceparm nolightmap
  109.     {
  110.             map textures/effects/alicewall_01.tga
  111.             tcmod scale 0.3 0.3
  112.         depthwrite       
  113.         rgbGen wave sin 0 .4 0 .1
  114.         tcMod turb 0 0.25 0 0.1
  115.     }
  116.     {
  117.         map textures/effects/alicewall_04.tga            
  118.         blendfunc GL_ONE GL_ONE           
  119.         tcmod scale 0.4 0.2        
  120.         tcMod turb 0 -0.25 0 0.1           
  121.     }
  122.     {
  123.             map textures/metal/slv_mirror02.tga
  124.              blendFunc GL_DST_COLOR GL_SRC_COLOR        
  125.         rgbGen wave sin 1.7 .8 0.9 0.15
  126.              //tcGen environment
  127.         tcmod scale .1 .1
  128.         tcmod scroll .1 0        
  129.     }
  130.     {    
  131.         map $lightmap
  132.         rgbGen identity
  133.         blendFunc GL_DST_COLOR GL_ZERO
  134.     }
  135. }
  136.  
  137. // PGM - this is the trim for alice's mental block wall (obelisk)
  138. textures/effects/alicewalltrim
  139. {
  140.     qer_editorimage textures/common/black.tga
  141.     surfaceparm nolightmap
  142.     {
  143.         map textures/common/black.tga
  144.         depthwrite
  145.         rgbgen identity
  146.     }
  147.     {
  148. //        map textures/effects/screenshot1_1.tga
  149.         map textures/effects/walltrim_envmap.tga
  150.         blendfunc GL_ONE GL_ONE
  151.         tcmod scale 2 2
  152.         tcgen environment    
  153.     }
  154. }
  155. //marble for chess
  156. textures/chess/marble
  157. {
  158.     qer_editorimage textures/chess/bw_marble1_4.tga
  159. //    surfaceparm nolightmap
  160.     {
  161.         map $lightmap
  162.         rgbGen identity
  163.     }
  164.     {        
  165.         map textures/chess/bw_marble1_4.tga
  166.         //blendFunc GL_one gl_ONE
  167.         //blendFunc filter
  168.         blendFunc GL_DST_COLOR GL_ZERO
  169.         rgbGen identity
  170.         //tcgen environment
  171.     }
  172.     {
  173.         map textures/effects/reflights3.tga
  174.         //blendfunc GL_ONE GL_src_color
  175.         //blendfunc filter
  176.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  177.         tcgen environment
  178.         rgbGen identity
  179.         tcMod scale 2 2
  180.     }
  181. }    
  182. //red marble for red chess
  183. textures/chess_red/red_marble1_4
  184. {
  185.     qer_editorimage textures/chess_red/red_marble1_4.tga
  186. //    surfaceparm nolightmap
  187.     {
  188.         map $lightmap
  189.         rgbGen identity
  190.     }
  191.     {        
  192.         map textures/chess_red/red_marble1_4.tga
  193.         //blendFunc GL_one gl_ONE
  194.         //blendFunc filter
  195.         blendFunc GL_DST_COLOR GL_ZERO
  196.         rgbGen identity
  197.         //tcgen environment
  198.     }
  199.     {
  200.         map textures/effects/reflights3.tga
  201.         //blendfunc GL_ONE GL_src_color
  202.         //blendfunc filter
  203.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  204.         tcgen environment
  205.         rgbGen identity
  206.         tcMod scale 2 2
  207.     }
  208. }    
  209.  
  210. // Chris dutches's window
  211. textures/enlarged/tears_house1_2
  212. {
  213.     //surfaceparm trans
  214.     qer_editorimage textures/enlarged/tears_house1_2.tga
  215.     //cull disable
  216.  
  217.     {
  218.         map textures/enlarged/tears_house1_2.tga
  219.         //depthWrite
  220.         //blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  221.         rgbGen identity
  222.     }
  223.     {    
  224.         map $lightmap
  225.         //depthfunc equal
  226.         rgbGen identity
  227.         blendFunc GL_DST_COLOR GL_ZERO
  228.     }
  229.     {
  230.         map textures/enlarged/tears_house1_3.tga
  231.         //depthfunc equal
  232.         blendfunc add
  233.         rgbGen wave triangle 0 0.9 .75 0.1
  234.     }
  235. }
  236.  
  237.  
  238. // Chris Dutches monocle
  239. textures/enlarged/tears_house3_1
  240. {
  241.     qer_editorimage textures/enlarged/tears_house3_1.tga
  242.     
  243.     {
  244.         map textures/enlarged/tears_house3_1.tga
  245.     }
  246.     {
  247.         map $lightmap
  248.         blendfunc filter        
  249.     }
  250.     //{
  251.         //map textures/enlarged/tears_house3_2.tga
  252.         //depthfunc equal
  253.         //blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA        
  254.         //tcMod turb 0.000000 0.000000 0.000000 0.0000000
  255.         //rgbGen wave sawtooth 0.000000 0.90000 0.0000000 0.200000
  256.         //rgbGen wave sin .5 0.5 0 0.3
  257.     //}
  258.     
  259.     {
  260.         map textures/enlarged/monicle1_1.tga
  261.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  262.     }
  263. }
  264. //chris's poop    
  265. textures/queen/q_wall1_3
  266. {
  267.  
  268.     
  269.      cull disable
  270.     {
  271.                 map textures/queen/q_hearts1_1.tga
  272.                 tcMod scale 2 2               
  273.         tcMod turb 0.000000 0.200000 0.000000 0.100000
  274.             tcMod scroll 0 .2  
  275.     }  
  276.     {
  277.         map textures/queen/q_wall1_3.tga
  278.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA        
  279.         //tcMod turb 0.000000 0.200000 0.100000 0.100000
  280.     }
  281.     {
  282.         map $lightmap
  283.         blendfunc gl_dst_color gl_zero
  284.         rgbgen identity
  285.     }
  286. }
  287.  
  288. //chris eye shader
  289. textures/funhouse/eye1_1
  290. {
  291.     qer_editorimage textures/funhouse/eye1_1.tga
  292.  
  293.     {    
  294.         map $lightmap
  295.         rgbGen identity
  296.     }
  297.     {
  298.         map textures/funhouse/eye1_1.tga
  299.         blendfunc filter
  300.         rgbGen identity
  301.         tcmod rotate 10
  302.     }
  303.     //{
  304.         //map textures/funhouse/eye1_2.tga
  305.         //blendfunc add
  306.         //rgbGen wave sin 0.6 0.4 0.5 .25
  307.     //}
  308. }
  309. //Rose window for queens facade    top
  310. textures/queen/q_rw_top3_7
  311. {
  312.     qer_editorimage textures/queen/q_rw_top3_7.tga
  313. //    surfacelight 1500
  314. //    q3map_surfacelight 1500
  315.     {    
  316.         map $lightmap
  317.         rgbGen identity
  318.     }
  319.     {
  320.         clampmap textures/queen/q_rw_top3_7.tga
  321.         blendfunc filter
  322.         rgbGen identity
  323.     }
  324.     {
  325.         clampmap textures/queen/q_rw_top_glass1_1.tga
  326.         blendfunc add
  327.         rgbGen wave sin 0.6 0.4 0.5 .25
  328.     }
  329. }
  330. //Rose window for queens facade    bottom
  331. textures/queen/q_rw_bottom1_1
  332. {
  333.     qer_editorimage textures/queen/q_rw_bottom1_1.tga
  334. //    surfacelight 1500
  335. //    q3map_surfacelight 1500
  336.     {    
  337.         map $lightmap
  338.         rgbGen identity
  339.     }
  340.     {
  341.         clampmap textures/queen/q_rw_bottom1_1.tga
  342.         blendfunc filter
  343.         rgbGen identity
  344.     }
  345.     {
  346.         clampmap textures/queen/q_rw_bottom1_2.tga
  347.         blendfunc add
  348.         rgbGen wave sin 0.6 0.4 0.5 .25
  349.     }
  350. }
  351. //Rose window for queens facade    (TOP WINDOW..top left corner)
  352. textures/queen/q_rw_top4_1
  353. {
  354.     qer_editorimage textures/queen/q_rw_top4_1.tga
  355. //    surfacelight 1500
  356. //    q3map_surfacelight 1500
  357.     {    
  358.         map $lightmap
  359.         rgbGen identity
  360.     }
  361.     {
  362.         clampmap textures/queen/q_rw_top4_1.tga
  363.         blendfunc filter
  364.         rgbGen identity
  365.     }
  366.     {
  367.         clampmap textures/queen/q_rw_top4_5.tga
  368.         blendfunc add
  369.         rgbGen wave sin 0.6 0.4 0.5 .25
  370.     }
  371. }
  372. //Rose window for queens facade    (TOP WINDOW..top right corner)
  373. textures/queen/q_rw_top4_2
  374. {
  375.     qer_editorimage textures/queen/q_rw_top4_2.tga
  376. //    surfacelight 1500
  377. //    q3map_surfacelight 1500
  378.     {    
  379.         map $lightmap
  380.         rgbGen identity
  381.     }
  382.     {
  383.         clampmap textures/queen/q_rw_top4_2.tga
  384.         blendfunc filter
  385.         rgbGen identity
  386.     }
  387.     {
  388.         clampmap textures/queen/q_rw_top4_6.tga
  389.         blendfunc add
  390.         rgbGen wave sin 0.6 0.4 0.5 .25
  391.     }
  392. }
  393. //Rose window for queens facade    (TOP WINDOW..bottom right corner)
  394. textures/queen/q_rw_top4_3
  395. {
  396.     qer_editorimage textures/queen/q_rw_top4_3.tga
  397. //    surfacelight 1500
  398. //    q3map_surfacelight 1500
  399.     {    
  400.         map $lightmap
  401.         rgbGen identity
  402.     }
  403.     {
  404.         clampmap textures/queen/q_rw_top4_3.tga
  405.         blendfunc filter
  406.         rgbGen identity
  407.     }
  408.     {
  409.         clampmap textures/queen/q_rw_top4_7.tga
  410.         blendfunc add
  411.         rgbGen wave sin 0.6 0.4 0.5 .25
  412.     }
  413. }
  414. //Rose window for queens facade    (TOP WINDOW..bottom left corner)
  415. textures/queen/q_rw_top4_4
  416. {
  417.     qer_editorimage textures/queen/q_rw_top4_4.tga
  418. //    surfacelight 1500
  419. //    q3map_surfacelight 1500
  420.     {    
  421.         map $lightmap
  422.         rgbGen identity
  423.     }
  424.     {
  425.         clampmap textures/queen/q_rw_top4_4.tga
  426.         blendfunc filter
  427.         rgbGen identity
  428.     }
  429.     {
  430.         clampmap textures/queen/q_rw_top4_8.tga
  431.         blendfunc add
  432.         rgbGen wave sin 0.6 0.4 0.5 .25
  433.     }
  434. }
  435. //Rose window for queens facade    (BOTTOM WINDOW..top left corner)
  436. textures/queen/q_rw_bottom2_5
  437. {
  438.     qer_editorimage textures/queen/q_rw_bottom2_5.tga
  439. //    surfacelight 1500
  440. //    q3map_surfacelight 1500
  441.     {    
  442.         map $lightmap
  443.         rgbGen identity
  444.     }
  445.     {
  446.         clampmap textures/queen/q_rw_bottom2_5.tga
  447.         blendfunc filter
  448.         rgbGen identity
  449.     }
  450.     {
  451.         clampmap textures/queen/q_rw_bottom2_1.tga
  452.         blendfunc add
  453.         rgbGen wave sin 0.6 0.4 0.5 .25
  454.     }
  455. }
  456. //Rose window for queens facade    (BOTTOM WINDOW..top right corner)
  457. textures/queen/q_rw_bottom2_6
  458. {
  459.     qer_editorimage textures/queen/q_rw_bottom2_6.tga
  460. //    surfacelight 1500
  461. //    q3map_surfacelight 1500
  462.     {    
  463.         map $lightmap
  464.         rgbGen identity
  465.     }
  466.     {
  467.         clampmap textures/queen/q_rw_bottom2_6.tga
  468.         blendfunc filter
  469.         rgbGen identity
  470.     }
  471.     {
  472.         clampmap textures/queen/q_rw_bottom2_2.tga
  473.         blendfunc add
  474.         rgbGen wave sin 0.6 0.4 0.5 .25
  475.     }
  476. }
  477. //Rose window for queens facade    (BOTTOM WINDOW..bottom right corner)
  478. textures/queen/q_rw_bottom2_7
  479. {
  480.     qer_editorimage textures/queen/q_rw_bottom2_7.tga
  481. //    surfacelight 1500
  482. //    q3map_surfacelight 1500
  483.     {    
  484.         map $lightmap
  485.         rgbGen identity
  486.     }
  487.     {
  488.         clampmap textures/queen/q_rw_bottom2_7.tga
  489.         blendfunc filter
  490.         rgbGen identity
  491.     }
  492.     {
  493.         clampmap textures/queen/q_rw_bottom2_3.tga
  494.         blendfunc add
  495.         rgbGen wave sin 0.6 0.4 0.5 .25
  496.     }
  497. }
  498. //Rose window for queens facade    (BOTTOM WINDOW..bottom left corner)
  499. textures/queen/q_rw_bottom2_8
  500. {
  501.     qer_editorimage textures/queen/q_rw_bottom2_8.tga
  502. //    surfacelight 1500
  503. //    q3map_surfacelight 1500
  504.     {    
  505.         map $lightmap
  506.         rgbGen identity
  507.     }
  508.     {
  509.         clampmap textures/queen/q_rw_bottom2_8.tga
  510.         blendfunc filter
  511.         rgbGen identity
  512.     }
  513.     {
  514.         clampmap textures/queen/q_rw_bottom2_4.tga
  515.         blendfunc add
  516.         rgbGen wave sin 0.6 0.4 0.5 .25
  517.     }
  518. }
  519. //chess village
  520. textures/chess/bw_window
  521. {
  522.     qer_editorimage textures/chess/bw_window.tga
  523.     
  524.     {
  525.         map textures/chess/bw_window.tga        
  526.     }
  527.     {
  528.         map $lightmap
  529.         blendFunc GL_dst_color GL_zero
  530.     }
  531.     {
  532.         map textures/chess/bw_win_g.tga
  533.         blendfunc gl_one gl_one
  534. //        rgbGen noise 
  535.         rgbGen wave sawtooth 0.3 0.2 0.0 1.234623
  536.  
  537.     }
  538.     {
  539.         map textures/chess/bw_win_g.tga
  540.         blendfunc gl_one gl_one
  541.         rgbGen wave sin 0.3 0.15 0.6235 0.82345
  542.     }
  543. }
  544. //Red chess village
  545. textures/chess_red/bw_window
  546. {
  547.     qer_editorimage textures/chess_red/bw_window.tga
  548.     
  549.     {
  550.         map textures/chess_red/bw_window.tga        
  551.     }
  552.     {
  553.         map $lightmap
  554.         blendFunc GL_dst_color GL_zero
  555.     }
  556.     {
  557.         map textures/chess_red/bw_win_g.tga
  558.         blendfunc gl_one gl_one
  559. //        rgbGen noise 
  560.         rgbGen wave sawtooth 0.3 0.2 0.0 1.234623
  561.  
  562.     }
  563.     {
  564.         map textures/chess_red/bw_win_g.tga
  565.         blendfunc gl_one gl_one
  566.         rgbGen wave sin 0.3 0.15 0.6235 0.82345
  567.     }
  568. }