![]() |
![]()
| ![]() |
![]()
NAMErandom_surface - Generate a pseudo-random image surface. SYNOPSISvid
DESCRIPTIONThis function is used to create pseudorandom noise textures, a useful building block in many graphics effects. If no method or an unknown one is specified, it will default to 1 channel randomness from the global csprng, duplicated into the RGB channels of a RGBA destination buffer (A=fully opaque). The other methods, uniform-3 and uniform-4 work similarly, but have different values in 3 or all 4 channels. FBM creates fractal noise by adding multiple octaves of perlin noise together. EXAMPLEfunction random_surface0()
|