-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the MDL code generator to make use of MDL 1.10 features that. This includes: - taking the color82 of the generalized Schlick BSDF into account - implement the Zeltner mode for the Sheen BSDF - add energy conservation to the Oren-Nayar diffuse BSDF
- Loading branch information
Showing
13 changed files
with
327 additions
and
14 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0"?> | ||
<materialx version="1.39"> | ||
<nodegraph name="conty_kulla_sheen"> | ||
<sheen_bsdf name="conty_kulla_sheen_bsdf1" type="BSDF"> | ||
<input name="weight" type="float" value="1.0" /> | ||
<input name="color" type="color3" value="0.516, 0.524, 0.778" /> | ||
<input name="roughness" type="float" value="0.3" /> | ||
<input name="mode" type="string" value="conty_kulla" /> | ||
</sheen_bsdf> | ||
<surface name="surface1" type="surfaceshader"> | ||
<input name="bsdf" type="BSDF" nodename="conty_kulla_sheen_bsdf1" /> | ||
<input name="opacity" type="float" value="1.0" /> | ||
</surface> | ||
<output name="out" type="surfaceshader" nodename="surface1" /> | ||
</nodegraph> | ||
|
||
<nodegraph name="zeltner_sheen"> | ||
<sheen_bsdf name="zeltner_sheen_bsdf2" type="BSDF"> | ||
<input name="weight" type="float" value="1.0" /> | ||
<input name="color" type="color3" value="0.516, 0.524, 0.778" /> | ||
<input name="roughness" type="float" value="0.3" /> | ||
<input name="mode" type="string" value="zeltner" /> | ||
</sheen_bsdf> | ||
<surface name="surface2" type="surfaceshader"> | ||
<input name="bsdf" type="BSDF" nodename="zeltner_sheen_bsdf2" /> | ||
<input name="opacity" type="float" value="1.0" /> | ||
</surface> | ||
<output name="out" type="surfaceshader" nodename="surface2" /> | ||
</nodegraph> | ||
</materialx> |
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
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
Oops, something went wrong.