Created
September 23, 2019 14:30
-
-
Save AlainBarrios/8f27fd25532e0eccd322ab9cf09f018d to your computer and use it in GitHub Desktop.
fog
This file contains hidden or 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
float fog(vec2 coord, float multiplier){ | |
vec2 newCoord = coord * multiplier; | |
float motion = fbm(newCoord + vec2(uTime * -.5, uTime * -.5) ); | |
return fbm(newCoord + motion); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment