]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/scripts/evil4_techfloors.shader
Light cubemaps for all evil sets
[voretournament/voretournament.git] / data / scripts / evil4_techfloors.shader
1 textures/evil4_techfloors/tfloor\r
2 {\r
3         dpreflectcube cubemaps/exomorph/exomorph\r
4         {\r
5                 map textures/evil4_techfloors/tfloor\r
6         }\r
7         {\r
8                 map $lightmap\r
9                 blendfunc GL_DST_COLOR GL_ZERO\r
10                 rgbGen identity\r
11     }\r
12 }\r
13 \r
14 textures/evil4_techfloors/tfloor_rndholes_drty\r
15 {\r
16         dpreflectcube cubemaps/exomorph/exomorph\r
17         {\r
18                 map textures/evil4_techfloors/tfloor_rndholes_drty\r
19                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
20                 rgbGen identity\r
21         }\r
22         {\r
23                 map $lightmap\r
24                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
25                 rgbGen identity\r
26         }\r
27 }\r
28 \r
29 textures/evil4_techfloors/tfloor_rndholes\r
30 {\r
31         dpreflectcube cubemaps/exomorph/exomorph\r
32         {\r
33                 map textures/evil4_techfloors/tfloor_rndholes\r
34                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
35                 rgbGen identity\r
36         }\r
37         {\r
38                 map $lightmap\r
39                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
40                 rgbGen identity\r
41         }\r
42 }\r
43 \r
44 textures/evil4_techfloors/tfloor2\r
45 {\r
46         dpreflectcube cubemaps/exomorph/exomorph\r
47         {\r
48                 map textures/evil4_techfloors/tfloor2\r
49         }\r
50         {\r
51                 map $lightmap\r
52                 blendfunc GL_DST_COLOR GL_ZERO\r
53                 rgbGen identity\r
54     }\r
55 }\r
56 \r
57 textures/evil4_techfloors/tfloor2b\r
58 {\r
59         dpreflectcube cubemaps/exomorph/exomorph\r
60         {\r
61                 map textures/evil4_techfloors/tfloor2b\r
62         }\r
63         {\r
64                 map $lightmap\r
65                 blendfunc GL_DST_COLOR GL_ZERO\r
66                 rgbGen identity\r
67     }\r
68 }\r
69 \r
70 textures/evil4_techfloors/tfloor3_huge\r
71 {\r
72         dpreflectcube cubemaps/exomorph/exomorph\r
73         cull none\r
74         {\r
75                 map textures/evil4_techfloors/tfloor3_huge\r
76                 tcMod scale 2.0 2.0\r
77                 blendFunc GL_ONE GL_ZERO\r
78                 alphaFunc GE128\r
79                 depthWrite\r
80                 rgbGen identity\r
81         }\r
82         {\r
83                 map $lightmap\r
84                 blendFunc GL_DST_COLOR GL_ZERO\r
85                 depthFunc equal\r
86                 rgbGen identity\r
87         }\r
88 }\r
89 \r
90 textures/evil4_techfloors/tfloor3\r
91 {\r
92         dpreflectcube cubemaps/exomorph/exomorph\r
93         {\r
94                 map textures/evil4_techfloors/tfloor3\r
95         }\r
96         {\r
97                 map $lightmap\r
98                 blendfunc GL_DST_COLOR GL_ZERO\r
99                 rgbGen identity\r
100     }\r
101 }\r
102 \r
103 textures/evil4_techfloors/tfloor4\r
104 {\r
105         dpreflectcube cubemaps/exomorph/exomorph\r
106         {\r
107                 map textures/evil4_techfloors/tfloor4\r
108         }\r
109         {\r
110                 map $lightmap\r
111                 blendfunc GL_DST_COLOR GL_ZERO\r
112                 rgbGen identity\r
113     }\r
114 }\r
115 \r
116 textures/evil4_techfloors/tfloor4plain\r
117 {\r
118         dpreflectcube cubemaps/exomorph/exomorph\r
119         {\r
120                 map textures/evil4_techfloors/tfloor4plain\r
121         }\r
122         {\r
123                 map $lightmap\r
124                 blendfunc GL_DST_COLOR GL_ZERO\r
125                 rgbGen identity\r
126     }\r
127 }\r
128 \r
129 textures/evil4_techfloors/tfloorhex_big\r
130 {\r
131         dpreflectcube cubemaps/exomorph/exomorph\r
132         {\r
133                 map textures/evil4_techfloors/tfloorhex_big\r
134         }\r
135         {\r
136                 map $lightmap\r
137                 blendfunc GL_DST_COLOR GL_ZERO\r
138                 rgbGen identity\r
139     }\r
140 }\r
141 \r
142 textures/evil4_techfloors/tfloorhex_smll\r
143 {\r
144         dpreflectcube cubemaps/exomorph/exomorph\r
145         {\r
146                 map textures/evil4_techfloors/tfloorhex_smll\r
147         }\r
148         {\r
149                 map $lightmap\r
150                 blendfunc GL_DST_COLOR GL_ZERO\r
151                 rgbGen identity\r
152     }\r
153 }\r
154 \r
155 textures/evil4_techfloors/tflooroddtile\r
156 {\r
157         dpreflectcube cubemaps/exomorph/exomorph\r
158         {\r
159                 map textures/evil4_techfloors/tflooroddtile\r
160         }\r
161         {\r
162                 map $lightmap\r
163                 blendfunc GL_DST_COLOR GL_ZERO\r
164                 rgbGen identity\r
165     }\r
166 }\r