hlac fix: proper size for textures, smaller scope, reposition of 1st person view
[divverent/nexuiz.git] / data / scripts / sav-liquids.shader
1 //Water for Q3texture, temp use.
2 //This shader is for DarkPlaces Engine - Nexuiz
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\r
25 {\r
26         qer_editorimage textures/dsi/dsiglass2.tga\r
27         surfaceparm trans\r
28         cull disable\r
29         qer_trans 0.5\r
30
31         {\r
32                 map textures/dsi/dsiglass2.tga
33                 blendfunc add\r
34                 //rgbGen vertex
35                 tcgen environment
36                 tcmod scale 4 4\r
37         }       \r
38 }