Gradient
SHADER TYPE: Gradient
A color type that can be used to create a transition from one color to another. The transition can be either linear or radial.
Parameter: | Explanation: | Default value: | Possible values: |
Size | Scale factor | 1 | |
Style (0/1) | Type of transition (linear/radial) | 0 | |
Direction | Direction of transition in degrees | 0 | |
Color 1 | Color 1 | (255,255,255) | All RGB values |
Color 2 | Color 2 | (0,0,0) | All RGB values |
Size: 1 Style (0/1): 0 Direction: 0 Color 1: (255,255,255) Color 2: (0,0,0) |
Size: 1000 Style (0/1): 0 Direction: 0 Color 1: (255,255,255) Color 2: (0,0,0) |
Size: 1000 Style (0/1): 0 Direction: 90 Color 1: (255,255,255) Color 2: (0,0,0) |
Size: 1200 Style (0/1): 1 Direction: 0 Color 1: (255,255,255) Color 2: (0,0,0) |
Size: 1200 Style (0/1): 1 Direction: 0 Color 1: (0,0,255) Color 2: (0,0,0) |