diff options
Diffstat (limited to 'src/Runtime/ogl-runtime/res/effectlib/perlinNoiseTexture.glsllib')
m--------- | src/Runtime/ogl-runtime | 0 | ||||
-rw-r--r-- | src/Runtime/ogl-runtime/res/effectlib/perlinNoiseTexture.glsllib | 11 |
2 files changed, 0 insertions, 11 deletions
diff --git a/src/Runtime/ogl-runtime b/src/Runtime/ogl-runtime new file mode 160000 +Subproject 2025912174c4cf99270b7439ec3b021e1d089ae diff --git a/src/Runtime/ogl-runtime/res/effectlib/perlinNoiseTexture.glsllib b/src/Runtime/ogl-runtime/res/effectlib/perlinNoiseTexture.glsllib deleted file mode 100644 index d968403e..00000000 --- a/src/Runtime/ogl-runtime/res/effectlib/perlinNoiseTexture.glsllib +++ /dev/null @@ -1,11 +0,0 @@ -texture_return perlinNoiseTexture( in texture_coordinate_info uvw, in vec3 color1, in vec3 color2, in float size, in bool applyMarble, in bool applyDent - , in float noisePhase, in int noiseLevels, in bool absoluteNoise, in vec3 noiseDistortion - , in float noiseThresholdHigh, in float noiseThresholdLow, in float noiseBands ) -{ - float noise = perlinNoise( uvw.position / size, noisePhase, noiseLevels, noiseDistortion, absoluteNoise - , applyMarble, applyDent, noiseBands, noiseThresholdLow, noiseThresholdHigh ); - texture_return tr; - tr.tint = mix( color1, color2, noise ); - tr.mono = average( tr.tint ); - return( tr ); -} |