]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/scripts/morphed.shader
Include gmqcc binaries for Windows and Linux
[voretournament/voretournament.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 add\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         dpreflectcube cubemaps/default/sky\r
27         {\r
28                 map $lightmap\r
29                 blendfunc add\r
30                 tcGen lightmap\r
31         }\r
32         //dp_refract 1 1 1 1 // disabled due to bad performance\r
33 }\r
34 \r
35 textures/morphed/gelslime_warp\r
36 {\r
37         qer_editorimage textures/morphed/gelslime.tga\r
38         q3map_lightimage textures/morphed/gelslime_glow.tga\r
39         qer_trans 0.75\r
40         surfaceparm noimpact\r
41         surfaceparm trans\r
42         surfaceparm nonsolid\r
43         surfaceparm slime\r
44         q3map_surfacelight 280\r
45         deformVertexes wave 150.0 sin 2 5 0.25 0.1\r
46         Q3map_TessSize 128\r
47         cull none\r
48         {\r
49                 map textures/morphed/gelslime.tga\r
50                 rgbGen identity\r
51                 depthWrite\r
52                 blendfunc add\r
53         }\r
54         {\r
55                 map $lightmap\r
56                 blendfunc blend\r
57                 rgbGen identity\r
58                 tcGen lightmap\r
59                 depthFunc equal\r
60         }\r
61         dpreflectcube cubemaps/default/sky\r
62         {\r
63                 map $lightmap\r
64                 blendfunc add\r
65                 tcGen lightmap\r
66         }\r
67         //dp_refract 1 1 1 1 // disabled due to bad performance\r
68 }\r
69 \r
70 \r
71 textures/morphed/gelslime_bright\r
72 {\r
73         qer_editorimage textures/morphed/gelslime_bright.tga\r
74         qer_trans 0.5\r
75         surfaceparm noimpact\r
76         surfaceparm trans\r
77         surfaceparm nonsolid\r
78         surfaceparm slime\r
79         q3map_surfacelight 320\r
80         Q3map_TessSize 128\r
81         cull none\r
82         {\r
83                 map textures/morphed/gelslime_bright.tga\r
84                 blendFunc add\r
85                 rgbGen identity\r
86                 //tcMod turb <base> <amplitude> <phase><freq>\r
87                 tcMod turb 1 0.15 0 0.15\r
88                 tcMod scroll 0 0.2\r
89         }\r
90         dpreflectcube cubemaps/default/sky\r
91         {\r
92                 map $lightmap\r
93                 blendfunc add\r
94                 tcGen lightmap\r
95         }\r
96 }\r
97 \r
98 \r
99 textures/morphed/gelslime_bright_warp\r
100 {\r
101         qer_editorimage textures/morphed/gelslime_bright.tga\r
102         qer_trans 0.5\r
103         surfaceparm noimpact\r
104         surfaceparm trans\r
105         surfaceparm nonsolid\r
106         surfaceparm slime\r
107         q3map_surfacelight 320\r
108         deformVertexes wave 150.0 sin 2 5 0.25 0.1\r
109         Q3map_TessSize 128\r
110         cull none\r
111         {\r
112                 map textures/morphed/gelslime_bright.tga\r
113                 blendFunc add\r
114                 rgbGen identity\r
115         }\r
116         dpreflectcube cubemaps/default/sky\r
117         {\r
118                 map $lightmap\r
119                 blendfunc add\r
120                 tcGen lightmap\r
121         }\r
122 }\r