Created
March 23, 2026 13:19
-
-
Save fernoe1/da70d597aaf6f01f02a4eb819cf0674f to your computer and use it in GitHub Desktop.
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 random2D(vec2 value) { | |
| return fract(sin(dot(value.xy, vec2(12.9898,78.233))) * 43758.5453123); | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Returns value from 0.0 to 1.0