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
21 changed files
with
95,708 additions
and
15,054 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,5 @@ | |
shader/unused | ||
*.tx | ||
*.tex | ||
mayaProject/images/tmp | ||
shader/maya/images/tmp | ||
.mayaSwatches |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
11,537 changes: 5,840 additions & 5,697 deletions
11,537
mayaProject/scenes/leafVase.ma → shader/maya/scenes/leafVase.ma
Large diffs are not rendered by default.
Oops, something went wrong.
11,471 changes: 5,793 additions & 5,678 deletions
11,471
mayaProject/scenes/leafVaseExport.ma → shader/maya/scenes/leafVaseExport.ma
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
7,404 changes: 3,749 additions & 3,655 deletions
7,404
mayaProject/scenes/shaderBallsArnold.ma → shader/maya/scenes/shaderBallsArnold.ma
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[node hSurface] | ||
maya.name STRING "hSurface" | ||
maya.name STRING "hSurface" | ||
|
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 |
---|---|---|
@@ -1,10 +1,38 @@ | ||
|
||
shader hSurface( | ||
color diffuseColor = color(.25, .25, .25), | ||
float diffuseMultiplier = 1.0, | ||
float diffuseRoughness = 0.0, | ||
output closure color result = 0 | ||
shader hSurface | ||
[[ | ||
string maya_classification = "surface", string niceName = "Haggi's Surfaceshader", string maya_typeID = "0x0011CF56", // 3delight metadata | ||
string as_node_name = "hSurface", int as_maya_type_id = 0x0011CF56, string as_maya_classification = "drawdb/shader/surface:shader/surface" // appleseed metadata | ||
]] | ||
( | ||
color diffuseColor = color(.25, .25, .25) | ||
[[ | ||
string as_maya_attribute_name = "diffuseColor", | ||
string as_maya_attribute_short_name = "dfc", | ||
string label = "Diffuse Color", | ||
string page = "Diffuse" | ||
]], | ||
float diffuseMultiplier = 1.0 | ||
[[ | ||
string as_maya_attribute_name = "diffuseMultiplier", | ||
string as_maya_attribute_short_name = "dfm", | ||
string label = "Diffuse Multiplier", | ||
float min = 0.0, | ||
float softMax = 1.0, | ||
string page = "Diffuse" | ||
]], | ||
float diffuseRoughness = 0.0 | ||
[[ | ||
string as_maya_attribute_name = "diffuseRoughness", | ||
string as_maya_attribute_short_name = "dfr", | ||
string label = "Diffuse Roughness", | ||
float min = 0.0, | ||
float max = 1.0, | ||
string page = "Diffuse" | ||
]], | ||
|
||
output closure color outColor = 0 // output has to be called outColor for 3delight to avoid crash | ||
) | ||
{ | ||
result = diffuse(N) * diffuseMultiplier * diffuseColor; | ||
outColor = oren_nayar(N, diffuseRoughness) * diffuseMultiplier * diffuseColor; | ||
} |
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
File renamed without changes.
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