Several inconsistencies in Cycles BSDF #111941
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
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#111941
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?
in(bsdf_microfacet_sample()
it is checked against(path_flag & PATH_RAY_CAMERA)
, butbsdf_microfacet_eval()
is always using the pdf of defensive sampling, except when fresnel is one. Also, it's worth verifying if defensive sampling is still practical.bf82f9442c
)sd->Ng
orsd->N
both(bsdf_microfacet_sample()
andbsdf_microfacet_eval()
have an argumentNg
, but we passsd->Ng
to the former andsd->N
to the later, so checks likedot(Ng, wo) > 0
don't give the same result.063a9e8964
)bsdf_is_transmission(sc, wo)
checks using smoothed normalsc->N
, but in BSDF sampling and evaluation(sd->type & PRIMITIVE_CURVE) ? sc->N : sd->Ng
is used.ClosureLabel
surface_shader_bsdf_sample_closure()
, we accumulate the result of all the closures, butlabel
is solely determined by the closure chosen bybsdf_sample()
. Maybe this is fine but the logic seems weird.CLOSURE_BSDF_HAIR_CHIANG_ID
, the label is determined by thewo
direction inbsdf_label()
, but determined by the interaction number inbsdf_sample()
. Maybelabel
should always beLABEL_REFLECT
because hair closure handles internal absorption itself.Behaves differently for Glossy and Principled BSDF. Principled BSDF uses remapping from Disney and only allow positive anisotropy. Glossy BSDF does not use remapping, allow both negative and positive anisotropy, and treat the distribution as isotropic if
anisotropy < 1e-4f
. The last piece of logic is repeated in svm, osl andshader_nodes.cpp
eta
andlabel
required by path guidingis inconsistent in BSDF sampling and evaluation.
Several inconsistencies in `bsdf_sample()` and `bsdf_eval()`to Several inconsistencies in Cycles BSDF