]> git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/city.shader
8de6692e3173cde78d730251710c1bee88c4d27e
[xonotic/xonotic-maps.pk3dir.git] / scripts / city.shader
1 textures/city/fence
2 {
3         qer_editorimage textures/city/fence.tga
4         surfaceparm alphashadow
5         surfaceparm nomarks
6         surfaceparm metalsteps
7         surfaceparm trans
8         cull disable
9         nopicmip
10         {
11                 map textures/city/fence.tga
12                 rgbGen identity
13                 depthWrite
14                 alphaFunc GE128
15         }
16         {
17                 map $lightmap
18                 blendfunc filter
19                 rgbGen identity
20                 tcGen lightmap
21                 depthFunc equal
22         }
23 }
24
25 textures/city/traffic_green
26 {
27         qer_editorimage textures/city/traffic_green.tga
28         surfaceparm alphashadow
29         surfaceparm nomarks
30         surfaceparm nonsolid
31         surfaceparm trans
32         nopicmip
33         {
34                 map textures/city/traffic_green.tga
35                 rgbGen identity
36                 blendfunc GL_ONE GL_ONE
37         }
38 }
39
40 // traffic lights
41
42 textures/city/traffic_yellow
43 {
44         qer_editorimage textures/city/traffic_yellow.tga
45         surfaceparm alphashadow
46         surfaceparm nomarks
47         surfaceparm nonsolid
48         surfaceparm trans
49         nopicmip
50         {
51                 map textures/city/traffic_yellow.tga
52                 rgbGen identity
53                 blendfunc GL_ONE GL_ONE
54         }
55 }
56
57 textures/city/traffic_red
58 {
59         qer_editorimage textures/city/traffic_red.tga
60         surfaceparm alphashadow
61         surfaceparm nomarks
62         surfaceparm nonsolid
63         surfaceparm trans
64         nopicmip
65         {
66                 map textures/city/traffic_red.tga
67                 rgbGen identity
68                 blendfunc GL_ONE GL_ONE
69         }
70 }
71
72 textures/city/pedestrian_green
73 {
74         qer_editorimage textures/city/pedestrian_green.tga
75         surfaceparm alphashadow
76         surfaceparm nomarks
77         surfaceparm nonsolid
78         surfaceparm trans
79         nopicmip
80         {
81                 map textures/city/pedestrian_green.tga
82                 rgbGen identity
83                 blendfunc GL_ONE GL_ONE
84         }
85 }
86
87 textures/city/pedestrian_red
88 {
89         qer_editorimage textures/city/pedestrian_red.tga
90         surfaceparm alphashadow
91         surfaceparm nomarks
92         surfaceparm nonsolid
93         surfaceparm trans
94         nopicmip
95         {
96                 map textures/city/pedestrian_red.tga
97                 rgbGen identity
98                 blendfunc GL_ONE GL_ONE
99         }
100 }
101
102 textures/city/sign_traffic
103 {
104         qer_editorimage textures/city/traffic_green.tga
105         surfaceparm alphashadow
106         surfaceparm nomarks
107         surfaceparm nonsolid
108         surfaceparm trans
109         nopicmip
110         {
111                 map textures/city/traffic_green
112                 animmap 0.25 textures/city/traffic_green textures/city/traffic_green textures/city/traffic_green textures/city/traffic_green textures/city/traffic_yellow textures/city/traffic_red textures/city/traffic_red textures/city/traffic_red textures/city/traffic_red
113                 blendfunc GL_ONE GL_ONE
114         }
115 }
116
117 textures/city/sign_traffic_inverted
118 {
119         qer_editorimage textures/city/traffic_red.tga
120         surfaceparm alphashadow
121         surfaceparm nomarks
122         surfaceparm nonsolid
123         surfaceparm trans
124         nopicmip
125         {
126                 map textures/city/traffic_green
127                 animmap 0.25 textures/city/traffic_red textures/city/traffic_red textures/city/traffic_red textures/city/traffic_red textures/city/traffic_yellow textures/city/traffic_green textures/city/traffic_green textures/city/traffic_green textures/city/traffic_green
128                 blendfunc GL_ONE GL_ONE
129         }
130 }
131
132 textures/city/sign_pedestrian
133 {
134         qer_editorimage textures/city/pedestrian_red.tga
135         surfaceparm alphashadow
136         surfaceparm nomarks
137         surfaceparm nonsolid
138         surfaceparm trans
139         nopicmip
140         {
141                 map textures/city/traffic_green
142                 animmap 0.25 textures/city/pedestrian_red textures/city/pedestrian_red textures/city/pedestrian_red textures/city/pedestrian_red textures/city/pedestrian_red textures/city/pedestrian_green textures/city/pedestrian_green textures/city/pedestrian_green textures/city/pedestrian_green
143                 blendfunc GL_ONE GL_ONE
144         }
145 }
146
147 textures/city/sign_pedestrian_inverted
148 {
149         qer_editorimage textures/city/pedestrian_green.tga
150         surfaceparm alphashadow
151         surfaceparm nomarks
152         surfaceparm nonsolid
153         surfaceparm trans
154         nopicmip
155         {
156                 map textures/city/traffic_green
157                 animmap 0.25 textures/city/pedestrian_green textures/city/pedestrian_green textures/city/pedestrian_green textures/city/pedestrian_green textures/city/pedestrian_red textures/city/pedestrian_red textures/city/pedestrian_red textures/city/pedestrian_red textures/city/pedestrian_red
158                 blendfunc GL_ONE GL_ONE
159         }
160 }