bevyengine / bevyengine/bevy

Add support for letterboxing

Open
#15,130 10 comments 2 reactions 0 assignees View on GitHub
A-Rendering C-Feature D-Modest S-Ready-For-Implementation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## What problem does this solve or what need does it fill?

Cutting off segments of the game screen using black bars (a letterbox) is a common technique for both cinematic cutscenes and for supporting unusual aspect ratios, particularly for pixel art.

## What solution would you like?

Expose a simple setting that sets the letterboxing mode, probably to Window or cameras.

## What alternative(s) have you considered?

Add an example demonstrating how to set this up manually, probably using render targets.

## Additional context

Discussed [on Discord](https://discordapp.com/channels/691052431525675048/1271949921708146770/1282845399669018675) in the context of pixel art games. Prompted by the closure of #14153.

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.