Cycles: Fix missing specular tint for SVM transmissive Principled BSDF #112894

Merged
Brecht Van Lommel merged 1 commits from Alaska/blender:fix-transmissive-tint into blender-v4.0-release 2023-09-27 17:44:59 +02:00
Member

No response

_No response_
Alaska added the
Module
Render & Cycles
label 2023-09-26 11:16:02 +02:00
Alaska added 1 commit 2023-09-26 11:16:18 +02:00
Alaska requested review from Brecht Van Lommel 2023-09-26 11:16:25 +02:00
Alaska requested review from Lukas Stockner 2023-09-26 11:16:41 +02:00
Alaska requested review from Weizhen Huang 2023-09-26 11:16:50 +02:00
Lukas Stockner approved these changes 2023-09-26 13:45:42 +02:00

I thought the specular tint should not affect the transmission component?

It doesn't seem to in Standard Surface or OpenPBR either.

I thought the specular tint should not affect the transmission component? It doesn't seem to in Standard Surface or OpenPBR either.
Author
Member

I thought the specular tint should not affect the transmission component?

This is probably a discussion that should be had between you, @weizhen and others. But I just wanted to explain my pull request just in case it wasn't clear.

#112192 changed the specular tint from a float to a colour.
Either during the merge of that change into #112848, or one of the revisions of 112848, the specular tint was removed from the reflective part of the transmissive component of the Principled BSDF in the SVM implementation of the material. OSL and EEVEE were left untouched. I assumed this was a mistake and added the Specular tint back to the SVM implementation with this pull request.

Just in case it changes anything, a version of Blender 4.0 from two weeks ago, and Blender 3.5.0 both use the specular tint to tint the reflective part of the transmissive component of the Principled BSDF.

It doesn't seem to in Standard Surface or OpenPBR either.

I can't find the specification for OpenPBR, so I can't compare against it. Sorry.

> I thought the specular tint should not affect the transmission component? This is probably a discussion that should be had between you, @weizhen and others. But I just wanted to explain my pull request just in case it wasn't clear. #112192 changed the specular tint from a float to a colour. Either during the merge of that change into #112848, or one of the revisions of 112848, the specular tint was removed from the reflective part of the transmissive component of the Principled BSDF in the SVM implementation of the material. OSL and EEVEE were left untouched. I assumed this was a mistake and added the Specular tint back to the SVM implementation with this pull request. Just in case it changes anything, a version of Blender 4.0 from two weeks ago, and Blender 3.5.0 both use the specular tint to tint the reflective part of the transmissive component of the Principled BSDF. > It doesn't seem to in Standard Surface or OpenPBR either. I can't find the specification for OpenPBR, so I can't compare against it. Sorry.
First-time contributor

I don't think letting you tint transmission with specular tint would take anything away, in fact the lack of it feels more like a bug to me.
If something like openpbr decides to not have it, we could just make a checkbox that enables this.

I don't think letting you tint transmission with specular tint would take anything away, in fact the lack of it feels more like a bug to me. If something like openpbr decides to not have it, we could just make a checkbox that enables this.

Ok, let's keep this behavior.

The OpenPBR spec is not public (and not finished) yet.

Ok, let's keep this behavior. The OpenPBR spec is not public (and not finished) yet.
Brecht Van Lommel changed title from Cycles: Fix missing specular tint for SVM transmissive Principled BSDF to Cycles: Fix missing specular tint for SVM transmissive Principled BSDF 2023-09-27 15:57:13 +02:00
brecht changed target branch from main to blender-v4.0-release 2023-09-27 15:57:15 +02:00

@blender-bot build linux

@blender-bot build linux
Brecht Van Lommel merged commit f9dce92767 into blender-v4.0-release 2023-09-27 17:44:59 +02:00
Brecht Van Lommel deleted branch fix-transmissive-tint 2023-09-27 17:45:01 +02:00
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
4 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#112894
No description provided.