A problem with some blending mode
DeRaNGeR opened this issue · comments
I was testing to create a light system with some blend mode. But there are some blend mode that create a problem. For now i tested xor and destination-in. These two create the problem i write below:
- you need two sprites:
- one an object to see with the light
- one sprite as a spot of the light
As you can see, there are some buggy renders.
I attach here a test with destination-in that has the same result:
nightriverside.zip
I don't know what to do with this one. Looks more like a browser bug to me. I tried your project with Chrome and FireFox. It looks ok in FireFox and somewhat buggy on Chrome. Rendering on Chrome differs depending on whether dev tools are open or closed. Have you found a workaround yet?
Nope. :(
I am closing this as it seems to be a browser bug, which I can't reproduce. If this continues to happen consistently for you, in different browsers, please create a minimal test case project and share it in a new issue :-)