# blendMode() behaves differently in Chrome vs Firefox

**URL:** <https://discourse.processing.org/t/blendmode-behaves-differently-in-chrome-vs-firefox/18590>\
**Category:** p5.js\
**Created:** [March 11, 2020, 9:55am UTC](https://discourse.processing.org/t/blendmode-behaves-differently-in-chrome-vs-firefox/18590 "2020-03-11T09:55:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hellonearthis](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/hellonearthis/32/3482_2.png) [@hellonearthis](https://discourse.processing.org/u/hellonearthis)\
**Post date:** [March 11, 2020, 9:55am UTC](https://discourse.processing.org/t/blendmode-behaves-differently-in-chrome-vs-firefox/18590/1 "2020-03-11T09:55:12Z")

</div>

I’ve been playing around with [blendmode()](https://p5js.org/reference/#/p5/blendMode) and found it seems to behave different in chrome vs firefox.  
Is this a browser thing or a p5 bug? I’m using latest versions of the browser and win 10 pro.  
Tried it on my desktop and laptop machines. I hear it works on Mac computers.

It seems to freak out when the shadow burn radius is greater than zero.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/1/13609d7730f1417cb0e22f3e72abaf727eba16ea.jpeg) ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/a/a332f78c5c3a8c010670d31e472de7edaacd5189.png)

Found it while playing with this, [https://www.openprocessing.org/sketch/854431](https://www.openprocessing.org/sketch/854431)

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [March 17, 2020, 6:16pm UTC](https://discourse.processing.org/t/blendmode-behaves-differently-in-chrome-vs-firefox/18590/2 "2020-03-17T18:16:45Z")

</div>

Perhaps check any known issues with p5.js `blendMode()` –

- [https://github.com/processing/p5.js/issues?q=is%3Aissue+blendmode+](https://github.com/processing/p5.js/issues?q=is%3Aissue+blendmode+)

…and please consider submitting a bug report there for discussion by the devs if the issue isn’t already known!
