]> git.xonotic.org Git - xonotic/mediasource.git/blobdiff - gfx/luma/models/items/common.filters
Fix Luma svg filters
[xonotic/mediasource.git] / gfx / luma / models / items / common.filters
index fa5a82ed308e4cbb269b3f7f1a08fc98b478bbde..62c0f222d092e30ab98cfcc1f00931379afe0755 100755 (executable)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
        <defs>
-               <filter id="darkened">
+               <filter id="darkened" color-interpolation-filters="sRGB">
                                <!-- ./tools/hsv-matrix.pl -9 3 0.28 -->
                        <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"/>
                        <feGaussianBlur in="SourceGraphic" stdDeviation="5"/>
@@ -13,7 +13,7 @@
                        </feMerge>
                        <feGaussianBlur stdDeviation="0.3"/>
                </filter>
-               <filter id="shining" x="-0.5" y="-0.5" width="2" height="2">
+               <filter id="shining" x="-0.5" y="-0.5" width="2" height="2" color-interpolation-filters="sRGB">
                        <feGaussianBlur stdDeviation="5"/>
                                <!-- ./tools/hsv-matrix.pl -9 3.2 0.38 -->
                        <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 0.56 0" result="shadow"/>