Page MenuHome

Gradients not working on Grease pencil masks
Confirmed, NormalPublic

Description

System Information
Operating system: windows 10
Graphics card: GEForce RTX 2080 super

Blender Version 2.9
Broken: (example: 2.80, edbf15d3c044, master, 2018-11-28, as found on the splash screen)
Worked: (newest version of Blender that worked as expected)

Short description of error
Gradient layers not working properly with Grease Pencil if you open the example file https://cloud.blender.org/p/gallery/5c30cf5f637c8d7750c8aa6c you will see that applying the mask to the gradient layer does not work as in the preview from the old version of blender, the layer is not "multiplying" to give a sense of shadow on the lower layers of Grease pencil it just looks like a dirty overlay, also radial gradients do not work or are not visible.

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

Event Timeline

First note before looking at the mask issue (maybe this report should be split in two):

also radial gradients do not work or are not visible

These are working, to me it is just always awkward to place these (same for textures).
Have a look at this file:

  • it is not really clear where the point is where the texture is shifted from (aka Location under Fill)
  • using the Transform Fill Tool in this file is pretty unpredictable for me
  • and while moving points works as expected, scaling points is... unexpected (at least for me, you get your texture/gradient floating around)

@Antonio Vazquez (antoniov), @Matias Mendiola (mendio): I think we had this before, see T76522: GPencil: Transform fill and Adjust Last Operation panel do not work and D7741: Fix T76522: Grease Pencil transform fill and Adjust Last Operation panel issue [proposal], maybe this could get another round of rethinking? Wouldnt it make sense to have the UV origin based in the object center? So that you get your gradient/texture show up there if Location X/Y is 0/0?

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Wed, Sep 2, 3:42 PM

applying the mask to the gradient layer does not work as in the preview from the old version of blender, the layer is not "multiplying" to give a sense of shadow on the lower layers of Grease pencil it just looks like a dirty overlay

I assume you added details, stroke, and color to the Masks list?

But yeah, I am unfamiliar with how greaspencil blending works, but I am unable to achieve the same result as in 2.82.
Note there have been ColorManagement changes, this also affects blending, so it possible that quite some colors would need adjustments in that example file.

Another note: seems like the values for the Rim Effect changed since?
In 2.90 they seem reversed.

Same for the gradient placement
In 2.90, this seems totally different (and also doesnt do base > secondary > base, just does base > secondary)
Tried to do some tweaks, but still not there:

This might not be a bug, but will confirm for now, maybe @Antonio Vazquez (antoniov) can comment on the blending.