Glare node posterizes the image #118446

Closed
opened 2024-02-19 05:39:18 +01:00 by Yegor · 7 comments

System Information
Operating system: Linux-5.15.0-94-generic-x86_64-with-glibc2.35 64 Bits, X11 UI
Graphics card: NVIDIA GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 525.147.05

Blender Version
Broken: version: 4.1.0 Beta, branch: blender-v4.1-release, commit date: 2024-02-15 17:25, hash: 401a2397db20
Worked: (newest version of Blender that worked as expected)

Short description of error
There are four situations.

  1. AgX in viewport compositor - posterizes.
    image
  2. Filmic in vewport compositor - posterizes.
    image
  3. AgX in post compositor - posterizes.
    image
  4. Filmic in post compositor - doesn't posterize.
    image

Exact steps for others to reproduce the error
Render the attached file or turn render in viewport and enable compositor.

**System Information** Operating system: Linux-5.15.0-94-generic-x86_64-with-glibc2.35 64 Bits, X11 UI Graphics card: NVIDIA GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 525.147.05 **Blender Version** Broken: version: 4.1.0 Beta, branch: blender-v4.1-release, commit date: 2024-02-15 17:25, hash: `401a2397db20` Worked: (newest version of Blender that worked as expected) **Short description of error** There are four situations. 1. AgX in viewport compositor - posterizes. ![image](/attachments/b78b7dd9-4ff3-47a4-a59e-d4c9b8ab4549) 2. Filmic in vewport compositor - posterizes. ![image](/attachments/ad67b33a-6f89-419e-a0b6-01620ef5ec12) 3. AgX in post compositor - posterizes. ![image](/attachments/8a00b31d-2b3e-4a86-8488-966ba6d43a79) 4. Filmic in post compositor - doesn't posterize. ![image](/attachments/49a1dad8-ab87-4fc0-94b8-d76436031a64) **Exact steps for others to reproduce the error** Render the attached file or turn render in viewport and enable compositor.
Yegor added the
Type
Report
Priority
Normal
Status
Needs Triage
labels 2024-02-19 05:39:19 +01:00
Member

Thanks for the report. Can confirm

Thanks for the report. Can confirm
Pratik Borhade added
Module
VFX & Video
Status
Confirmed
Interest
Compositing
and removed
Status
Needs Triage
labels 2024-02-19 09:55:13 +01:00
Member

What do you mean by posterizes? Can you clarify the issue?

What do you mean by posterizes? Can you clarify the issue?
Author

See the harsh separation line around highlights. Should be a smooth roll off. You can also search for 'posterization effect' to get more examples.
This may be confused over a specular spot, but it's diffuse. I should've done the screenshots without spec. You can dial the spec to 0 and get the same effect.
Here's an example. Diffuse only
image

See the harsh separation line around highlights. Should be a smooth roll off. You can also search for 'posterization effect' to get more examples. This may be confused over a specular spot, but it's diffuse. I should've done the screenshots without spec. You can dial the spec to 0 and get the same effect. Here's an example. Diffuse only ![image](/attachments/2f2d2a45-466b-4136-97d4-13849e1c8efe)
162 KiB
Member

This is due to the harsh thresholding function that the glare node uses. I do agree that this not a great way of thresholding for glare, and I did see other reports about this. So I think we should do something about it and smooth things out. But this is not really a bug, so this will be handled outside of the bug tracker.

This is due to the harsh thresholding function that the glare node uses. I do agree that this not a great way of thresholding for glare, and I did see other reports about this. So I think we should do something about it and smooth things out. But this is not really a bug, so this will be handled outside of the bug tracker.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-02-19 17:10:01 +01:00
Author

But it doesn't happen to Filmic. So maybe it's a combination of AgX-glare node problem? Increasing threshold negates the whole effect. So it's kind of impossible to get the glow effect with AgX without posterization.
Anyway I addressed it, so you're aware now, even if it's not a bug. Thank you.

But it doesn't happen to Filmic. So maybe it's a combination of AgX-glare node problem? Increasing threshold negates the whole effect. So it's kind of impossible to get the glow effect with AgX without posterization. Anyway I addressed it, so you're aware now, even if it's not a bug. Thank you.
Member

This is most likely coincidental, AgX just makes the effect more apparent. Consider doing manual thresholding with a setup like this meanwhile:

20240219-182507.png

This is most likely coincidental, AgX just makes the effect more apparent. Consider doing manual thresholding with a setup like this meanwhile: ![20240219-182507.png](/attachments/ccaee269-0c07-4d1e-a777-5b8a266f1f8d)
Author

This may work, I'll test on the production shot, thanks!

This may work, I'll test on the production shot, thanks!
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#118446
No description provided.