Skip to content

MDL: apply subsurface_bsdf weight in MDL implementation and add tests #2264

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

krohmerNV
Copy link
Contributor

This PR is mostly about the added tests materials.
Attached is a comparison between GLSL, OSL, and MDL.

  • MDL should be correct as far as I can tell. SSS is implemented using a random walk in the path tracer (which will be added to WIP: add MDL Compiler and Render #2254)
  • For the GLSL implementation the radius seems to not have a big impact which might be okay due to the real-time approximation. But we are wondering about the max(mfp, 0.1) here . This means at least 10cm radius if the scene is modelled in meters, right?
  • OSL matches GLSL but I haven't checked the source.

Screenshot_7-3-2025_153024_

Copy link

linux-foundation-easycla bot commented Mar 7, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

krohmerNV added a commit to krohmerNV/MaterialX that referenced this pull request Mar 11, 2025
krohmerNV added a commit to krohmerNV/MaterialX that referenced this pull request Apr 22, 2025
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