forked from AcademySoftwareFoundation/MaterialX
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial support for Zeltner sheen (AcademySoftwareFoundation#1825)
This is a first version of the GLSL implementation, which is currently inactive but can be enabled in place of the existing sheen model via the `SHEEN_METHOD` `#define` in `mx_sheen_bsdf.glsl`. In contrast to the reference implementation (https://github.com/tizian/ltc-sheen), this version uses analytic fits instead of a table, to ease integration. I plan to improve the quality of the fits in the future (particularly the directional albedo), and also add a sampling function.
- Loading branch information
1 parent
d3637cd
commit 28f8e8d
Showing
4 changed files
with
115 additions
and
12 deletions.
There are no files selected for viewing
12 changes: 0 additions & 12 deletions
12
libraries/pbrlib/genglsl/lib/mx_generate_prefilter_env.glsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters