AcademySoftwareFoundation / OpenShadingLanguage

Advanced shading language for production GI renderers
BSD 3-Clause "New" or "Revised" License
2.11k stars 364 forks source link

Add hair_chiang_bsdf closure definition from MaterialX #1891

Closed fpsunflower closed 1 week ago

fpsunflower commented 1 month ago

Description

This just adds a closure definition so the MaterialX project can work on their OSL backend bindings for this new BSDF.

Tests

We don't have an implementation of this closure (nor would be it be easy to provide since testrender doesn't support hair fibers and this model won't work well on triangulated hair. We'll have to rely on MaterialX and renderers implementing this closure for testing.

Checklist:

fpsunflower commented 1 month ago

@jstone-lucasfilm for vis.

fpsunflower commented 1 month ago

Related MaterialX issue for posterity: https://github.com/AcademySoftwareFoundation/MaterialX/pull/1968