Add alpha channeles to decals (avoids teh mysterios rtlight gloss)
[xonotic/xonotic-maps.pk3dir.git] / scripts / decals.shader
1 textures/decals/scorch01\r
2 {\r
3         qer_editorimage textures/decals/scorch01\r
4 \r
5         surfaceparm trans\r
6         surfaceparm nonsolid\r
7         surfaceparm nodlight\r
8         surfaceparm nolightmap\r
9 \r
10         polygonOffset\r
11         sort 6\r
12         cull none\r
13 \r
14         {\r
15                 map textures/decals/scorch01\r
16                 blendFunc filter\r
17                 rgbgen identity\r
18         }\r
19 }\r
20 \r
21 textures/decals/scorch02\r
22 {\r
23         qer_editorimage textures/decals/scorch02\r
24 \r
25         surfaceparm trans\r
26         surfaceparm nonsolid\r
27         surfaceparm nodlight\r
28         surfaceparm nolightmap\r
29 \r
30         polygonOffset\r
31         sort 6\r
32         cull none\r
33 \r
34 \r
35         {\r
36                 map textures/decals/scorch02\r
37                 blendFunc filter\r
38                 rgbgen identity\r
39         }\r
40 \r
41 }\r
42 \r
43 \r
44 textures/decals/splatter01\r
45 {\r
46         qer_editorimage textures/decals/splatter01\r
47 \r
48         surfaceparm trans\r
49         surfaceparm nonsolid\r
50         surfaceparm nodlight\r
51         surfaceparm nolightmap\r
52 \r
53         polygonOffset\r
54         sort 6\r
55         cull none\r
56 \r
57 \r
58         {\r
59                 map textures/decals/splatter01\r
60                 blendFunc filter\r
61                 rgbgen identity\r
62         }\r
63 }\r
64 \r
65 textures/decals/splatter02\r
66 {\r
67         qer_editorimage textures/decals/splatter02\r
68 \r
69         surfaceparm trans\r
70         surfaceparm nonsolid\r
71         surfaceparm nodlight\r
72         surfaceparm nolightmap\r
73 \r
74         polygonOffset\r
75         sort 6\r
76         cull none\r
77 \r
78 \r
79         {\r
80                 map textures/decals/splatter02\r
81                 blendFunc filter\r
82                 rgbgen identity\r
83         }\r
84 }\r
85 textures/decals/splatter03\r
86 {\r
87         qer_editorimage textures/decals/splatter03\r
88 \r
89         surfaceparm trans\r
90         surfaceparm nonsolid\r
91         surfaceparm nodlight\r
92         surfaceparm nolightmap\r
93 \r
94         polygonOffset\r
95         sort 6\r
96         cull none\r
97 \r
98 \r
99 \r
100         {\r
101                 map textures/decals/splatter03\r
102                 blendFunc filter\r
103                 rgbgen identity\r
104         }\r
105 }\r
106 \r
107 textures/decals/splatter04\r
108 {\r
109         qer_editorimage textures/decals/splatter04\r
110 \r
111         surfaceparm trans\r
112         surfaceparm nonsolid\r
113         surfaceparm nodlight\r
114         surfaceparm nolightmap\r
115 \r
116         polygonOffset\r
117         sort 6\r
118         cull none\r
119 \r
120 \r
121         {\r
122                 map textures/decals/splatter04\r
123                 blendFunc filter\r
124                 rgbgen identity\r
125         }\r
126 }\r
127 \r
128 textures/decals/splatter05\r
129 {\r
130         qer_editorimage textures/decals/splatter05\r
131 \r
132         surfaceparm trans\r
133         surfaceparm nonsolid\r
134         surfaceparm nodlight\r
135         surfaceparm nolightmap\r
136 \r
137         polygonOffset\r
138         sort 6\r
139         cull none\r
140 \r
141 \r
142         {\r
143                 map textures/decals/splatter05\r
144                 blendFunc filter\r
145                 rgbgen identity\r
146         }\r
147 }\r