playcanvas / playcanvas/engine

Add a size/scatter parameter to CameraFrame.bloom

Open
#8,427 0 comments 1 reaction 1 assignee View on GitHub

@mvaligursky is already working on this.

Since Jan 30, 2026.

Dominant language
JavaScript
Stars
16.8k
Forks
2k
Avg merge
4h 32m
Merged PRs (30d)
222

Description

The current implementation of Bloom has two parameters: intensity and blurLevel. They both have their purpose. However, I lack the ability to adjust the bloom size. While blurLevel could be used for such purposes, it feels more like a quality setting, i.e. how many iterations of blur. If I make the bloom "smaller" by lowering blurLevel, there's a sharp cutoff where the bloom ends.

Example of PlayCanvas Bloom, intensity set to 0.02 and blurLevel set to 5 (please look at the image against a dark background if using github in light mode, otherwise the cutoff is hard to see):

Image

Unity has settings for Intensity and Scatter (i.e. size). Unreal also has settings for Intensity, and either Size for standard bloom or Scatter for convolution bloom. Below are screenshots of Unity's Bloom:

High Intensity, Low Scatter Low Intensity, High Scatter
Image Image

I'd love to see such a size parameter added to the built-in bloom. You want to be able to control Intensity, Size, and BlurLevel independently.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.