]> git.xonotic.org Git - xonotic/mediasource.git/blob - gfx/luma/models/misc/common.filters
Merge branch 'mirceakitsune/shotgun_cannon' into 'master'
[xonotic/mediasource.git] / gfx / luma / models / misc / 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="darkened">
5                                 <!-- ./tools/hsv-matrix.pl -9 3 0.28 -->
6                         <feColorMatrix values="0.74 -0.30 -0.16 0 0 -0.14 0.42 0 0 0 -0.01 -0.49 0.78 0 0 0 0 0 1 0" result="shadow"/>
7                         <feGaussianBlur in="SourceGraphic" stdDeviation="4"/>
8                         <feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.6 0"/>
9                         <feComposite in2="SourceAlpha" operator="in" result="glow"/>
10                         <feMerge>
11                                 <feMergeNode in="shadow"/>
12                                 <feMergeNode in="glow"/>
13                         </feMerge>
14                 </filter>
15                 <filter id="shining" x="-0.5" y="-0.5" width="2" height="2">
16                         <feGaussianBlur stdDeviation="8"/>
17                         <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"/>
18                         <feGaussianBlur in="SourceGraphic" stdDeviation="8"/>
19                                 <!-- ./tools/hsv-matrix.pl -9 3.2 0.38 -->
20                         <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"/>
21                         <feGaussianBlur in="SourceGraphic" stdDeviation="3"/>
22                         <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"/>
23                         <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"/>
24                         <feGaussianBlur in="SourceAlpha" stdDeviation="1" result="mask"/>
25                         <feGaussianBlur in="SourceGraphic" stdDeviation="4"/>
26                                 <!-- ./tools/hsv-matrix.pl 12 0.5 1.4 -->
27                         <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"/>
28                         <feComposite in2="mask" operator="in" result="highlight"/>
29                         <feMerge>
30                                 <feMergeNode in="glow"/>
31                                 <feMergeNode in="shadow"/>
32                                 <feMergeNode in="outline"/>
33                                 <feMergeNode in="SourceGraphic"/>
34                         </feMerge>
35                         <feComposite in2="highlight" operator="arithmetic" k1="0.4" k2="1" k3="0.2"/>
36                 </filter>
37         </defs>
38 </svg>