reducing principled IOR which should only affect transmission, is also incorrectly modifying the reflection IOR and reducing the affect of reflections. #110476
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#110476
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.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 535.98
Blender Version
Broken: version: 4.0.0 Alpha, branch: main, commit date: 2023-06-30 00:04, hash:
e73a9a6a7d7b
Worked: (unknown)
Short description of error
setting ior low reduces reflections.
Exact steps for others to reproduce the error
Open attached blend file, turn on cycles viewport. The reflection is missing because transmissive IOR is set low. I understand the glossy IOR (which is automatically calculated in this pbr workflow, rather than being exposed) cant be less than the transmissive IOR to avoid parts of the material rendering black, but it should be allowed to be higher so it can retain reflections regardless of the transmission IOR being low.
Double checked the manual and it does confirm it should only affect transmission. When building shaders manually, I decouple the two IOR's and then limit the glossy IOR to never fall below the transmission IOR but allow it to be turned up higher.
In the attached file, increasing the ior or turning off transmission will bring the reflections back.
Cheers 👍
reducing IOR which should only affect transmission, is also incorrectly modifying the reflection IOR and reducing the affect of reflections.to reducing principled IOR which should only affect transmission, is also incorrectly modifying the reflection IOR and reducing the affect of reflections.Interesting find... I'm not sure if this effect is related to how refraction could turn gradually into full-reflection physically, so adjusting refraction IOR should indeed affect reflection?
I believe it's correct that the reflections should become less visible when decreasing the IOR , but in 3d, providing the glossy IOR doesn't drop below the refractive IOR, then you're golden (avoids black areas with neither glossy or transmission). Handy for architectural glass and plastic bottles etc if you don't want to build from individual nodes with layer weight + transparent/glossy bsdf's.
The only reason I bring it up is because the decoupling has been super useful in other engines, and the Blender user manual suggested it should also only affect refraction rather than reflection.
Hi, thanks for the report. I can confirm. Looks like the material is dark when IOR is close to 1.
AFAIK from physics, IOR of air is 1 and for air I don't expect any reflection to happen.
I maybe wrong here, checking further.
This is likely expected as said above (but not sure about complete dark result). Also, reflection/refraction is also controlled by ior value, see:
https://projects.blender.org/blender/blender/src/branch/main/source/blender/gpu/shaders/material/gpu_shader_material_principled.glsl#L61
@brecht hi, can you check whether this is a bug?
This is by design. I don't think the manual contradicts it either, it says the IOR is for transmission and enabling transmission should affect multiple components for energy conservation. Beyond that this is a feature request outside the scope of the bug tracker.