Then you need to use a CanvasTexture and use lighter or multiply as globalCompositeOperation.
Milton
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Phaser 3.24.0 canvas Mask not working on img within a container | 3 | 694 | May 25, 2021 | |
| Issues with Canvas texture mask | 1 | 241 | September 5, 2023 | |
| Masked semi-transparent overlay | 4 | 4233 | August 12, 2019 | |
| Fog of War | 2 | 1800 | May 27, 2020 | |
| Is there any way to apply a mask to a canvas on my DOM element? | 5 | 699 | June 4, 2021 |