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