fix morphed's tree model
[xonotic/xonotic-nexcompat.pk3dir.git] / scripts / nexcompat-tree.shader
1
2 leaves2
3 {
4         qer_editorimage 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 leaves2.tga
14                 alphaFunc GT0
15                 rgbGen vertex
16         }
17 }
18
19 grass01
20 {
21 cull none
22         qer_editorimage grass.tga
23         qer_trans 0.2
24         deformVertexes autosprite
25         surfaceparm nolightmap
26         q3map_vertexScale 1
27         surfaceparm trans
28         deformVertexes wave 128 sin 0 1 0 0.2
29         {
30                 map grass.tga
31                 alphaFunc GT0
32                 rgbGen vertex
33         }
34 }
35
36 grass03
37 {
38 cull none
39         qer_editorimage grass03.tga
40         qer_trans 0.8
41         surfaceparm trans
42         surfaceparm nolightmap
43         q3map_vertexScale 1
44         deformVertexes wave 128 sin 0 1 0 0.1 
45         {
46                 map grass03.tga
47                 rgbGen vertex
48         }
49 }
50
51 morphed/skyhigh
52 {
53         qer_editorimage env/med-troubadour-gray/med-troubadour-gray_up.tga
54         q3map_noTJunc
55         surfaceparm noimpact
56         surfaceparm nolightmap
57         surfaceparm sky
58         surfaceparm nomarks
59         q3map_lightmapFilterRadius 0 8
60         q3map_sunExt 0.5 0.5 0.7 500 55 70 3 8
61         q3map_skylight 170 3
62         skyparms env/med-troubadour-gray/med-troubadour-gray - -
63 }
64
65 morphed/flagred
66         {
67         surfaceparm nonsolid
68         surfaceparm nomarks
69         surfaceparm trans
70         cull none
71         tessSize 64
72         deformVertexes wave 194 sin 0 3 0 .4
73         {
74         map morphed/flagred.tga
75         rgbGen vertex
76         }
77         }
78 morphed/flagblue
79         {
80         surfaceparm nonsolid
81         surfaceparm nomarks
82         surfaceparm trans
83         cull none
84         tessSize 64
85         deformVertexes wave 194 sin 0 3 0 .4
86         {
87         map morphed/flagblue.tga
88         rgbGen vertex
89         }
90         }
91         
92 thrust
93 {
94         {
95                 surfaceparam nolightmap
96                 surfaceparam pointlight
97                 map thrust.tga
98                 tcMod scroll 0 5
99         }
100 }
101