Skip to content

Removed sqare roughness from principled material conversion - #151

Open
BritishTeapot wants to merge 1 commit into
mitsuba-renderer:masterfrom
BritishTeapot:roughness_conversion_fix
Open

Removed sqare roughness from principled material conversion#151
BritishTeapot wants to merge 1 commit into
mitsuba-renderer:masterfrom
BritishTeapot:roughness_conversion_fix

Conversation

@BritishTeapot

@BritishTeapot BritishTeapot commented Mar 30, 2026

Copy link
Copy Markdown

This PR fixes the incorrect conversion of roughness values in principled BSDFs. The old code wrongly assumed Mitsuba 3 uses alpha for roughness, and blender uses sqrt roughness. However, in reality both of them use sqrt roughness. For more detail, see #122 .

This PR removes the squaring of blender's roughness values when converting to principled BSDF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant