hlac fix: proper size for textures, smaller scope, reposition of 1st person view
[divverent/nexuiz.git] / data / scripts / reaper.shader
1 // H.Reaper Q3Shader File V 1.5
2
3 //Multisampling & High Lightmap resolution
4
5 textures/Reaptxt/yellowgrad
6 {
7         qer_editorimage textures/Reaptxt/yellowgrad
8         surfaceparm nonsolid
9         {
10                 map textures/Reaptxt/yellowgrad
11                 blendfunc add   
12         }
13 }
14
15 //Corona Shader, texture by HipShot
16
17 textures/Reaptxt/HSglow01
18 {
19         qer_editorimage textures/Reaptxt/HSglow01.jpg
20         surfaceparm trans
21         surfaceparm nonsolid
22         cull disable
23         surfaceparm nomarks
24         surfaceparm nolightmap
25         deformVertexes autosprite
26         {
27                 clampmap textures/Reaptxt/HSglow01.jpg
28                 tcMod stretch sin .8 0.2 0 .2
29                 tcmod rotate 5
30                 blendFunc add
31                 rgbGen identity
32         }
33 }
34
35 //EnvBox Shader, EnvBox by HipShot
36
37 textures/Reaptxt/rnorm
38 {
39         surfaceparm noimpact
40         surfaceparm nolightmap
41         q3map_sunExt 1 .5 0 75 350 20 2 16
42         q3map_skyLight 135 4
43         qer_editorimage textures/Reaptxt/rnorm.jpg
44         skyparms textures/Reaptxt/env/restnormal - -
45 }
46
47 //Fog Shader
48
49 textures/Reaptxt/fog_restdusk
50 {
51         qer_editorimage textures/Reaptxt/fog_restdusk.jpg
52         surfaceparm     trans
53         surfaceparm     nonsolid
54         surfaceparm     fog
55         surfaceparm     nolightmap
56         fogparms ( .177 .173 .21 ) 128
57 }
58
59 //Fog Shader
60
61 textures/Reaptxt/fog_restnormal
62 {
63         qer_editorimage textures/Reaptxt/fog_restnormal.jpg
64         surfaceparm     trans
65         surfaceparm     nonsolid
66         surfaceparm     fog
67         surfaceparm     nolightmap
68         fogparms ( .997 .985 .863 ) 1024
69 }
70
71 //Corona Shader, texture by HipShot
72
73 textures/Reaptxt/sun
74 {
75         qer_editorimage textures/Reaptxt/sun.jpg
76         cull disable
77         surfaceparm nonsolid
78         surfaceparm nomarks
79         surfaceparm nolightmap
80         deformVertexes autosprite
81         {
82                 clampmap textures/Reaptxt/sun.jpg
83                 //    tcMod stretch sin .2 0.2 0 .2
84                 tcmod rotate 5
85                 blendFunc add
86                 rgbGen identity
87         }
88 }
89
90 //Volumetric Shadow
91
92 textures/shad/shad
93 {
94         qer_editorimage textures/shad/shad.tga
95         surfaceparm alphashadow
96         surfaceparm nolightmap
97         surfaceparm nonsolid
98         surfaceparm trans
99         {
100                 map *default
101                 alphaFunc GT0
102                 alphagen const 0.0
103         }
104 }
105
106 //Corona for lud_Corona.tga
107 //This shader is for DarkPlaces Engine - Nexuiz
108
109 textures/Reaptxt/lud_Corona
110 {
111         qer_editorimage textures/Reaptxt/lud_Corona.tga
112         surfaceparm trans
113         surfaceparm nonsolid
114         surfaceparm nolightmap
115         deformVertexes autosprite
116         cull disable
117         {
118                 clampmap textures/Reaptxt/lud_Corona.jpg
119                 blendFunc add
120                 rgbGen identity
121         }
122 }
123
124 //Water for Q3texture, temp use.
125 //This shader is for DarkPlaces Engine - Nexuiz
126
127 textures/water/pool3d_5e
128 {
129         qer_editorimage textures/water/pool3d_5e.jpg
130         qer_trans 0.5
131         surfaceparm trans
132         surfaceparm nonsolid
133         surfaceparm water
134         deformVertexes wave 150.0 sin 2 5 0.25 0.1
135         Q3map_TessSize 128
136         cull none
137         {
138                 map textures/water/pool3d_5e.jpg
139                 blendFunc add
140                 rgbGen vertex
141         }
142 }
143
144 //Water for Q3texture, temp use.
145 //This shader is for DarkPlaces Engine - Nexuiz
146
147 textures/liquids/slime1
148 {
149         qer_editorimage textures/liquids/slime1.jpg
150         qer_trans 0.5
151         surfaceparm trans
152         surfaceparm nonsolid
153         surfaceparm slime
154         deformVertexes wave 150.0 sin 2 5 0.25 0.1
155         Q3map_TessSize 128
156         cull none
157         {
158                 map textures/liquids/slime1.jpg
159                 blendFunc add
160                 rgbGen identity
161         }
162 }
163
164 textures/liquids/protolava
165 {
166         qer_editorimage textures/liquids/protolava.jpg
167         qer_trans 0.5
168         surfaceparm trans
169         surfaceparm nonsolid
170         surfaceparm lava
171         deformVertexes wave 150.0 sin 2 5 0.25 0.1
172         Q3map_TessSize 128
173         cull none
174         {
175                 map textures/liquids/protolava.jpg
176                 blendFunc add
177                 rgbGen identity
178         }
179 }
180
181 //Corona for HRglow01.tga
182 //This shader is for DarkPlaces Engine - Nexuiz
183
184 textures/Reaptxt/HRglow01
185 {
186         qer_editorimage textures/Reaptxt/HRglow01.tga
187         surfaceparm trans
188         surfaceparm nonsolid
189         surfaceparm nolightmap
190         deformVertexes autosprite
191         cull disable
192         {
193                 clampmap textures/Reaptxt/HRglow01.tga
194                 blendFunc add
195                 rgbGen identity
196         }
197 }
198
199 //Corona for HRglow02.tga
200 //This shader is for DarkPlaces Engine - Nexuiz
201
202 textures/Reaptxt/HRglow02
203 {
204         qer_editorimage textures/Reaptxt/HRglow02.tga
205         surfaceparm trans
206         surfaceparm nonsolid
207         surfaceparm nolightmap
208         deformVertexes autosprite
209         cull disable
210         {
211                 clampmap textures/Reaptxt/HRglow02.tga
212                 blendFunc add
213                 rgbGen identity
214         }
215 }
216
217 //Corona for HRglow03.tga
218 //This shader is for DarkPlaces Engine - Nexuiz
219
220 textures/Reaptxt/HRglow03
221 {
222         qer_editorimage textures/Reaptxt/HRglow03.tga
223         surfaceparm trans
224         surfaceparm nonsolid
225         surfaceparm nolightmap
226         deformVertexes autosprite
227         cull disable
228         {
229                 clampmap textures/Reaptxt/HRglow03.tga
230                 blendFunc add
231                 rgbGen identity
232         }
233 }
234
235 //Corona for HRsun01.tga
236 //This shader is for DarkPlaces Engine - Nexuiz
237
238 textures/Reaptxt/HRsun01
239 {
240         qer_editorimage textures/Reaptxt/HRsun01.tga
241         surfaceparm trans
242         surfaceparm nonsolid
243         surfaceparm nolightmap
244         deformVertexes autosprite
245         cull disable
246         {
247                 clampmap textures/Reaptxt/HRsun01.tga
248                 blendFunc add
249                 rgbGen identity
250         }
251 }
252
253 //EnvBox Shader, EnvBox by H.Reaper
254
255 textures/Reaptxt/HRSky
256 {
257         surfaceparm noimpact
258         surfaceparm nolightmap
259         surfaceparm sky
260         surfaceparm nomarks
261         q3map_sunExt 0 .7 3 10 360 80 2 16
262         q3map_skyLight 50 3
263         qer_editorimage textures/Reaptxt/HRSky.jpg
264         skyparms env/rsky - -
265 }
266
267 textures/Reaptxt/HRBlackBoxSky
268 {
269         surfaceparm noimpact
270         surfaceparm nolightmap
271         surfaceparm sky
272         surfaceparm nomarks
273         qer_editorimage env/blackbox/blackbox_up.jpg
274         skyparms env/blackbox - -
275 }