forked from AcademySoftwareFoundation/MaterialX
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge update from dev to shaderx (#237)
- Loading branch information
1 parent
14ccfa1
commit 2db0bee
Showing
25 changed files
with
2,017 additions
and
394 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
documents/Libraries/stdlib/genosl/mx_acescg_to_linear_color4.osl
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
4 changes: 2 additions & 2 deletions
4
documents/Libraries/stdlib/genosl/mx_gamma18_to_linear_color4.osl
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,5 +1,5 @@ | ||
void mx_gamma18_to_linear_color4(color4 _in, output color4 result) | ||
{ | ||
color4 gamma = color4(1.8, 1.8, 1.8, 1.); | ||
result = pow( max( color4(0., 0., 0., 0.), _in ), gamma ); | ||
color4 gamma = color4(color(1.8, 1.8, 1.8), 1.); | ||
result = pow( max( color4(color(0., 0., 0.), 0.), _in ), gamma ); | ||
} |
4 changes: 2 additions & 2 deletions
4
documents/Libraries/stdlib/genosl/mx_gamma22_to_linear_color4.osl
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,5 +1,5 @@ | ||
void mx_gamma22_to_linear_color4(color4 _in, output color4 result) | ||
{ | ||
color4 gamma = color4(2.2, 2.2, 2.2, 1.); | ||
result = pow( max( color4(0., 0., 0., 0.), _in ), gamma ); | ||
color4 gamma = color4(color(2.2, 2.2, 2.2), 1.); | ||
result = pow( max( color4(color(0., 0., 0.), 0.), _in ), gamma ); | ||
} |
4 changes: 2 additions & 2 deletions
4
documents/Libraries/stdlib/genosl/mx_gamma24_to_linear_color4.osl
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,5 +1,5 @@ | ||
void mx_gamma24_to_linear_color4(color4 _in, output color4 result) | ||
{ | ||
color4 gamma = color4(2.4, 2.4, 2.4, 1.); | ||
result = pow( max( color4(0., 0., 0., 0.), _in ), gamma ); | ||
color4 gamma = color4(color(2.4, 2.4, 2.4), 1.); | ||
result = pow( max( color4(color(0., 0., 0.), 0.), _in ), gamma ); | ||
} |
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
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.