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.
Stubs for OSL and MDL turbulence noise
Stubs for implementation of: - turbulence2d_float - turbulence3d_float in OSL and MDL. Currently returning a solid color. This is just to check the build warnings.
- Loading branch information
Showing
4 changed files
with
16 additions
and
0 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
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: 4 additions & 0 deletions
4
contrib/adsk/libraries/adsklib/genosl/mx_turbulence2d_float.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
void mx_turbulence2d_float(float amplitude, float octaves, vector2 texcoord, output float result) | ||
{ | ||
result = 0.5; | ||
} |
4 changes: 4 additions & 0 deletions
4
contrib/adsk/libraries/adsklib/genosl/mx_turbulence3d_float.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
void mx_turbulence3d_float(float amplitude, float octaves, vector position, output float result) | ||
{ | ||
result = 0.5; | ||
} |