Squashed commit of the following:
[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 scroll 0.07 0.07
14                 tcmod scale 1.2 0.7
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 scroll 0.07 0.07
33                 tcmod scale 1.2 0.7
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         surfaceparm noimpact
45         surfaceparm trans
46         surfaceparm nonsolid
47         surfaceparm slime
48         q3map_surfacelight 280
49         Q3map_TessSize 128
50         cull none
51         {
52                 map textures/liquids_slime/gelslime-purple.tga
53                 rgbGen identity
54                 depthWrite
55                 tcMod scroll 0.05 0.05
56                 tcmod scale 1.2 0.7
57                 blendfunc blend
58         }
59         dp_water 0.3 1  2 2  1 0.1 1  1 0.1 1  0.25
60         {
61                 map $lightmap
62                 blendfunc blend
63                 rgbGen identity
64                 tcGen lightmap
65                 depthFunc equal
66         }
67 }
68 textures/liquids_slime/gelslime-purple_cubemap
69 {
70         qer_trans 20
71         surfaceparm noimpact
72         surfaceparm trans
73         surfaceparm nonsolid
74         surfaceparm slime
75         q3map_surfacelight 280
76         tessSize 256
77         cull none
78         qer_editorimage textures/liquids_slime/gelslime-purple.tga
79         {
80                 map textures/liquids_slime/gelslime-purple.tga
81                 rgbGen identity
82                 depthWrite
83                 tcMod scroll 0.05 0.05
84                 tcmod scale 1.2 0.7
85                 blendfunc blend
86         }
87         dpreflectcube cubemaps/default/sky
88         {
89                 map $lightmap
90                 blendfunc blend
91                 rgbGen identity
92                 tcGen lightmap
93                 depthFunc equal
94         }
95 }