This website requires JavaScript.
Explore
Help
Register
Sign In
hyzboy
/
RuntimeData
Watch
1
Star
0
Fork
0
You've already forked RuntimeData
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
RuntimeData
/
shader
/
Random.glsl
5 lines
101 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
分类shader
2020-05-28 23:19:05 +08:00
float random(vec2 _uv)
first commit
2020-04-07 19:00:37 +08:00
{
分类shader
2020-05-28 23:19:05 +08:00
return fract(sin(dot(_uv.xy, vec2(12.9898, 78.233) ) ) * 43758.5453);
first commit
2020-04-07 19:00:37 +08:00
}
Reference in New Issue
Copy Permalink