Page MenuHome

GPencil: Redesign Blend modes and cleanup Drawing Engine
Open, NormalPublic


The actual blend modes have problems with alpha and other performance issues.

This task is for do a full review and improve and fix these issues.

We move it to 2.81 because for 2.80 is too risky to change draw engine, and it's better to have something running with some problems that breaks the draw engine.

I initially assign to @Clément Foucault (fclem), because he will coordinate the task.

Examples of the problem:


  • Review if possible avoid overlap in one layer (see T66818).
  • Review AA in VFX and Blend modes.
  • Review Halo problems with multiple objects.(see T68204)


To Do

Event Timeline

Here a pseudocode analysis of the new system.

Note: The VFX are by object, so not sure we must run the VFX loop in the blender layer as defined in the chart above.

Note that this redesign also fix the ghost stroke in 2D stroke order.

Clément Foucault (fclem) triaged this task as Normal priority.Jul 1 2019, 12:46 PM