google / google/filament

Bloom effect in translucent views

Open
#5,655 1 comment 0 reactions 1 assignee Claimed by @pixelflinger View on GitHub
Dominant language
C++
Stars
20.5k
Forks
2.3k
Avg merge
2d 14h
Merged PRs (30d)
83

Description

In translucent views bloom effect is presented only over the rendered pixels. E.g. scene contains only one bright small sphere and the sphere is rendered in upper half of the viewport. No other renderables, no skybox, view is translucent. It's expected shine near the sphere and lens flares in lower half of the viewport.

If viewport is opaque then bloom effect works as expected.

I'm sure that bloom effect in translucent views have to be blended with the render target's content in entire viewport.

I've tested it on Android 12, Filament 1.22.2, 1.23.1.

![Image_1654619255128](https://user-images.githubusercontent.com/63736629/172434469-a75c7cec-5f1f-4f60-abe9-6e2d656fe8e6.jpg)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.