Grease pencil always uses the viewport display color of a world for its ambient light (even if the world uses nodes) #94318
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#94318
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.19042-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 496.13
Blender Version
Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash:
f1cca30557
Worked: (newest version of Blender that worked as expected)
Short description of error
when changing the viewport display color in the world properties all grease pencil strokes get ambient lit by the color (even if the world uses nodes).
it used to only change the background color in viewport shading, when its background is set to world. at least thats whats documented about "viewport-display" right now.
theres no mention about this influence on grease pencil in the documentation. And the Menu Label "Viewport dispaly" does not conclude to any influence on Grease Pencil either.
this can lead to very confusing and frustrating situations.
Exact steps for others to reproduce the error
start 2D Animation scene, make GreasePencil strokes change the material color of the strokes to any bright color. Goto World settings, and change the ViewportDisplay color. Change the ViewportShading mode to Material or Render to see the influence of Viewport Dispaly color on GreasePencil elements.
greasepencil_viewportdisplay.blend
Added subscriber: @office
Added subscriber: @lichtwerk
Changed status from 'Needs Triage' to: 'Needs User Info'
Cannot reproduce.
What is your strokes
Blend
mode set to?Mind sharing an example file?
sorry i forgot to mention you need to go to materialView or renderView to see the influence.greasepencil_viewportdisplay.blend
the strokes i used are all set to "regular". i uploaded a file from version 2.93.5 its the same behaviour in 3.0.
here you see a blue stroke material and the world Viewport Display color set to yellow. The Stroke is rendered green.
Yeah, seems like the viewport color is always used as ambient color here (even if the world uses nodes).
horr
is the Viewport Display Color.This might be by design, checking...
viewport-display color multiplies grease pencilto Grease pencil always uses the viewport display color of a world for its ambient light (even if the world uses nodes)Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
I have a patch that uses the backgound nodes' color as ambient light.
But since I am not sure if this is really the way to go, will set status accordingly.
Added subscribers: @fclem, @antoniov
We need @fclem opinion.
Changed status from 'Needs Developer To Reproduce' to: 'Archived'
The issue is that using the nodetree as ambient color is hard to get right. It is simple if the nodetree is really simple but it gets complex really quickly.
Eevee is used to render the background this is why the background color uses the nodetree.
The user level workaround is to disable
Use Nodes
in the world tab and let EEVEE and Gpencil engines use the same color.EEVEE rewrite will bring full GPencil lighting so I am not in favor of adding complexity to Gpencil engine lighting.
Added subscriber: @frogstomp-4
For the time being, I think viewport background color is good solution to set up base lightning setting. Would not change anything before eevee-rewrite lands.