4 ms·
Firefox's SVG handling for feDiffuseLighting has the same problem. They calculate the Phong-model in the sRGB space but it should be calculated in a linear colo
by leni536 12y ago
Firefox's SVG handling for feDiffuseLighting has the same problem. They calculate the Phong-model in the sRGB space but it should be calculated in a linear colorspace.
Reference rendering and SVG:
http://www.w3.org/Graphics/SVG/Test/20061213/htmlEmbedHarness/full-filters-diffuse-01-f.html http://www.w3.org/Graphics/SVG/Test/20061213/htmlEmbedHarnes...
You can see that in Firefox the SVG has much darker colors.