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