Add Luma sourcefiles for the vehicles HUD
[xonotic/mediasource.git] / gfx / luma / gfx / vehicles / common.filters
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="64" height="64">
3         <defs>
4                 <filter id="blurred">
5                         <feGaussianBlur stdDeviation="0.4"/>
6                 </filter>
7                 <filter id="shadow" x="-0.5" y="-0.5" width="2" height="2">
8                         <feMorphology operator="dilate" radius="0.7" in="SourceAlpha"/>
9                         <feColorMatrix values="1 0 0 0 0.25 0 1 0 0 0.25 0 0 1 0 0.25 0 0 0 0.5 0"/>
10                         <feGaussianBlur stdDeviation="1" result="shadow"/>
11                         <feMerge>
12                                 <feMergeNode in="shadow"/>
13                                 <feMergeNode in="SourceGraphic"/>
14                         </feMerge>
15                 </filter>
16                 <filter id="shining" x="-0.5" y="-0.5" width="2" height="2">
17                         <feGaussianBlur stdDeviation="8"/>
18                         <feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.5 0" result="glow"/>
19                         <feGaussianBlur in="SourceGraphic" stdDeviation="8"/>
20                                 <!-- ./tools/hsv-matrix.pl -9 3.2 0.38 -->
21                         <feColorMatrix values="1.07 -0.45 -0.24 0 0 -0.20 0.59 -0.01 0 0 -0.02 -0.72 1.13 0 0 0 0 0 1.4 0" result="shadow"/>
22                         <feGaussianBlur in="SourceGraphic" stdDeviation="3"/>
23                         <feColorMatrix values="0.2 0 0 0 0 0 0.2 0 0 0 0 0 0.2 0 0 0 0 0 3 0"/>
24                         <feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.3 0" result="outline"/>
25                         <feGaussianBlur in="SourceAlpha" stdDeviation="1" result="mask"/>
26                         <feGaussianBlur in="SourceGraphic" stdDeviation="4"/>
27                                 <!-- ./tools/hsv-matrix.pl 12 0.5 1.4 -->
28                         <feColorMatrix values="0.81 0.41 0.19 0 0 0.17 1.22 0.01 0 0 0.04 0.62 0.75 0 0 0 0 0 1 0"/>
29                         <feComposite in2="mask" operator="in" result="highlight"/>
30                         <feMerge>
31                                 <feMergeNode in="glow"/>
32                                 <feMergeNode in="shadow"/>
33                                 <feMergeNode in="outline"/>
34                                 <feMergeNode in="SourceGraphic"/>
35                         </feMerge>
36                         <feComposite in2="highlight" operator="arithmetic" k1="0.4" k2="1" k3="0.2"/>
37                         <feGaussianBlur stdDeviation="0.4"/>
38                 </filter>
39                 <filter id="model" x="-0.5" y="-0.5" width="2" height="2">
40                         <feGaussianBlur stdDeviation="7"/>
41                         <feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.5 0" result="glow"/>
42                         <feMerge>
43                                 <feMergeNode in="glow"/>
44                                 <feMergeNode in="SourceGraphic"/>
45                         </feMerge>
46                 </filter>
47                 <filter id="weapon" x="-0.5" y="-0.5" width="2" height="2">
48                         <feGaussianBlur stdDeviation="3"/>
49                         <feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.6 0" result="glow"/>
50                         <feMerge>
51                                 <feMergeNode in="glow"/>
52                                 <feMergeNode in="SourceGraphic"/>
53                         </feMerge>
54                 </filter>
55         </defs>
56 </svg>