Skip to content

Scale transmission roughness by IOR#24453

Open
issam3105 wants to merge 1 commit into
bevyengine:mainfrom
issam3105:scale_transmission_roughness_by_IOR
Open

Scale transmission roughness by IOR#24453
issam3105 wants to merge 1 commit into
bevyengine:mainfrom
issam3105:scale_transmission_roughness_by_IOR

Conversation

@issam3105
Copy link
Copy Markdown
Contributor

@issam3105 issam3105 commented May 26, 2026

Objective

  • Scale transmission roughness by IOR.
  • In the Khronos TransmissionRoughnessTest sample, Khronos' comment explains the core case:
    With IOR = 1.0, light vectors do not change regardless of how strong the microfacet angles become. When this happens, transmission will be sharp and non-blurred, regardless of the material's roughness, because the microfacets cannot alter the direction of transmitted light.

Solution

Testing

  • Tested visually with the Khronos TransmissionRoughnessTest glTF sample: the 1.0 - Air row should remain sharp across roughness values.

Showcase

  • Before:
image
  • After:
image
  • Blender Cycles
image

@issam3105 issam3105 force-pushed the scale_transmission_roughness_by_IOR branch from 43f60ba to da8318a Compare May 26, 2026 12:36
@issam3105 issam3105 force-pushed the scale_transmission_roughness_by_IOR branch from da8318a to 6e8fe4e Compare May 26, 2026 14:25
@issam3105 issam3105 marked this pull request as ready for review May 26, 2026 14:27
@kfc35 kfc35 added A-Rendering Drawing game state to the screen S-Needs-Review Needs reviewer attention (from anyone!) to move forward D-Shaders This code uses GPU shader languages labels May 26, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in Rendering May 26, 2026
@kfc35 kfc35 added D-Straightforward Simple bug fixes and API improvements, docs, test and examples C-Bug An unexpected or incorrect behavior labels May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior D-Shaders This code uses GPU shader languages D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

2 participants