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:

Inheritance

Constructors

UnrealBloomPass(Vector2? resolution, num? strength, double radius, double threshold)

Properties

basic ↔ MeshBasicMaterial
getter/setter pair
bloomTintColors List<Vector3>
getter/setter pair
camera ↔ Camera
getter/setter pairinherited
clear bool
getter/setter pairinherited
clearColor ↔ Color
getter/setter pair
compositeMaterial ↔ ShaderMaterial
getter/setter pair
copyUniforms Map<String, dynamic>
getter/setter pair
enabled bool
getter/setter pairinherited
fsQuad FullScreenQuad
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
highPassUniforms Map<String, dynamic>
getter/setter pair
material ↔ Material
getter/setter pairinherited
materialCopy ↔ ShaderMaterial
getter/setter pair
materialHighPassFilter ↔ ShaderMaterial
getter/setter pair
needsSwap bool
getter/setter pairinherited
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
renderToScreen bool
getter/setter pairinherited
resolution ↔ Vector2
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scene ↔ Object3D
getter/setter pairinherited
separableBlurMaterials List<ShaderMaterial>
getter/setter pair
strength num
getter/setter pair
threshold double
getter/setter pair
uniforms Map<String, dynamic>
getter/setter pairinherited

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
override
setProperty(String key, dynamic newValue) → dynamic
inherited
setSize(int width, int height) → dynamic
override
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