developer
2023-05-20 e12c7b4c22df631ebdcd16b2f98fbef8f738f92f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#import "GPUImageFilter.h"
 
/*
 * The haze filter can be used to add or remove haze (similar to a UV filter)
 * 
 * @author Alaric Cole
 * @creationDate 03/10/12
 *
 */
 
/** The haze filter can be used to add or remove haze
 
 This is similar to a UV filter
 */
@interface GPUImageHazeFilter : GPUImageFilter
{
    GLint distanceUniform;
    GLint slopeUniform;
}
 
/** Strength of the color applied. Default 0. Values between -.3 and .3 are best
 */
@property(readwrite, nonatomic) CGFloat distance; 
 
/** Amount of color change. Default 0. Values between -.3 and .3 are best
 */
@property(readwrite, nonatomic) CGFloat slope;
 
@end