Skip to main content

Bloom

Represents a PostEffect specifically designed for the Bloom.

TypeNameInterface Description
VariablesanamorphicRatio: number

Function: Gets or sets the bloom anamorphic ratio. Stretches the glow horizontally or vertically. Range: [-1, 1].

Variablesclamp: number

Function: Gets or sets the bloom clamp value. Limits the maximum brightness of the glow. Range: [0, 65535].

Variablescolor: Color

Function: Gets or sets the bloom effect color, used to tint the glow.

Variablesdiffuse: number

Function: Gets or sets the bloom diffuse factor. Controls the blur radius of the glow. Range: [0, 10].

VariablesfastMode: boolean

Function: Gets whether fast mode is enabled. Improves performance at the cost of quality.

Variablesintensity: number

Function: Gets or sets the bloom effect intensity. Higher values make the glow stronger. 1–25 range typical.

VariablessoftKnee: number

Function: Gets or sets the bloom soft knee value. Smooths the transition around the threshold. Range: [0, 1].

Variablesthreshold: number

Function: Gets or sets the bloom threshold. Pixels brighter than this value will trigger the glow. Range: [0, 10].

Functionsconstructor()

Examples

constructor()

let obj = new APJS.Bloom();

Use Case

@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use Bloom here
}
onUpdate(deltaTime: number) {
}
}
Copyright © 2026 TikTok. All rights reserved.
About TikTokHelp CenterCareersContactLegalTerms of ServicePrivacy PolicyCookies