Squashed commit of the following:
[xonotic/xonotic-maps.pk3dir.git] / scripts / model_desertfactory.shader
1 //==============================================================================
2 // General
3 //==============================================================================
4
5 models/desertfactory/textures/shaders/light02
6 {
7         qer_editorimage models/desertfactory/textures/shaders/light02.jpg
8         surfaceparm trans
9         cull none
10         {
11                 map models/desertfactory/textures/misc/light02.tga
12                 blendFunc blend
13         }
14 }
15
16 models/desertfactory/textures/shaders/glass01
17 {
18         qer_editorimage models/desertfactory/textures/shaders/glass01.jpg
19         surfaceparm trans
20         surfaceparm lightfilter
21         {
22                 map models/desertfactory/textures/misc/glass01.tga
23                 blendFunc blend
24         }
25 }
26
27 models/desertfactory/textures/shaders/metal01-metal02
28 {
29         qer_editorimage models/desertfactory/textures/shaders/metal01-metal02.jpg
30         q3map_alphaMod dotproduct2 ( 0 0 1.25 )
31         {
32                 map models/desertfactory/textures/metal/metal01.tga
33         }
34         {
35                 map models/desertfactory/textures/metal/metal02.tga
36                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
37                 alphaGen vertex
38         }
39         {
40                 map $lightmap
41                 blendFunc GL_DST_COLOR GL_ZERO
42         }
43 }
44
45 models/desertfactory/textures/shaders/grates01
46 {
47         qer_editorimage models/desertfactory/textures/shaders/grates01.jpg
48         qer_trans 0.5
49         surfaceparm trans
50         surfaceparm alphashadow
51         surfaceparm nomarks
52         {
53                 map models/desertfactory/textures/metal/grates01.tga
54                 alphaFunc GT0
55                 rgbGen vertex
56         }
57 }
58
59 models/desertfactory/textures/shaders/grass01
60 {
61         qer_editorimage models/desertfactory/textures/shaders/grass01.jpg
62         surfaceparm nomarks
63         surfaceparm trans
64         surfaceparm alphashadow
65         cull none
66         {
67                 map models/desertfactory/textures/misc/grass01.tga
68                 alphaFunc GT0
69                 rgbGen vertex
70         }
71 }
72
73 models/desertfactory/textures/shaders/grass02
74 {
75         qer_editorimage models/desertfactory/textures/shaders/grass02.jpg
76         surfaceparm nomarks
77         surfaceparm trans
78         surfaceparm alphashadow
79         cull none
80         {
81                 map models/desertfactory/textures/misc/grass02.tga
82                 alphaFunc GT0
83                 rgbGen vertex
84         }
85 }
86
87 models/desertfactory/textures/shaders/vines01
88 {
89         qer_editorimage models/desertfactory/textures/shaders/vines01.jpg
90         surfaceparm nomarks
91         surfaceparm trans
92         surfaceparm alphashadow
93         cull none
94         {
95                 map models/desertfactory/textures/misc/vines01.tga
96                 alphaFunc GT0
97                 rgbGen vertex
98         }
99 }
100
101 //==============================================================================
102 // Signs
103 //==============================================================================
104
105 models/desertfactory/textures/shaders/sign_ladder_dirty
106 {
107         qer_editorimage models/desertfactory/textures/shaders/sign_ladder_dirty.tga
108         {
109                 map models/desertfactory/textures/signs/ladder_dirty.tga
110                 alphaFunc GT0
111                 rgbGen vertex
112         }
113 }
114
115 //==============================================================================
116 // Writings
117 //==============================================================================
118 models/desertfactory/textures/shaders/writing01
119 {
120         qer_editorimage models/desertfactory/textures/shaders/writing01.jpg
121         surfaceparm trans
122         nopicmip
123         nomipmaps
124         {
125                 map models/desertfactory/textures/documents/writing01.tga
126                 blendFunc blend
127         }
128 }
129
130 models/desertfactory/textures/shaders/writing02
131 {
132         qer_editorimage models/desertfactory/textures/shaders/writing02.jpg
133         surfaceparm trans
134         nopicmip
135         nomipmaps
136         {
137                 map models/desertfactory/textures/documents/writing02.tga
138                 blendFunc blend
139         }
140 }
141
142 models/desertfactory/textures/shaders/writing03
143 {
144         qer_editorimage models/desertfactory/textures/shaders/writing03.jpg
145         surfaceparm trans
146         nopicmip
147         nomipmaps
148         {
149                 map models/desertfactory/textures/documents/writing03.tga
150                 blendFunc blend
151         }
152 }
153
154 models/desertfactory/textures/shaders/writing04
155 {
156         qer_editorimage models/desertfactory/textures/shaders/writing04.jpg
157         surfaceparm trans
158         nopicmip
159         nomipmaps
160         {
161                 map models/desertfactory/textures/documents/writing04.tga
162                 blendFunc blend
163         }
164 }
165
166 models/desertfactory/textures/shaders/writing05
167 {
168         qer_editorimage models/desertfactory/textures/shaders/writing05.jpg
169         surfaceparm trans
170         nopicmip
171         nomipmaps
172         {
173                 map models/desertfactory/textures/documents/writing05.tga
174                 blendFunc blend
175         }
176 }