The '''BlurMaterial''' Component is used to blur objects rendered behind it, by first rendering everything behind it using z-test and then grabbing the pixels, then creating spread transparent ghost images of the original pixels to give the illusion of blur.
|SpreadMagnitudeTexture|{{RootFieldType|AssetRef`1|[[Type:ITexture2D|ITexture2D]]}}|TypeAdv12=true| A texture to use that affects the strength of the blur effect.
|UsePoissonDisc|Bool|
|UsePoissonDisc|Bool|
|DepthFadeDivisor|Float|
|DepthFadeDivisor|Float|
|SpreadTextureScale|Float2|
|SpreadTextureScale|Float2| The uv scale of the <code>SpreadMagnitudeTexture</code>
|SpreadTextureOffset|Float2|
|SpreadTextureOffset|Float2| The uv offset of the <code>SpreadMagnitudeTexture</code>
|Refract|Bool|
|Refract|Bool|
|RefractionStrength|Float|
|RefractionStrength|Float|
Line 33:
Line 33:
|NormalTextureScale|Float2|
|NormalTextureScale|Float2|
|NormalTextureOffset|Float2|
|NormalTextureOffset|Float2|
|PerObject|Bool|
|PerObject|Bool| Whether to do the effect per object rather than to the entire image grab pass done by the shader by default.
The BlurMaterial Component is used to blur objects rendered behind it, by first rendering everything behind it using z-test and then grabbing the pixels, then creating spread transparent ghost images of the original pixels to give the illusion of blur.
If true, integrating this asset (e.g. processing procedural assets) gets higher priority than assets with this flag off. An example is user laser procedural meshes.
The Stencil ID of this material. This is sometimes written to the frame buffer's Stencil mask, or used to determine whether this material should render for a particular pixel.
does a Bitwise AND with this number for every pixel in the frame buffer this is rendering on top of when this object is drawn, after reading from the buffer.