]> de.git.xonotic.org Git - xonotic/xonotic-nexcompat.pk3dir.git/blob - scripts/terrain_dotproduct2.shader
cleanup: move env/ models/ scripts/ textures/ to compat (step 1: copy)
[xonotic/xonotic-nexcompat.pk3dir.git] / scripts / terrain_dotproduct2.shader
1 // ======================================================================
2 // DotProduct2 Terrain blending
3 // ======================================================================
4
5 textures/terrain_dotproduct2/leafs01-rock02
6 {
7         qer_editorimage textures/terrain_dotproduct2/leafs01-rock02
8         
9         q3map_lightmapSampleOffset 8
10         q3map_globalTexture
11         q3map_nonplanar
12         q3map_shadeangle 95
13
14         surfaceparm dust
15
16         q3map_alphaMod dotproduct2 ( 0 0 0.95 )
17
18         {
19                 map textures/terrain_data/rock02.tga    // Primary
20         }
21
22         {
23                 map textures/terrain_data/leafs01.tga   // Secondary
24                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
25                 alphaGen vertex
26         }
27
28         {
29                 map $lightmap
30                 blendFunc GL_DST_COLOR GL_ZERO
31         }
32 }
33
34 textures/terrain_dotproduct2/mudground01_rock01 
35 {
36         qer_editorimage textures/terrain_dotproduct2/mudground01_rock01
37         
38         q3map_lightmapSampleOffset 8
39         q3map_globalTexture
40         q3map_nonplanar
41         q3map_shadeangle 60
42
43         surfaceparm dust
44
45         q3map_alphaMod dotproduct2 ( 0 0 0.95 )
46
47         {
48                 map textures/terrain_data/rock01.tga    // Primary
49         }
50
51         {
52                 map textures/terrain_data/mudground01.tga       // Secondary
53                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
54                 alphaGen vertex
55         }
56
57         {
58                 map $lightmap
59                 blendFunc GL_DST_COLOR GL_ZERO
60         }
61 }
62
63 textures/terrain_dotproduct2/mudground02-rock06
64 {
65         qer_editorimage textures/terrain_dotproduct2/mudground02-rock06
66         
67         q3map_lightmapSampleOffset 8
68         q3map_globalTexture
69         q3map_nonplanar
70         q3map_shadeangle 66
71
72         surfaceparm dust
73
74         q3map_alphaMod dotproduct2 ( 0 0 0.95 )
75
76         {
77                 map textures/terrain_data/rock06.tga    // Primary
78         }
79
80         {
81                 map textures/terrain_data/mudground02.tga       // Secondary
82                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
83                 alphaGen vertex
84         }
85
86         {
87                 map $lightmap
88                 blendFunc GL_DST_COLOR GL_ZERO
89         }
90 }
91
92 textures/terrain_dotproduct2/sand-rock07
93 {
94         qer_editorimage textures/terrain_dotproduct2/sand-rock07
95         
96         q3map_lightmapSampleOffset 8
97         q3map_globalTexture
98         q3map_nonplanar
99         q3map_shadeangle 90
100
101         surfaceparm dust
102
103         q3map_alphaMod dotproduct2 ( 0 0 0.8 )
104
105         {
106                 map textures/terrain_data/rock07.tga    // Primary
107         }
108
109         {
110                 map textures/terrain_data/sand.tga      // Secondary
111                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
112                 alphaGen vertex
113         }
114
115         {
116                 map $lightmap
117                 blendFunc GL_DST_COLOR GL_ZERO
118         }
119 }
120
121 textures/terrain_dotproduct2/snow-rock05
122 {
123         qer_editorimage textures/terrain_dotproduct2/snow-rock05
124         
125         q3map_lightmapSampleOffset 8
126         q3map_globalTexture
127         q3map_nonplanar
128         q3map_shadeangle 75
129
130         surfaceparm dust
131
132         q3map_alphaMod dotproduct2 ( 0 0 0.8 )
133
134         {
135                 map textures/terrain_data/rock05.tga    // Primary
136         }
137
138         {
139                 map textures/terrain_data/snow01.tga    // Secondary
140                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
141                 alphaGen vertex
142         }
143
144         {
145                 map $lightmap
146                 blendFunc GL_DST_COLOR GL_ZERO
147         }
148 }
149
150 textures/terrain_dotproduct2/mossrock02-mudground04
151 {
152         qer_editorimage textures/terrain_dotproduct2/mossrock02-mudground04
153         
154         q3map_lightmapSampleOffset 8
155         q3map_globalTexture
156         q3map_nonplanar
157         q3map_shadeangle 90
158
159         surfaceparm dust
160
161         q3map_alphaMod dotproduct2 ( 0.2 0.5 0.9 )
162
163         {
164                 map textures/terrain_data/mudground04.tga       // Primary
165         }
166
167         {
168                 map textures/terrain_data/mossrock02.tga        // Secondary
169                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
170                 alphaGen vertex
171         }
172
173         {
174                 map $lightmap
175                 blendFunc GL_DST_COLOR GL_ZERO
176         }
177 }
178
179 textures/terrain_dotproduct2/grass01-rock05
180 {
181         qer_editorimage textures/terrain_dotproduct2/grass01-rock05
182         
183         q3map_lightmapSampleOffset 8
184         q3map_globalTexture
185         q3map_nonplanar
186         q3map_shadeangle 90
187
188         surfaceparm dust
189
190         q3map_alphaMod dotproduct2 ( 0.0 0.0 0.9 )
191
192         {
193                 map textures/terrain_data/rock05.tga    // Primary
194         }
195
196         {
197                 map textures/terrain_data/grass01.tga   // Secondary
198                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           
199                 alphaGen vertex
200         }
201
202         {
203                 map $lightmap
204                 blendFunc GL_DST_COLOR GL_ZERO
205         }
206 }
207