hlac fix: proper size for textures, smaller scope, reposition of 1st person view
[divverent/nexuiz.git] / data / scripts / tree.shader
1 \r
2 leaves2\r
3 {\r
4         qer_editorimage textures/leaves2.tga\r
5         qer_trans 0.6\r
6         deformVertexes autosprite\r
7         surfaceparm trans\r
8 //      surfaceparm nolightmap\r
9         surfaceparm alphashadow\r
10         q3map_vertexScale 1\r
11         deformVertexes wave 128 sin 0 1 0 0.4 \r
12         {\r
13                 map textures/leaves2.tga\r
14                 alphaFunc GT0\r
15                 rgbGen vertex\r
16         }\r
17 }\r
18 \r
19 textures/morph/leaves3\r
20 {\r
21 cull none\r
22         qer_editorimage textures/leaves6.tga\r
23         qer_trans 0.6\r
24         surfaceparm trans\r
25 //      surfaceparm nolightmap\r
26         surfaceparm alphashadow\r
27         deformVertexes autosprite\r
28         q3map_vertexScale 1\r
29         deformVertexes wave 128 sin 0 1 0 0.4 \r
30         {\r
31                 map textures/leaves6.tga\r
32                 alphaFunc GT0\r
33                 rgbGen vertex\r
34         }\r
35 }\r
36 \r
37 grass01\r
38 {\r
39 cull none\r
40         qer_editorimage textures/grass.tga\r
41         qer_trans 0.2\r
42         deformVertexes autosprite\r
43         surfaceparm nolightmap\r
44         q3map_vertexScale 1\r
45         surfaceparm trans\r
46         deformVertexes wave 128 sin 0 1 0 0.2\r
47         {\r
48                 map textures/grass.tga\r
49                 alphaFunc GT0\r
50                 rgbGen vertex\r
51         }\r
52 }\r
53 \r
54 grass02\r
55 {\r
56         distancecull 256 1024 0.4\r
57         cull none\r
58         qer_editorimage textures/grass2.tga\r
59         qer_trans 0.2\r
60         surfaceparm nolightmap\r
61         surfaceparm trans\r
62         q3map_vertexScale 1\r
63         deformVertexes autosprite\r
64         deformVertexes wave 128 sin 0 1 0 0.1 \r
65         {\r
66                 map textures/grass2.tga\r
67                 alphaFunc GT0\r
68                 rgbGen vertex\r
69         }\r
70 }\r
71 \r
72 leaves4\r
73 {\r
74 cull none\r
75         qer_editorimage textures/leaves7.tga\r
76         qer_trans 0.6\r
77         deformVertexes autosprite\r
78         surfaceparm nolightmap\r
79         surfaceparm trans\r
80         q3map_vertexScale 1\r
81         deformVertexes wave 128 sin 0 1 0 0.5\r
82         {\r
83                 map textures/leaves7.tga\r
84                 alphaFunc GT0\r
85                 rgbGen vertex\r
86         }\r
87 }\r
88 \r
89 grass03\r
90 {\r
91 cull none\r
92         qer_editorimage textures/grass03.tga\r
93         qer_trans 0.8\r
94         surfaceparm trans\r
95         surfaceparm nolightmap\r
96         q3map_vertexScale 1\r
97         deformVertexes wave 128 sin 0 1 0 0.1 \r
98         {\r
99                 map textures/grass03.tga\r
100                 rgbGen vertex\r
101         }\r
102 }\r
103 \r
104 textures/morphed/skyhigh\r
105 {\r
106         qer_editorimage env/med-troubadour-gray/med-troubadour-gray_up.tga\r
107         q3map_noTJunc\r
108         surfaceparm noimpact\r
109         surfaceparm nolightmap\r
110         surfaceparm sky\r
111         surfaceparm nomarks\r
112         q3map_lightmapFilterRadius 0 8\r
113         q3map_sunExt 0.5 0.5 0.7 500 55 70 3 8\r
114         q3map_skylight 170 3\r
115         skyparms env/med-troubadour-gray/med-troubadour-gray - -\r
116 }\r
117 \r
118 textures/morphed/flagred\r
119         {\r
120         surfaceparm nonsolid\r
121         surfaceparm nomarks\r
122         surfaceparm trans\r
123         cull none\r
124         tessSize 64\r
125         deformVertexes wave 194 sin 0 3 0 .4\r
126         {\r
127         map textures/morphed/flagred.tga\r
128         rgbGen vertex\r
129         }\r
130         }\r
131 textures/morphed/flagblue\r
132         {\r
133         surfaceparm nonsolid\r
134         surfaceparm nomarks\r
135         surfaceparm trans\r
136         cull none\r
137         tessSize 64\r
138         deformVertexes wave 194 sin 0 3 0 .4\r
139         {\r
140         map textures/morphed/flagblue.tga\r
141         rgbGen vertex\r
142         }\r
143         }\r
144 \r
145 e8teamcolor\r
146         {\r
147         qer_editorimage textures/morphed/e8support02c_shirt.jpg\r
148         map textures/morphed/e8support02c.tga\r
149                 {\r
150                 map $lightmap\r
151                 rgbGen identity\r
152                 }\r
153         }\r
154         \r
155 thrust\r
156 {\r
157         {\r
158                 surfaceparam nolightmap\r
159                 surfaceparam pointlight\r
160                 map textures/thrust.tga\r
161                 tcMod scroll 0 5\r
162         }\r
163 }\r
164 \r