]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/liquids_slime.shader
Merge branch 'master' into matthiaskrgr/dance
[xonotic/xonotic-maps.pk3dir.git] / scripts / liquids_slime.shader
1 textures/liquids_slime/slime0
2 {
3         qer_editorimage textures/liquids_slime/slime0.tga
4         qer_trans 20
5         surfaceparm nomarks
6         surfaceparm trans
7         surfaceparm slime
8         surfaceparm nolightmap
9         cull none
10         q3map_globaltexture
11         {
12                 map textures/liquids_slime/slime0.tga
13                 tcmod scale 1.2 0.7
14                 tcMod scroll 0.084 0.049
15                 blendfunc blend
16         }
17         dp_water 0.1 0.8  3 3  0.5 1 0.5  0.5 1 0.5  0.75
18 }
19
20 textures/liquids_slime/slime1
21 {
22         qer_editorimage textures/liquids_slime/slime1.tga
23         qer_trans 20
24         surfaceparm nomarks
25         surfaceparm trans
26         surfaceparm slime
27         surfaceparm nolightmap
28         cull none
29         q3map_globaltexture
30         {
31                 map textures/liquids_slime/slime1.tga
32                 tcmod scale 1.2 0.7
33                 tcMod scroll 0.084 0.049
34                 blendfunc blend
35         }
36         dp_water 0.1 0.8  3 3  1 1 0.5  1 1 0.5  0.75
37 }
38
39 textures/liquids_slime/gelslime-purple
40 {
41         qer_editorimage textures/liquids_slime/gelslime-purple.tga
42         q3map_lightimage textures/liquids_slime/gelslime-purple.tga
43         qer_trans 20
44         dpoffsetmapping - 1 match8 107
45         surfaceparm noimpact
46         surfaceparm trans
47         surfaceparm nonsolid
48         surfaceparm slime
49         q3map_surfacelight 280
50         Q3map_TessSize 128
51         cull none
52         {
53                 map textures/liquids_slime/gelslime-purple.tga
54                 rgbGen identity
55                 depthWrite
56                 tcmod scale 1.2 0.7
57                 tcMod scroll 0.06 0.035
58                 blendfunc blend
59         }
60         dp_water 0.3 1  2 2  1 0.1 1  1 0.1 1  0.25
61         {
62                 map $lightmap
63                 blendfunc blend
64                 rgbGen identity
65                 tcGen lightmap
66                 depthFunc equal
67         }
68 }
69 textures/liquids_slime/gelslime-purple_cubemap
70 {
71         qer_editorimage textures/liquids_slime/gelslime-purple.tga
72         q3map_lightimage textures/liquids_slime/gelslime-purple.tga
73         qer_trans 20
74         dpoffsetmapping - 1 match8 107
75         surfaceparm noimpact
76         surfaceparm trans
77         surfaceparm nonsolid
78         surfaceparm slime
79         q3map_surfacelight 280
80         tessSize 256
81         cull none
82         qer_editorimage textures/liquids_slime/gelslime-purple.tga
83         {
84                 map textures/liquids_slime/gelslime-purple.tga
85                 rgbGen identity
86                 depthWrite
87                 tcmod scale 1.2 0.7
88                 tcMod scroll 0.06 0.035
89                 blendfunc blend
90         }
91         dpreflectcube cubemaps/default/sky
92         {
93                 map $lightmap
94                 blendfunc blend
95                 rgbGen identity
96                 tcGen lightmap
97                 depthFunc equal
98         }
99 }