Page MenuHome

Sculpt mask not showing with deformation modifiers
Open, Confirmed, MediumPublic


System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GT 730/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 411.63

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-11 13:50, hash: rB06312c6d2db8
Worked: (optional)

Short description of error
Masking in sculpting mode looks working but it is not visible even if those option is on.
Mask is appear only in Dyntopo mode.

Exact steps for others to reproduce the error

Select object and change for sculpting mode. Try mask brush or use shift+ctrl+LMB to select part of object.
Visually nothing happens. When you change for any other brush you can check so mask is there.

When you turn on dyntopo mode and after view port rotation, mask is appearing.



To Do

Event Timeline

I cannot reproduce this (Linux here), either in the mention commit or in the latest 2.8 (a36a44bb811d8).
Steps I'm doing:

  • Switch to the Sculpting Workspace
  • Shift+Ctrl+LMB

The mask shows up right away (the dark areas in the cube):

Thank you for quick reply.

As you mention I have done some tests and I have found what is going on.

I have character which is rigged so as long as armature modifier is on object, mask is not showing in sculpt mode.

Everything goes back to normal when armature modifier is applied or removed from object.

Best regards

You dont have to apply the modifier, you can just turn it off for the viewport (show_viewport).

That being said, I can confirm mask is not showing on a effective deforming modifer, however I am unsure what the current status of "crazy-space" sculpting actually is?
It seems to not be working properly?

Philipp Oeser (lichtwerk) triaged this task as Confirmed, Medium priority.

It seems to not be working properly?

scratch that, was testing on a inapproriate mesh... So yeah, if we fully support sculpting on deforming modifiers, shouldnt the mask also be carried over?
Suppose this is a modifier [not a drawing] issue, since this also didnt work in 2.79...

@Pablo Dobarro (pablodp606): is this possibly working in your branch already?

Philipp Oeser (lichtwerk) renamed this task from Masking in sculpting mode not working properly. to Sculpt mask not showing with deformation modifiers.Jul 17 2019, 1:35 PM

I disabled the mask display with modifiers in this commit rB2f77175fecc7. That is necessary in order to render the mask while sculpting with EEVEE enabled. I'm not sure if modifiers_active takes into consideration if the modifier is deformation only.

Hi Pablo!

This seems to have been working prior to your commit at some point -- both deformed and undeformed, also in lookdev and eevee (have an old build, namely rBf070bdd7c9c4)
So there seems to be a solution for both? If that somehow is not possible anymore because something under the hood changed, then I am not sure what is more important here: showing the mask while sculpting with EEVEE or the feature of showing the mask when sculpting on a rigged model? Anyways, just saying... @Pablo Dobarro (pablodp606): really looking forward to the work in your branch btw :)

CC @Brecht Van Lommel (brecht), @Jeroen Bakker (jbakker)

There was a refactor commit including the BKE_sculptsession_use_pbvh_draw function among other changes to solve some viewport update issues, maybe that was the thing that broke this. I prefer showing the mask in EEVEE and not in the modifiers. If sculpt mode detects that there are only deformation modifiers active that rendering code should work as it is now, but probably it will cause problems somewhere else. I'm not sure if we should try to fix this now, viewport updates are working fine and I didn't find any weird artifacts with the mask

This wasn't supported in 2.79 either, masks don't show on deforming modifiers there.

I wouldn't consider this a bug, making masks work correctly with modifiers is a to do item.

Philipp Oeser (lichtwerk) changed Type from Bug to To Do.Jul 17 2019, 7:30 PM

Thank you Lads for bending over this problem :) Hopefully you will find solution in future. Regards