]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/scripts/evil3.shader
Place Sharue's art in Voretemple.
[voretournament/voretournament.git] / data / scripts / evil3.shader
1 // Original shader created by Yves Allaire,\r
2 // for Evil's Texture Set 3.\r
3 // [+] http://www.planetquake.com/hfx/\r
4 // Cleaned up and fixed by Gary Burgess.\r
5 // [+] http://www.inaeo.co.uk/cnd/\r
6 //NOTE FROM Yves: Please edit this .shader all you want, there might have some problems...\r
7 //--------------------------------------------\r
8 \r
9 //------------------------------------------\r
10 \r
11 textures/evil_floors/t-flr_oddtile_drty\r
12 {\r
13         {\r
14                 map textures/evil_floors/t-flr_oddtile_drty_glow.tga\r
15                 tcMod turb 1 1 1 1\r
16                 tcmod scale 2 1\r
17                 tcmod scroll 1 2\r
18                 blendFunc GL_ONE GL_ZERO\r
19                 rgbGen identity\r
20         }\r
21         {\r
22                 map textures/evil_floors/t-flr_oddtile_drty.tga\r
23                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
24                 rgbGen identity\r
25         }\r
26         {\r
27                 map $lightmap\r
28                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
29                 rgbGen identity\r
30         }\r
31 }\r
32 \r
33 //-------------------------------------------------\r
34 \r
35 textures/evil_floors/grtmtl_offt\r
36 {\r
37         surfaceparm metalsteps\r
38         surfaceparm alphashadow\r
39         surfaceparm trans\r
40         surfaceparm nonsolid\r
41         cull none\r
42         {\r
43                 map textures/evil_floors/grtmtl_offt.tga\r
44                 alphaFunc GE128\r
45                 depthWrite\r
46                 rgbGen identity\r
47         }\r
48         {\r
49                 map $lightmap\r
50                 rgbGen identity\r
51                 blendFunc filter\r
52                 depthFunc equal\r
53         }\r
54 }\r
55 \r
56 //----------------------------------------------\r
57 \r
58 textures/evil_lights/rlight_a\r
59 {\r
60         qer_editorimage textures/evil_lights/rlight_a.tga\r
61         surfaceparm nomarks\r
62         q3map_surfacelight 1500\r
63         {\r
64                 map $lightmap\r
65                 rgbGen identity\r
66         }\r
67         {\r
68                 map textures/evil_lights/rlight_a.tga\r
69                 blendFunc GL_DST_COLOR GL_ZERO\r
70                 rgbGen identity\r
71         }\r
72 }\r
73 \r
74 //--------------------------------------------\r
75 \r
76 textures/evil_misc/rstbouncefan\r
77 {\r
78         cull disable\r
79         surfaceparm trans\r
80         surfaceparm nolightmap\r
81         sort 5\r
82         {\r
83                 clampmap textures/sfx/fan3bladeb.tga\r
84                 blendFunc blend\r
85                 tcmod rotate 999\r
86                 rgbGen identity\r
87         }\r
88         {\r
89                 map $lightmap\r
90                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
91                 rgbGen identity\r
92         }\r
93 }\r