Page MenuHome

Grease Pencil - Material - Fill - Style: broken Gradient and Texture
Needs Triage, NormalPublic

Description

System Information
Operating system: Darwin-19.3.0-x86_64-i386-64bit 64 Bits (Mac OS Catalina 10.15.3)
Graphics card: Intel Iris Pro OpenGL Engine Intel Inc. 4.1 INTEL-14.4.23

Blender Version
Broken: version: 2.83 (sub 11), branch: master, commit date: 2020-03-23 23:42, hash: rB94b8166a8b05, same for newer commit from 2020-03-24
Worked: 2.82a (2020-03-12)

Short description of error
When trying to set Gradient or Texture fill style type for GP material nothing happens - always have Solid look.

Exact steps for others to reproduce the error

  • from splash select New File - 2D Animation
  • draw shape (circle)
  • go to materials (Solid Stroke is selected by default)
  • check in Fill - change Style to Gradient
  • slide Mix Factor parameter to, for example, 0.5.

Same for Texture - still Base Color after assigning image and any change to Blend in Fill Texture paremeter.

or

  • Open attached file

As result, we will see Base Color without any gradient.

Event Timeline

Dmitry (Rezoob) updated the task description. (Show Details)

Please don't assign developers

sorry just noticed that i unassigned your assign to Antonio accidentally while making changes to task at the same time - will not further

Richard Antalik (ISS) changed the task status from Needs Triage to Needs Information from User.Tue, Mar 24, 8:07 PM

Since in 2.83 gpencil drawing has been changed a lot, please use only 2.83 to describe a bug. Technically, you should always use latest version to report bugs.

In any case, I can not reproduce this issue on Windows. Does this happen when you click on File > Default > Load Factory Settings?

Dmitry (Rezoob) added a comment.EditedWed, Mar 25, 6:39 PM

Yes, it does - you can check screen recording video. At my old notebook (HP Probook 4720 with Mobility Radeon 4330 and Windows 7x64) "2D Animation" part doesn't work at all - when going to it or start drawing Blender crashes.

Dmitry (Rezoob) changed the task status from Needs Information from User to Needs Triage.Wed, Mar 25, 6:55 PM
Antonio Vazquez (antoniov) changed the task status from Needs Triage to Needs Information from User.EditedThu, Mar 26, 10:46 AM

You need to be sure to set the shading mode in material or render...you have enabled SOLID.

Depending of yor stroke, you must adjust the material position of the gradient, or you can use the new fill transform tool in Edit mode.

Also, be sure to disable lighting if you want the same colors. If you don't disable lights, the colors will be affected by any scene light.

Here you have an example file.

Dmitry (Rezoob) changed the task status from Needs Information from User to Needs Triage.Thu, Mar 26, 11:09 AM

Thank you so much to taking into this. I checked everything that you've explained using your example, but the problem is still here - plese check new screen recording. I'm always checking with last build.

I've noticed that a mini-icon next to materials's name shows gradient, while bigger preview box shows Base Color right from start. As soon as i change any parameter of fill (tried Flip Colors and Blend in Fill...) the mini-icon changes to Base Color as well.

It looks some type of driver bug or limitation. It's normal the material icon changes when you modify anything, the original icon was saved with the file.

@Germano Cavalcante (mano-wii) @Clément Foucault (fclem) any idea here?

i was thinking to get back to 2.82 since back-compatibility of my animation is quite satisfactory (i didn't use newest features) and can retune array mod/blur fx, BUT 2.83 performance is, at minimum, twice better with GP!
So i'll definitely go next with 2.83 even without these two.
Any other macbook owner could test this?

It looks some type of driver bug or limitation. It's normal the material icon changes when you modify anything, the original icon was saved with the file.
@Germano Cavalcante (mano-wii) @Clément Foucault (fclem) any idea here?

I'm not sure which bug to look for. The Material Icons issue has already been reported here T74983

Dmitry (Rezoob) added a comment.EditedThu, Mar 26, 7:45 PM

checked T74983 - no, "my" material icon works even better than expected. The material's Gradient and Texture properties changes do nothing with material - please check this

https://dev-files.blender.org/file/data/umthjsjq2xwzayg5i7ua/PHID-FILE-gtzf76xqdnmawa7th7lp/Screen_Recording_2020-03-26_at_12.54.14.mov

got something new on this - i've checked other experimental branches:

functions-blender-2.83-cf59daf62fd4-macOS

  • both Gradient and Texture WORK, Checker Box is present, But no new Vertex Color feature;

new-object-types-blender-2.83-728faf49b24a-macOS

  • DOESN'T work. Checker Box is absent, just like in Daily Build, new Vertex Color feature is here;

temp-clang-format-sorted-includes-blender-2.83-044a0ad18f09-macOS

  • DOESN'T work. Checker Box is absent, just like in Daily Build, new Vertex Color feature is here;

Could it be someway connected: Vertex Color vs Gradient+Texture+Checker Box?

I cannot reproduce the problem on:
Operating system: Windows-10-10.0.18941 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13586 Core Profile Context 19.50.01.05 26.20.15001.5006

This is a Mac issue for the OpenGL driver.
Sometimes we find workarounds in the code to solve these problems.
But for this we need a developer with the same setup to reproduce the problem.