google / google/filament

Bloom gets stretched when the destination rendertarget isn't a multiple of 16

Open
#8,373 0 comments 0 reactions 1 assignee Claimed by @pixelflinger View on GitHub
Dominant language
C++
Stars
20.5k
Forks
2.3k
Avg merge
2d 13h
Merged PRs (30d)
90

Description

**Describe the bug**
The bloom buffer gets stretched when the view resolution isn't a multiple of 16

**To Reproduce**
Steps to reproduce the behavior:
1. launch gltf-viewer, enable flare to make it more apparent, then slowly resize the width of the window. every 16 pixels, the bloom will snap into place and be stretched in the intermediate resolutions.

**Expected behavior**
Bloom should scale appropriately with the view resolution

**Screenshots**
Here's a video:

https://github.com/user-attachments/assets/4257831c-31cf-4076-ad4a-e0fcbaaf3ad7

**Logs**
none

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- GPU: NVIDIA RTX 3060TI
- Backend: OpenGL

**Additional context**

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.