-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
7 changed files
with
76 additions
and
8 deletions.
There are no files selected for viewing
Binary file added
BIN
+272 KB
.../integrationTests/UsdPreviewSurface/SimpleMetalMaterial/SimpleMetalMaterial.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions
25
src/crayg/integrationTests/UsdPreviewSurface/SimpleMetalMaterial/SimpleMetalMaterial.usda
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,25 @@ | ||
#usda 1.0 | ||
( | ||
subLayers = [ | ||
@./../_base_scene/_base_scene.usda@ | ||
] | ||
) | ||
|
||
|
||
|
||
over "Knob" | ||
{ | ||
over "Looks" | ||
{ | ||
over "MaterialUnderTestSG" | ||
{ | ||
over "MaterialUnderTest" | ||
{ | ||
color3f inputs:diffuseColor = (0.5,0.5,0.5) | ||
color3f inputs:specularColor = (0.95, 0.95, 0.95) | ||
int inputs:useSpecularWorkflow = 0 | ||
float inputs:metallic = 1 | ||
} | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ struct Lobe { | |
}; | ||
|
||
struct Lobes { | ||
Lobe metallic; | ||
Lobe specular; | ||
Lobe diffuse; | ||
}; | ||
|
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