Created
November 5, 2020 04:36
-
-
Save gonnavis/d9fd7ba1416426c12103f738cad60eaf to your computer and use it in GitHub Desktop.
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
vec3 hash3( float n ){ | |
// http://glslsandbox.com/e#61476.1 | |
return fract(sin(vec3(n,n+1.0,n+2.0))*vec3(43758.5453123,22578.1459123,19642.3490423)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment