Last active
August 21, 2023 15:15
-
-
Save ChrisHinde/2d35ebe5c3ea129f4310f00f335e1247 to your computer and use it in GitHub Desktop.
Black and White Cell noise 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
shader NoiseGrid( | |
point proj = point(u, v, 0) [[string label = "Projection"]], | |
float scale=20 [[string label = "Scale", float min=0.001, float max=1000, float sliderexponent=2]], | |
float utime=1 [[string label = "Time", float min=0.001, float max=1000, float sliderexponent=2]], | |
output color c = 0 | |
) | |
{ | |
c = cellnoise(proj * scale, utime); | |
c = color(c[0], c[0], c[0]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment