hlac fix: proper size for textures, smaller scope, reposition of 1st person view
[divverent/nexuiz.git] / data / scripts / evil5.shader
1 // Maj Notes\r
2 // =========\r
3 // Changes:\r
4 // * Indentation fixed\r
5 // * rgbgen identity's that weren't needed were removed\r
6 // * For all alphafunc'd shaders:\r
7 //   o Added surfaceparm trans, alphashadow and nomarks\r
8 //   o Removed blendfunc's that weren't needed because they were in the same stage as a alphafunc\r
9 //   o Changed alphafunc GT0's to GE128 - GT0 didn't look right\r
10 // * Changed all GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA's to blend (they do the same thing)\r
11 // * Changed all GL_DST_COLOR GL_ZERO's to filter (they do the same thing)\r
12 // * Duplicate of textures/evil_floor/flr_drmtlodhlz renamed to flr_mtlhls\r
13 // * Changed textures/evil_floor/tekconfllr_fx to use alphafunc rather then alpha blending\r
14 // * Removed unnecessary blendfunc blend's from first stage of all lights\r
15 // * Changed a flr_drmtlodhlz.tga to flr_dkmtlodhlz.tga (was drm instead of dkm)\r
16 \r
17 //floors\r
18 \r
19 textures/evil5_floor/confllrtile2pad\r
20 {\r
21         {\r
22                 map textures/evil5_floor/confllrtile2pad.tga\r
23                 blendFunc blend\r
24         }\r
25         {\r
26                 map $lightmap\r
27                 blendfunc filter\r
28         }\r
29 }\r
30 \r
31 textures/evil5_floor/tekconfllr_fx\r
32 {\r
33         surfaceparm trans\r
34         surfaceparm alphashadow\r
35         surfaceparm nomarks\r
36         cull none\r
37         {\r
38                 map textures/evil5_floor/tekconfllr_fx.tga\r
39                 tcmod scroll 0 .9\r
40                 alphafunc GE128\r
41                 depthwrite\r
42         }\r
43         {\r
44                 map textures/evil5_floor/tekconfllr.tga\r
45                 alphafunc GE128\r
46                 depthwrite\r
47         }\r
48         {\r
49                 map $lightmap\r
50                 blendfunc filter\r
51                 depthfunc equal\r
52         }\r
53 }\r