Noise nodes with high detail and lacunarity values outputs erratic values #112180
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#112180
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.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 536.40
Blender Version
Broken: version: 4.0.0 Alpha, branch: main, commit date: 2023-09-08 19:35, hash:
967d49dba48e
Worked: ?
Lacunarity option was exposed with
0702c24a36
. Not sure if that commit caused or exposed this issue because I don't think there was a way to change lacunarity value at user-level before that. Maybe the latter since Musgrave and Voronoi textures seem to have similar issues with high values.Short description of error
Noise node with high detail and lacunarity values outputs erratic values (values outside of the expected range, nan, inf) in Geometry Nodes. It seems there's no issue in Shader nodes until you give them very high values (ex: detail 15.0, lacunarity: 500.0) but I'm not sure.
Notice that even with the Normalize option enabled it outputs values higher than 1.0 (see the spreadsheet).
Exact steps for others to reproduce the error
Test file: noise_node_values.blend
It seems this happens when combination of detail and lacunarity values are high.
The easiest way to trigger the error is set both values very high. It will probably outputs all nan values.
Detail: 10.0, Roughness: 1.0, Lacunarity: 10.0, Normalize enabled
With not so high values, it usually outputs values outside of the range.
Detail: 6.5, Roughness: 1.0, Lacunarity: 7.5, Normalize enabled
@Hoshinova /^
I'll take a look at it while merging the Noise and Musgrave Textures. Is this issue also present with Voronoi? @persun
Yes, but with much, much higher values.
Voronoi, Detail: 15.0, Roughness: 0.5, Lacunarity: 315.8, Normalize enabled
If the detail is set to over a value higher than the soft cap (15.0), it happens with a much lower lacunarity value. In my layman's eyes this seems to happen with a certain combination of detail and lacunarity values.
Voronoi, Detail: 30.0, Roughness: 0.5, Lacunarity: 17.9, Normalize enabled
@persun The Voronoi examples are all in Geometry nodes. Is shader nodes Voronoi also affected by this?
You also mentioned that Musgrave has similar issues. What input combinations cause Musgrave to experience those issues?
I think it does, but at much higher detail and lacunarity values. Not really sure because I don't know how to properly debug shader values.
Here, I did a simple test using the bloom threshold, to see if the values the shader emits are over a certain threshold. I've set the bloom threshold to 5000.0, and set Voronoi's detail and lacunarity values very high, with the normalize option enabled. The plane emits very, very bright light when it should not emit color brighter than 1.0.
Usually with a high detail value. But it happens with a lower detail value if lacunarity is small. Dimension also seems to affect it.
Detail: 15.0, Dimension: 0.01, Lacunarity: 0.0
Detail: 15.0, Dimension: 2.0, Lacunarity: 4.1
Detail: 6.82, Dimension: 2.0, Lacunarity: 0.49
For the noise and musgrave textures the issues seems to stem from an integer overflow in floor_fraction.
Hoshinova referenced this issue2023-09-27 16:50:01 +02:00
@Hoshinova It's the same file with the one in the original report, just replaced the noise texture with musgrave one, and changed the values.
But just in case, the same conditions with the last image: noise_node_values_musgrave.blend
Thanks!