Paint Mode: Alpha Auto-Masking #98592

Open
opened 2022-06-04 16:57:55 +02:00 by Julien Kaspar · 3 comments
Member

NOTE: This design still needs to be further discussed and decided upon.

Goal

The very common brush setting in Blender to "Affect Alpha" should be revamped for the upcoming Paint Mode.
The main issue with the setting is that it is local to the brush. But in typical painting workflows you'd expect to have this be a more universal toggle that affects all tools!
Toggling this per brush is not a reasonable solution.

There are multiple approaches to fix this.

Proposal: Alpha Auto-Masking

There is already a design in place for sculpt and paint mode. There we use auto-masking to easily target specific areas as a mode setting.
These are meant to be instantly accessible with a pie menu on Alt + A and would affect all tools and brushes.
This would likely be the most intuitive and fastest option.

Image Editor Inclusion

If we decide to replace the brush option with an auto-masking option this puts further pressure on implementing the same options for the image editor.
This might be reason enough to lower the priority for now, until the image editor can be properly prioritised to mirror the 3D viewport paint mode features.

Long Term Alternative

Other image painting applications such as Krita implemented this as a toggle for any individual layer to paint on.
While this is not likely to implement this way right now, it could be kept in mind for the UI of the layered textures design.

NOTE: This design still needs to be further discussed and decided upon. # Goal The very common brush setting in Blender to "Affect Alpha" should be revamped for the upcoming Paint Mode. The main issue with the setting is that it is local to the brush. But in typical painting workflows you'd expect to have this be a more universal toggle that affects all tools! Toggling this per brush is not a reasonable solution. There are multiple approaches to fix this. ## Proposal: Alpha Auto-Masking There is already a design in place for sculpt and paint mode. There we use auto-masking to easily target specific areas as a mode setting. These are meant to be instantly accessible with a pie menu on `Alt + A` and would affect all tools and brushes. This would likely be the most intuitive and fastest option. ## Image Editor Inclusion If we decide to replace the brush option with an auto-masking option this puts further pressure on implementing the same options for the image editor. This might be reason enough to lower the priority for now, until the image editor can be properly prioritised to mirror the 3D viewport paint mode features. ## Long Term Alternative Other image painting applications such as Krita implemented this as a toggle for any individual layer to paint on. While this is not likely to implement this way right now, it could be kept in mind for the UI of the [layered textures design](https://code.blender.org/2022/02/layered-textures-design/).
Author
Member
Added subscribers: @JulienKaspar, @JosephEagar, @Jeroen-Bakker
Author
Member

From the recent module meeting:

It was pointed out that the use case for this feature is actually more wide than a simple alpha auto-mask. We could make the feature for any channel.
This would solve game-dev use cases of painting individual channels too.
This should then also affect color sampling.

Going for an auto-mask option would currently also break compatibility with image editor. This puts extra pressure on updating image editor before Paint Mode release.
We agreed it should still be a mode wide setting as opposed to per texture/color attribute or per brush.

For the UI. Instead of hiding it in the options panel it could be made very visible in the header or in the brush settings (with a toggle to use it unified for all tools and brushes in the scene).

We need to decide further on how to show these options. We could build up an already existing UI element to target certain channels to be painted in Paint Mode:
Clipboard - June 9.png

From the [recent module meeting](https://devtalk.blender.org/t/2022-6-8-sculpt-texture-paint-module-meeting/24672): > It was pointed out that the use case for this feature is actually more wide than a simple alpha auto-mask. We could make the feature for any channel. > This would solve game-dev use cases of painting individual channels too. > This should then also affect color sampling. > > Going for an auto-mask option would currently also break compatibility with image editor. This puts extra pressure on updating image editor before Paint Mode release. > We agreed it should still be a mode wide setting as opposed to per texture/color attribute or per brush. > > For the UI. Instead of hiding it in the options panel it could be made very visible in the header or in the brush settings (with a toggle to use it unified for all tools and brushes in the scene). We need to decide further on how to show these options. We could build up an already existing UI element to target certain channels to be painted in Paint Mode: ![Clipboard - June 9.png](https://archive.blender.org/developer/F13141309/Clipboard_-_June_9.png)
Member

Added subscriber: @EAW

Added subscriber: @EAW
Julien Kaspar added this to the Sculpt, Paint & Texture project 2023-02-08 10:20:48 +01:00
Philipp Oeser removed the
Interest
Sculpt, Paint & Texture
label 2023-02-10 09:11:18 +01:00
Iliya Katushenock removed the
Status
Needs Triage
label 2023-08-24 17:38:11 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#98592
No description provided.