I've many times done the following:
<defs>
<filter id="screen">
<feBlend mode="screen" in2="BackgroundImage"/>
</filter>
</defs>
But when I, inside a shape, write "filter="url(#screen)", my shape disappears. I've tried it in every browser (Safari, Chrome, Firefox, FfxNightly). What am I doing wrong?
It would help if someone could give me an example that they know works
Thanks
You should try Opera and see the difference. It seems, Opera is the only browser that currently implements this more or less correctly. The specs for
<feBlend>
give an example:This example should look like this if rendered correctly:
It actually looks like this in your browser:
In my Opera it looks like this:
I.e., not entirely perfect, there are problems with
mode="lighten"
.