hlac fix: proper size for textures, smaller scope, reposition of 1st person view
[divverent/nexuiz.git] / data / scripts / morphed.shader
1 textures/morphed/gelslime\r
2 {\r
3         qer_editorimage textures/morphed/gelslime.tga\r
4         q3map_lightimage textures/morphed/gelslime_glow.tga\r
5         qer_trans 0.75\r
6         surfaceparm noimpact\r
7         surfaceparm trans\r
8         surfaceparm nonsolid\r
9         surfaceparm slime\r
10         q3map_surfacelight 280\r
11         Q3map_TessSize 128\r
12         cull none\r
13         {\r
14                 map textures/morphed/gelslime.tga\r
15                 rgbGen identity\r
16                 depthWrite\r
17                 blendfunc blend\r
18         }\r
19         {\r
20                 map $lightmap\r
21                 blendfunc blend\r
22                 rgbGen identity\r
23                 tcGen lightmap\r
24                 depthFunc equal\r
25         }\r
26 }\r
27 \r
28 textures/morphed/gelslime_warp\r
29 {\r
30         qer_editorimage textures/morphed/gelslime.tga\r
31         q3map_lightimage textures/morphed/gelslime_glow.tga\r
32         qer_trans 0.75\r
33         surfaceparm noimpact\r
34         surfaceparm trans\r
35         surfaceparm nonsolid\r
36         surfaceparm slime\r
37         q3map_surfacelight 280\r
38         deformVertexes wave 150.0 sin 2 5 0.25 0.1\r
39         Q3map_TessSize 128\r
40         cull none\r
41         {\r
42                 map textures/morphed/gelslime.tga\r
43                 rgbGen identity\r
44                 depthWrite\r
45                 blendfunc blend\r
46         }\r
47         {\r
48                 map $lightmap\r
49                 blendfunc blend\r
50                 rgbGen identity\r
51                 tcGen lightmap\r
52                 depthFunc equal\r
53         }\r
54 }\r
55 \r
56 \r
57 textures/morphed/gelslime_bright\r
58 {\r
59         qer_editorimage textures/morphed/gelslime_bright.tga\r
60         qer_trans 0.5\r
61         surfaceparm noimpact\r
62         surfaceparm trans\r
63         surfaceparm nonsolid\r
64         surfaceparm slime\r
65         q3map_surfacelight 320\r
66         Q3map_TessSize 128\r
67         cull none\r
68         {\r
69                 map textures/morphed/gelslime_bright.tga\r
70                 blendFunc add\r
71                 rgbGen identity\r
72                 //tcMod turb <base> <amplitude> <phase><freq>\r
73                 tcMod turb 1 0.15 0 0.15\r
74                 tcMod scroll 0 0.2\r
75         }\r
76 }\r
77 \r
78 \r
79 textures/morphed/gelslime_bright_warp\r
80 {\r
81         qer_editorimage textures/morphed/gelslime_bright.tga\r
82         qer_trans 0.5\r
83         surfaceparm noimpact\r
84         surfaceparm trans\r
85         surfaceparm nonsolid\r
86         surfaceparm slime\r
87         q3map_surfacelight 320\r
88         deformVertexes wave 150.0 sin 2 5 0.25 0.1\r
89         Q3map_TessSize 128\r
90         cull none\r
91         {\r
92                 map textures/morphed/gelslime_bright.tga\r
93                 blendFunc add\r
94                 rgbGen identity\r
95         }\r
96 }\r
97 \r