Small noise / random function in GLSL: varying vec3 v; float rand(vec2 n) { return 0.5 + 0.5 * fract(sin(dot(n.xy, vec2(12.9898, ...
確定! 回上一頁