ApproximateGaussianBlur
Approximate separated Gaussian blur, in a horizontal and a vertical pass. The sigma can vary per pixel by sigmaScale, a preset that both passes read, for example from a texture:
blur.sigmaScale = TextureScalar(depthOfField) // sharp where the red channel is 0Content copied to clipboard
A sigma of 0 leaves the image as it is.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Scale of the sigma, can vary per pixel, for example with TextureScalar(map). The default is a ConstantScalar of 1.0.