[Grease Pencil] Overlay, subtract, multiply and divide Layer Blend modes don't blend right #65187

Closed
opened 2019-05-27 16:43:30 +02:00 by Mooly Segal · 7 comments

System Information
Operating system: Windows-8.1-6.3.9600 64 Bits
Graphics card: GeForce GTX 750/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 388.13

Blender Version
Broken: version: 2.80 (sub 72), branch: blender2.7, commit date: 2019-05-26 22:34, hash: d525c76003
Worked: (optional)

Short description of error
Overlay, subtract, multiply and divide Layer Blend modes in for the Grease Pencil don't blend right. When I draw a white line in Overlay Blend Mode over a 60% grey area, some areas of the white line become dark instead of losing opacity (see image attached). When adjusting the opacity, the problem becomes more visible and the stroke flickers when the opacity is close to 0.0.

overlay_bug.blend
Exact steps for others to reproduce the error

  • Start a new 2D Animation scene
  • In the material tab create a grey fill material with a color value of 0.6.
  • In the material tab create a white stroke material with a value of 1.
  • Draw a simple square shape in the Fills layer with the Grey Fill Material.
  • Draw a few lines withe the White Stroke Material, on top of the square in the Lines layer.
  • Change the Blend mode of the Lines layer to Overlay.
  • Change the Opacity of the Lines Layer to different values including 0.0, 0.01, 0.5, 1.
  • Observe the white line in the view port.

NOTE
This problem shows in render too.
Blender file attached.

Thank you!
Capture.JPG

**System Information** Operating system: Windows-8.1-6.3.9600 64 Bits Graphics card: GeForce GTX 750/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 388.13 **Blender Version** Broken: version: 2.80 (sub 72), branch: blender2.7, commit date: 2019-05-26 22:34, hash: `d525c76003` Worked: (optional) **Short description of error** Overlay, subtract, multiply and divide Layer Blend modes in for the Grease Pencil don't blend right. When I draw a white line in ***Overlay Blend Mode*** over a 60% grey area, some areas of the white line become dark instead of losing opacity (see image attached). When adjusting the opacity, the problem becomes more visible and the stroke flickers when the opacity is close to 0.0. [overlay_bug.blend](https://archive.blender.org/developer/F7072212/overlay_bug.blend) **Exact steps for others to reproduce the error** - Start a new 2D Animation scene - In the material tab create a grey fill material with a color value of 0.6. - In the material tab create a white stroke material with a value of 1. - Draw a simple square shape in the **Fills** layer with the Grey Fill Material. - Draw a few lines withe the White Stroke Material, on top of the square in the Lines layer. - Change the Blend mode of the Lines layer to Overlay. - Change the Opacity of the Lines Layer to different values including 0.0, 0.01, 0.5, 1. - Observe the white line in the view port. **NOTE** This problem shows in render too. Blender file attached. Thank you! ![Capture.JPG](https://archive.blender.org/developer/F7072221/Capture.JPG)
Author

Added subscriber: @Moolys

Added subscriber: @Moolys
Author

This is what a similar setup with an overlay layer looks like in Photoshop:
overlay_photoshop.jpg

This is what a similar setup with an overlay layer looks like in Photoshop: ![overlay_photoshop.jpg](https://archive.blender.org/developer/F7072244/overlay_photoshop.jpg)

Added subscriber: @antoniov

Added subscriber: @antoniov

@Moolys are you talking about the sections when the stroke intersect itself?

@Moolys are you talking about the sections when the stroke intersect itself?
Author

@antoniov actually the tips of the stroke is where it's mostly visible. The tips look black, and they should blend into the grey (i.e. get darker slightly but not turn black).
Kind of looks like an alpha channel issue, but that's just a guess.

@antoniov actually the tips of the stroke is where it's mostly visible. The tips look black, and they should blend into the grey (i.e. get darker slightly but not turn black). Kind of looks like an alpha channel issue, but that's just a guess.
Antonio Vazquez self-assigned this 2019-05-28 13:29:40 +02:00

This issue was referenced by f139caa632

This issue was referenced by f139caa6322fc71a16f9c22f4202d6dde42573a7

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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 project
No Assignees
3 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#65187
No description provided.