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.
Add versioning for the changes to standard_surface
- Loading branch information
1 parent
8df6338
commit 1cd76f5
Showing
2 changed files
with
345 additions
and
5 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
30 changes: 30 additions & 0 deletions
30
resources/Materials/Examples/StandardSurface/standard_surface_emission.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,30 @@ | ||
<?xml version="1.0"?> | ||
<materialx version="1.38" colorspace="lin_rec709"> | ||
|
||
<standard_surface name="SR_emission" type="surfaceshader"> | ||
<input name="base" type="float" value="0.0" /> | ||
<input name="specular" type="float" value="0.0" /> | ||
<input name="coat" type="float" value="1.0" /> | ||
<input name="coat_color" type="color3" value="1, 1, 1" /> | ||
<input name="coat_IOR" type="float" value="1.3" /> | ||
<input name="emission" type="float" value="1" /> | ||
<input name="emission_color" type="color3" value="1, 0, 0" /> | ||
</standard_surface> | ||
<surfacematerial name="Emission" type="material"> | ||
<input name="surfaceshader" type="surfaceshader" nodename="SR_emission" /> | ||
</surfacematerial> | ||
|
||
<standard_surface name="SR_emission_old" type="surfaceshader" version="1.0.1"> | ||
<input name="base" type="float" value="0.0" /> | ||
<input name="specular" type="float" value="0.0" /> | ||
<input name="coat" type="float" value="1.0" /> | ||
<input name="coat_color" type="color3" value="1, 1, 1" /> | ||
<input name="coat_IOR" type="float" value="1.3" /> | ||
<input name="emission" type="float" value="1" /> | ||
<input name="emission_color" type="color3" value="1, 0, 0" /> | ||
</standard_surface> | ||
<surfacematerial name="EmissionOld" type="material"> | ||
<input name="surfaceshader" type="surfaceshader" nodename="SR_emission_old" /> | ||
</surfacematerial> | ||
|
||
</materialx> |