Area Lights and Spotlights very noisy near source in Volumes #87565
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#87565
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.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 465.89
Blender Version
Broken: version: 2.93.0 Beta, branch: master, commit date: 2021-04-15 17:14, hash:
fa8d566c3b
Worked: Unknown
Short description of error
If you have area lights or spotlights in a volume, they render very "noisy" near the light source.
Exact steps for others to reproduce the error
Open the attached blend file, render with F12.
Volume Scattering Bug.rar
Added subscriber: @Joe_W
Added subscriber: @Alaska
Changed status from 'Needs Triage' to: 'Archived'
Testing on my computer, the noise pattern is the same as the above render in the versions I tested (2.90, 2.91, 2.92, 2.93, 3.0). The area light was different in older versions (due to the area light spread introduced in 2.93).
The behavior being the same between these versions suggestions this is not a regression and is thus technically not a bug. In theory, noise can be improved with a different sampling methods, however this would be a feature request which is not tracked on developer.blender.org. Please use other channels for user feedback and feature requests: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests
In the meantime, increasing the sample count and using denoising should resolve this issue.
As far as increasing samples and adding denoising, the example scene (and render provided) was set to use 2048 samples. Initially, I, too, thought that I'd have to increase samples to get this to render cleanly, but even after going up to 6000 samples, the same "chunky" appearance occurs around the light source.
What DID seem to reduce the blotchy noise pattern was increasing the number of Light Path>Max Bounces>Volume from the default 0 to 1 or more ... but this introduces problems of it's own (specifically, an overall "mushy/blotchy" result to the entire volume).
I'm not sure how this is a feature request as opposed to a bug. On it's face it seems like undesirable behavior. Are you suggesting that the proper approach would be to put in a request for "better volumetric lights" - or something to that effect?
Doing a quick test, I was able to get a relatively "clean" result with 8,192 samples, and it gets cleaner as the samples are increase. However this was with adaptive sampling off. Having adaptive sampling on causes issues with the 8,192 sample scene. This means the blotchy noise pattern comes from a combination of two things.
So, this is a bug with adaptive sampling then? No. Adaptive sampling determines whether or not something should continue to be sampled based on the noise in certain areas of the render. As it just so happens, in this scene with 2,048 samples, enough samples occur without actually sampling the light in certain areas, resulting in no noise, and as a result the adaptive sampler stops sampling that area. This results in "blotchs" around the light that is black from a lack of samples of a light source. This is expected behavior. The adaptive sampler is detecting noise properly and stopping at the right time, it's just that Cycles hasn't sampled the scene how you'd expect and noise in these regions hasn't been generated before the adaptive sampler decides to stop it.
As a result of these types of issues occurring, the Blender developers exposed an option called
Minimum samples
that allows you to determine when adaptive sampling should make its first check for noise. Leaving thisMinimum samples
value at 0 lets Blender pick a number automatically (I believe it's just the square root of your samples, which for a 2048 sample scene is roughly 45 samples), but you can change it to something better suited for your scene (E.G. 512, or even 1024), but keep in mind that increasing this number will increase your render times.Now, you might still be getting small issues, even with a minimum sample count of 1024. And this is simply down to the fact that cycles isn't that great at sampling this type of scene, so it's still hard to generate noise, even at a large minimum sample count. So it might be best for you just to disable adaptive sampling in this scene. Yes, you'll end up with longer render times, but that's the trade off you need to make for quality from a path tracer like Cycles.
So, the bug is technically in Cycles then, and how it samples lights? Yes. But it's not considered a bug, more of a known issue. Path tracing these types of scenes with a high level of quality and quickly is hard. As a result, various path tracing algorithms exist. Blender even has two path tracing options,
Path tracing
andBranched Path Tracing
, both excelling in different scenarios. Many of the shaders and lights in Blender also have options that change little things about how they're sampled to reduce noise. The issue you're experiencing is that one of the path tracing algorithms isn't efficient enough in this scene to generate noise for the adaptive sampler. However, the fact that algorithm is working means this is not a bug. And as such, it technically makes your report a "request for a better sampling algorithm".In the meantime, may I make some suggestions for resolving this issue?
Minimum sample
count for the adaptive sampler.Minimum samples
set to be automatic to work as expected. You'll find an explanation for why switching to CPU helps in this case below:Alaska - very sorry about the late reply - I didn't see an email informing me of your response.
Thank you very much for the detailed explanation. I don't think I've ever rendered with 8K samples, but I guess it's good to know that might be what is required. I've played with the two variants of Path Tracing and had mixed results. My first response with most renders that are too noisy is to throw more samples at them - or up the specific number of samples of the particular function/feature (Glossy, Diffuse, etc).
I'll also have to play more with the Minimum Samples setting. I can hear my GPU screaming in agony already .... ;)
Thanks again for the detailed response - I appreciate it.
(And after the Live-Stream today .... we have Cycles-X to look forward to ....)