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.
- Loading branch information
1 parent
95fc7c5
commit 6f8d616
Showing
5 changed files
with
39 additions
and
24 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
3 changes: 0 additions & 3 deletions
3
resources/Materials/Examples/StandardSurface/standard_surface_greysphere.mtlx
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
35 changes: 35 additions & 0 deletions
35
resources/Materials/TestSuite/pbrlib/surfaceshader/layer_surfaceshader.mtlx
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,35 @@ | ||
<?xml version="1.0"?> | ||
<materialx version="1.39"> | ||
|
||
<oren_nayar_diffuse_bsdf name="diffuse_bsdf" type="BSDF"> | ||
<input name="color" type="color3" value="0.18, 0.18, 0.18" /> | ||
</oren_nayar_diffuse_bsdf> | ||
<dielectric_bsdf name="specular_bsdf" type="BSDF"> | ||
<input name="roughness" type="vector2" value="1.0, 1.0" /> | ||
</dielectric_bsdf> | ||
<layer name="specular_layer" type="BSDF"> | ||
<input name="top" type="BSDF" nodename="specular_bsdf" /> | ||
<input name="base" type="BSDF" nodename="diffuse_bsdf" /> | ||
</layer> | ||
|
||
<surface name="diffuse_surf" type="surfaceshader"> | ||
<input name="bsdf" type="BSDF" nodename="diffuse_bsdf" /> | ||
</surface> | ||
<surface name="specular_surf" type="surfaceshader"> | ||
<input name="bsdf" type="BSDF" nodename="specular_bsdf" /> | ||
</surface> | ||
<surface name="layer_surf" type="surfaceshader"> | ||
<input name="bsdf" type="BSDF" nodename="specular_layer" /> | ||
</surface> | ||
|
||
<surfacematerial name="diffuse_mat" type="material"> | ||
<input name="surfaceshader" type="surfaceshader" nodename="diffuse_surf" /> | ||
</surfacematerial> | ||
<surfacematerial name="specular_mat" type="material"> | ||
<input name="surfaceshader" type="surfaceshader" nodename="specular_surf" /> | ||
</surfacematerial> | ||
<surfacematerial name="layer_mat" type="material"> | ||
<input name="surfaceshader" type="surfaceshader" nodename="layer_surf" /> | ||
</surfacematerial> | ||
|
||
</materialx> |