DevIL Documentation | Home | Previous | Next |
The iluNoisify function adds noise to an image.
ILboolean iluNoisify(
ILclampf Factor
);
iluNoisify adds Factor amount of random noise to an image. Factor can range from 0.0f to 1.0f, with 1.0 being extreme noise and 0.0 being no noise.
ILU_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function.