LineArt renders choppy in Eevee #89268

Closed
opened 2021-06-18 18:56:57 +02:00 by Tom Freudenberg · 15 comments

System Information
Operating system: macOS-11.4-arm64-arm-64bit 64 Bits
Graphics card: Apple M 1 Apple 4.1 Metal - 71.6.4

Blender Version
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: 84da05a8b8
tested vanilla 2.93.1RC, 3.0.0a, all show same behavior. No difference between ARM and Intel version.
Worked: n/a, not possible to test in 2.92.0

Short description of error
Choppy render results of default Grease Pencil Line Art scene/composition/object modifier in Eevee. Cycles works as expected.
Screenshot: left viewport render view, right Eevee render result with default settings
Bildschirmfoto 2021-06-18 um 18.43.38.png

Exact steps for others to reproduce the error
Open Blender default scene, shift-a to add Grease Pencil -> Scene Line Art (or Collection/Object).
Render image with default Eevee settings. The default cube edge lines are rendered choppy.
Tried several settings on the Line Art Modifier and on the render settings without any difference in results.

**System Information** Operating system: macOS-11.4-arm64-arm-64bit 64 Bits Graphics card: Apple M 1 Apple 4.1 Metal - 71.6.4 **Blender Version** Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: `84da05a8b8` tested vanilla 2.93.1RC, 3.0.0a, all show same behavior. No difference between ARM and Intel version. Worked: n/a, not possible to test in 2.92.0 **Short description of error** Choppy render results of default Grease Pencil Line Art scene/composition/object modifier in Eevee. Cycles works as expected. Screenshot: left viewport render view, right Eevee render result with default settings ![Bildschirmfoto 2021-06-18 um 18.43.38.png](https://archive.blender.org/developer/F10180440/Bildschirmfoto_2021-06-18_um_18.43.38.png) **Exact steps for others to reproduce the error** Open Blender default scene, shift-a to add Grease Pencil -> Scene Line Art (or Collection/Object). Render image with default Eevee settings. The default cube edge lines are rendered choppy. Tried several settings on the Line Art Modifier and on the render settings without any difference in results.

Added subscriber: @snowflake089

Added subscriber: @snowflake089
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Can confirm for 2.93.0LTS and also with 3.0.0 (4891da8ae2)

Can confirm for 2.93.0LTS and also with 3.0.0 (`4891da8ae2`)

Added subscribers: @antoniov, @frogstomp-4

Added subscribers: @antoniov, @frogstomp-4

@PratikPB2123 I think this can be closed as solution is provided and is also solved in 3.0.

@snowflake089, please toggle In front settings in object properties.
image.png

This will most likely be toggled on by default in 2.93.1 (@antoniov please confirm)
But beware that this will then render on top of any other grease pencil object.

In blender 3.0 this is being solved by another parameter, stroke offset, so it will be off by default again.

@PratikPB2123 I think this can be closed as solution is provided and is also solved in 3.0. @snowflake089, please toggle In front settings in object properties. ![image.png](https://archive.blender.org/developer/F10181152/image.png) This will most likely be toggled on by default in 2.93.1 (@antoniov please confirm) But beware that this will then render on top of any other grease pencil object. In blender 3.0 this is being solved by another parameter, stroke offset, so it will be off by default again.

@frogstomp-4 IIRC the commit with the default change was tagged for 2.93.1, but I'm not the person that moves this commit in 2.93.1.

@frogstomp-4 IIRC the commit with the default change was tagged for 2.93.1, but I'm not the person that moves this commit in 2.93.1.

@frogstomp-4 Thanks for the solution, I've tested it and it works for the lineart modifier.
Although I've realized that this issue is for other grease pencil objects as well. Two examples in the screenshot: Shadowed overlays render choppy on edges of other objects as well the same object (the drawn box on the clipboard) renders choppy on objects further away from camera. As I'm new to bug reporting, should I open another one or is this related to the same solution in 3.0?
Bildschirmfoto 2021-06-19 um 13.57.22.png

@frogstomp-4 Thanks for the solution, I've tested it and it works for the lineart modifier. Although I've realized that this issue is for other grease pencil objects as well. Two examples in the screenshot: Shadowed overlays render choppy on edges of other objects as well the same object (the drawn box on the clipboard) renders choppy on objects further away from camera. As I'm new to bug reporting, should I open another one or is this related to the same solution in 3.0? ![Bildschirmfoto 2021-06-19 um 13.57.22.png](https://archive.blender.org/developer/F10181449/Bildschirmfoto_2021-06-19_um_13.57.22.png)

@snowflake089 this is a known issue as well. In this example you are using draw on surface? In this case you need to set stroke offset a little higher. Or manually move strokes a little towards the camera. The reason is (I think, also just a user, not a blender developer) that eevee is raster renderer and as such it is placing rasterized planed in the depth space. Grease pencil is a separate rendering engine and is then competing for the same space. This is a classic z-fight problem.

There is a plan to integrate grease pencil into eevee, so the same engine will render it. There is already a branch for this and a nice blog post explaining it: https://code.blender.org/2021/06/eevees-future/

But for now there is no easy solution and you will have to keep those things in mind when puting your scene together.

@snowflake089 this is a known issue as well. In this example you are using draw on surface? In this case you need to set stroke offset a little higher. Or manually move strokes a little towards the camera. The reason is (I think, also just a user, not a blender developer) that eevee is raster renderer and as such it is placing rasterized planed in the depth space. Grease pencil is a separate rendering engine and is then competing for the same space. This is a classic z-fight problem. There is a plan to integrate grease pencil into eevee, so the same engine will render it. There is already a branch for this and a nice blog post explaining it: https://code.blender.org/2021/06/eevees-future/ But for now there is no easy solution and you will have to keep those things in mind when puting your scene together.

Added subscriber: @MarcinTwarowski

Added subscriber: @MarcinTwarowski

Ignore that. I missed the part about "in front".

Ignore that. I missed the part about "in front".

@MarcinTwarowski you can also solve this by using In front option. From 3.0a there will be stroke offset option in the lineart to solve this issue.

@MarcinTwarowski you can also solve this by using In front option. From 3.0a there will be stroke offset option in the lineart to solve this issue.

In #89268#1180222, @frogstomp-4 wrote:
@MarcinTwarowski you can also solve this by using In front option. From 3.0a there will be stroke offset option in the lineart to solve this issue.

Yes, I'm sorry. I should have read more carefully.

> In #89268#1180222, @frogstomp-4 wrote: > @MarcinTwarowski you can also solve this by using In front option. From 3.0a there will be stroke offset option in the lineart to solve this issue. Yes, I'm sorry. I should have read more carefully.

Thank you very much for all your support! Such a great community!
I´m closing this task, as it can be handled with a higher stroke offset, alternatively the "in front" render option and the linear stroke offset option from 3.0a on.

Thank you very much for all your support! Such a great community! I´m closing this task, as it can be handled with a higher stroke offset, alternatively the "in front" render option and the linear stroke offset option from 3.0a on.

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' 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
5 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#89268
No description provided.