sampler2d_channel_linear_transform
sampler2d_channel_linear_transform(output, input, output_channel_index, input_channel_index, gradient, intercept)
Applies a linear polynomial transform to each value of a given channel
Kind: global function
Param | Type |
---|---|
output | Sampler2D |
input | Sampler2D |
output_channel_index | number |
input_channel_index | number |
gradient | number |
intercept | number |