]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/scripts/evil3_misc.shader
evil3 reflection shaders
[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         {\r
32                 map textures/evil3_misc/rstbounce\r
33         }\r
34         {\r
35                 map $lightmap\r
36                 blendfunc GL_DST_COLOR GL_ZERO\r
37                 rgbGen identity\r
38     }\r
39 }\r
40 \r
41 textures/evil3_misc/rstbouncefan\r
42 {\r
43         dpreflectcube cubemaps/exomorph/exomorph\r
44         {\r
45                 map textures/evil3_misc/rstbouncefan\r
46         }\r
47         {\r
48                 map $lightmap\r
49                 blendfunc GL_DST_COLOR GL_ZERO\r
50                 rgbGen identity\r
51     }\r
52 }