]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/scripts/evil3_misc.shader
A fix to my last commit. Also set saturation to 0 when dead, for a black & white...
[voretournament/voretournament.git] / data / scripts / evil3_misc.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 textures/evil_misc/rstbouncefan\r
10 {\r
11         cull disable\r
12         surfaceparm trans\r
13         surfaceparm nolightmap\r
14         sort 5\r
15         {\r
16                 clampmap textures/sfx/fan3bladeb.tga\r
17                 blendFunc blend\r
18                 tcmod rotate 999\r
19                 rgbGen identity\r
20         }\r
21         {\r
22                 map $lightmap\r
23                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
24                 rgbGen identity\r
25         }\r
26 }\r
27 \r
28 textures/evil3_misc/rstbounce\r
29 {\r
30         dpreflectcube cubemaps/exomorph/exomorph\r
31         surfaceparm metalsteps\r
32         {\r
33                 map textures/evil3_misc/rstbounce\r
34         }\r
35         {\r
36                 map $lightmap\r
37                 blendfunc GL_DST_COLOR GL_ZERO\r
38                 rgbGen identity\r
39     }\r
40 }\r
41 \r
42 textures/evil3_misc/rstbouncefan\r
43 {\r
44         dpreflectcube cubemaps/exomorph/exomorph\r
45         surfaceparm metalsteps\r
46         {\r
47                 map textures/evil3_misc/rstbouncefan\r
48         }\r
49         {\r
50                 map $lightmap\r
51                 blendfunc GL_DST_COLOR GL_ZERO\r
52                 rgbGen identity\r
53     }\r
54 }