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