UnrealBloomPass class
UnrealBloomPass is inspired by the bloom pass of Unreal Engine. It creates a mip map chain of bloom textures and blurs them with different radii. Because of the weighted combination of mips, and because larger blurs are done on higher mips, this effect provides good quality and performance.
Reference:
Constructors
- UnrealBloomPass(Vector2? resolution, num? strength, double radius, double threshold)
Properties
- basic ↔ MeshBasicMaterial
-
getter/setter pair
-
bloomTintColors
↔ List<
Vector3> -
getter/setter pair
- clearColor ↔ Color
-
getter/setter pair
- compositeMaterial ↔ ShaderMaterial
-
getter/setter pair
-
copyUniforms
↔ Map<
String, dynamic> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
highPassUniforms
↔ Map<
String, dynamic> -
getter/setter pair
- materialCopy ↔ ShaderMaterial
-
getter/setter pair
- materialHighPassFilter ↔ ShaderMaterial
-
getter/setter pair
- nMips ↔ num
-
getter/setter pair
- oldClearAlpha ↔ num
-
getter/setter pair
- oldClearColor ↔ Color
-
getter/setter pair
- radius ↔ double
-
getter/setter pair
- renderTargetBright ↔ WebGLRenderTarget
-
getter/setter pair
-
renderTargetsHorizontal
↔ List<
WebGLRenderTarget> -
getter/setter pair
-
renderTargetsVertical
↔ List<
WebGLRenderTarget> -
getter/setter pair
- resolution ↔ Vector2
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
separableBlurMaterials
↔ List<
ShaderMaterial> -
getter/setter pair
- strength ↔ num
-
getter/setter pair
- threshold ↔ double
-
getter/setter pair
Methods
-
dispose(
) → dynamic -
getCompositeMaterial(
dynamic nMips) → dynamic -
getSeperableBlurMaterial(
dynamic kernelRadius) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
dynamic renderer, dynamic writeBuffer, dynamic readBuffer, {num? deltaTime, bool? maskActive}) → dynamic -
setSize(
int width, int height) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- BlurDirectionX ↔ Vector2
-
getter/setter pair
- BlurDirectionY ↔ Vector2
-
getter/setter pair