]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/map_red-planet.shader
Env-mapped glass, using 3 different textures (doors use the same texture which should...
[xonotic/xonotic-maps.pk3dir.git] / scripts / map_red-planet.shader
1 textures/map_red-planet/env1
2 {
3         qer_editorimage textures/map_red-planet/env1.tga
4         surfaceparm trans
5         cull disable
6         qer_trans 0.5
7         {
8                 map textures/map_red-planet/env1.tga
9                 blendfunc GL_ONE GL_ONE
10                 //rgbGen vertex
11                 tcgen environment
12                 //tcmod scale 4 4
13         }
14         /*{
15                 map $lightmap
16                 rgbGen identity
17                 tcgen lightmap
18         }*/
19 }
20
21 textures/map_red-planet/env2
22 {
23         qer_editorimage textures/map_red-planet/env2.tga
24         surfaceparm trans
25         cull disable
26         qer_trans 0.5
27         {
28                 map textures/map_red-planet/env2.tga
29                 blendfunc GL_ONE GL_ONE
30                 //rgbGen vertex
31                 tcgen environment
32                 //tcmod scale 4 4
33         }
34         /*{
35                 map $lightmap
36                 rgbGen identity
37                 tcgen lightmap
38         }*/
39 }
40
41 textures/map_red-planet/env3
42 {
43         qer_editorimage textures/map_red-planet/env3.tga
44         surfaceparm trans
45         cull disable
46         qer_trans 0.5
47         {
48                 map textures/map_red-planet/env3.tga
49                 blendfunc GL_ONE GL_ONE
50                 //rgbGen vertex
51                 tcgen environment
52                 //tcmod scale 4 4
53         }
54         /*{
55                 map $lightmap
56                 rgbGen identity
57                 tcgen lightmap
58         }*/
59 }
60
61 textures/map_red-planet/distort_glass
62 {
63         qer_editorimage textures/map_red-planet/distort_glass.tga
64         surfaceparm trans
65         q3map_bounceScale 0.75
66         {
67                 map textures/map_red-planet/distort_glass.tga
68                 blendfunc blend
69         }
70         {
71                 map $lightmap
72                 rgbGen identity
73                 tcGen lightmap
74                 blendfunc filter
75         }
76         dp_water 0.1 0.8  3 3  1 1 1  1 1 1  0.125
77 }
78
79 textures/map_red-planet/gradient_light
80 {
81         qer_editorimage textures/map_red-planet/gradient_light.tga
82         surfaceparm noimpact
83         surfaceparm nonsolid
84         surfaceparm trans
85         cull none
86         {
87                 clampmap textures/map_red-planet/gradient_light.tga
88                 blendfunc blend
89         }
90 }