]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - scripts/sav-liquids.shader
rebrand nexuiz -> xonotic, will fix possible mess later
[xonotic/xonotic-data.pk3dir.git] / scripts / sav-liquids.shader
1 //Water for Q3texture, temp use.
2 //This shader is for DarkPlaces Engine - Xonotic
3
4 textures/sav-liquids/slime1
5 {
6         qer_editorimage textures/liquids/slime1.jpg
7         qer_trans 0.5
8         surfaceparm noimpact
9         surfaceparm trans
10         surfaceparm nonsolid
11         surfaceparm slime
12         q3map_surfacelight 250
13         //deformVertexes wave 150.0 sin 2 5 0.25 0.1
14         Q3map_TessSize 128
15         cull none
16         {
17                 map textures/liquids/slime1.jpg
18                 blendFunc add
19                 rgbGen identity
20         }
21 }
22
23
24 textures/sav-liquids/glass_tube
25 {
26         qer_editorimage textures/dsi/dsiglass2.tga
27         surfaceparm trans
28         cull disable
29         qer_trans 0.5
30
31         {
32                 map textures/dsi/dsiglass2.tga
33                 blendfunc add
34                 //rgbGen vertex
35                 tcgen environment
36                 tcmod scale 4 4
37         }       
38 }