Merge branch 'sev/luma_ok' into 'master'
[xonotic/mediasource.git] / gfx / luma / gfx / common.filters
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
3         <defs>
4                 <filter id="shining" x="-0.5" y="-0.5" width="2" height="2">
5                         <feGaussianBlur stdDeviation="8"/>
6                         <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"/>
7                         <feGaussianBlur in="SourceGraphic" stdDeviation="8"/>
8                                 <!-- ./tools/hsv-matrix.pl -9 3.2 0.38 -->
9                         <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"/>
10                         <feGaussianBlur in="SourceGraphic" stdDeviation="3"/>
11                         <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"/>
12                         <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"/>
13                         <feGaussianBlur in="SourceAlpha" stdDeviation="1" result="mask"/>
14                         <feGaussianBlur in="SourceGraphic" stdDeviation="4"/>
15                                 <!-- ./tools/hsv-matrix.pl 12 0.5 1.4 -->
16                         <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"/>
17                         <feComposite in2="mask" operator="in" result="highlight"/>
18                         <feMerge>
19                                 <feMergeNode in="glow"/>
20                                 <feMergeNode in="shadow"/>
21                                 <feMergeNode in="outline"/>
22                                 <feMergeNode in="SourceGraphic"/>
23                         </feMerge>
24                         <feComposite in2="highlight" operator="arithmetic" k1="0.4" k2="1" k3="0.2"/>
25                 </filter>
26         </defs>
27 </svg>