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) lowered the priority of this task from Needs Triage by Developer to Normal.Jul 1 2019, 12:46 PM

Changing After Release to 2.81, since we are now using milestones instead.

I don't know if this is one is actually planned for 2.81, feel free to adjust tags as needed.

@Antonio Vazquez (antoniov), since you told me all the major grease pencil changes for 2.81 are done, moving this to the next release.

We can also remove the release tag if it's not planned for any specific release, up to you.

Yes, move to the next releases.. I would like to do it in 2.82, but it's not depend only on me.