]> de.git.xonotic.org Git - xonotic/mediasource.git/blobdiff - gfx/crosshairs/luma/gfx/common.filters
Update and add luma crosshair sourcefiles
[xonotic/mediasource.git] / gfx / crosshairs / luma / gfx / common.filters
index 49a9c85c6e8260a43e79412b2a6d21f68830b16c..45de8bac96ecb255ded08fffcce94c1adc834fa8 100644 (file)
@@ -1,14 +1,24 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="64" height="64">
        <defs>
-               <filter id="shadow" x="-1" y="-1" width="3" height="3">
-                       <feMorphology operator="dilate" radius="1" in="SourceAlpha"/>
-                       <feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.7 0"/>
+               <filter id="shadow" x="-0.5" y="-0.5" width="2" height="2">
+                       <feMorphology operator="dilate" radius="0.7" in="SourceAlpha"/>
+                       <feColorMatrix values="1 0 0 0 0.25 0 1 0 0 0.25 0 0 1 0 0.25 0 0 0 0.7 0"/>
                        <feGaussianBlur stdDeviation="1" result="shadow"/>
                        <feMerge>
                                <feMergeNode in="shadow"/>
                                <feMergeNode in="SourceGraphic"/>
                        </feMerge>
                </filter>
+               <filter id="shadowdot" x="-0.5" y="-0.5" width="2" height="2">
+                       <feMorphology operator="dilate" radius="1.4" in="SourceAlpha"/>
+                       <feColorMatrix values="1 0 0 0 0.25 0 1 0 0 0.25 0 0 1 0 0.25 0 0 0 0.7 0"/>
+                       <feGaussianBlur stdDeviation="2"/>
+                       <feOffset dx="0.25" dy="0.25" result="shadow"/>
+                       <feMerge>
+                               <feMergeNode in="shadow"/>
+                               <feMergeNode in="SourceGraphic"/>
+                       </feMerge>
+               </filter>
        </defs>
 </svg>