Page MenuHome

Implement Stencil Mask Drawing for Texture Painting
ClosedPublic

Authored by Jeroen Bakker (jbakker) on Mar 21 2019, 3:58 PM.

Details

Summary

Stencil mask drawing was not implemented yet. This commit will implement this for texture painting.

Diff Detail

Repository
rB Blender

Event Timeline

Harbormaster completed remote builds in B3211: Diff 14340.
Jeroen Bakker (jbakker) retitled this revision from Initial Drawing of texture paint mask to Initial Drawing of texture paint mask (WIP).Mar 21 2019, 3:58 PM
Clément Foucault (fclem) added inline comments.
source/blender/draw/modes/shaders/paint_texture_frag.glsl
33

mask.rgb = 1.0 - mask.rgb;

  • Invalidate drawing cache when UV layer is selected for mask
  • Code review comment frag shader
Jeroen Bakker (jbakker) marked an inline comment as done.Mar 21 2019, 4:44 PM
Jeroen Bakker (jbakker) retitled this revision from Initial Drawing of texture paint mask (WIP) to Implement Stencil Mask Drawing for Texture Painting.
Jeroen Bakker (jbakker) edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Mar 21 2019, 6:20 PM
This revision was automatically updated to reflect the committed changes.