Add Cushion texture - thanks hotdog
[xonotic/xonotic-maps.pk3dir.git] / scripts / model_tree.shader
1 models/grass02
2 {
3         distancecull 256 1024 0.4
4         cull none
5         qer_editorimage models/grass02.tga
6         qer_trans 0.2
7         surfaceparm nolightmap
8         surfaceparm trans
9         q3map_vertexScale 1
10         deformVertexes autosprite
11         deformVertexes wave 128 sin 0 1 0 0.1 
12         {
13                 map models/grass02.tga
14                 alphaFunc GE128
15                 rgbGen vertex
16         }
17 }
18
19 models/leaves6
20 {
21 cull none
22        qer_editorimage models/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 models/leaves6.tga
32                blendFunc blend
33                rgbGen vertex
34        }
35 }
36
37 models/leaves7
38 {
39 cull none
40        qer_editorimage models/leaves7.tga
41        qer_trans 0.6
42        dpoffsetmapping - 1 match8 111
43        deformVertexes autosprite
44        surfaceparm nolightmap
45        surfaceparm trans
46        q3map_vertexScale 1
47        deformVertexes wave 128 sin 0 1 0 0.5
48        {
49                map models/leaves7.tga
50                blendFunc blend
51                rgbGen vertex
52        }
53 }
54