playcanvas / playcanvas/engine

Change Blend Modes when using Transparent Canvas

Open
#2,768 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: graphics
Dominant language
JavaScript
Stars
16.8k
Forks
2k
Avg merge
4h 32m
Merged PRs (30d)
222

Description

Current blend modes do not work as expected with Transparent canvases (RGBA format) - resulting in rendering artifacts like this: https://github.com/playcanvas/engine/issues/2740

It is proposed that blend modes are adjusted to work with Transparent canvases when a project uses Transparent canvases where possible - and any blend modes that do not work are made known to developers in our documentation.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the rendering artifacts with an RGBA transparent canvas and read the linked issue #2740 for the existing behavior. Done means blend modes work where possible for transparent canvases, while modes that remain incompatible are identified in the project documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.