bevyengine / bevyengine/bevy

UI components not respecting RenderLayers

Open
#6,069 6 comments 5 reactions 0 assignees View on GitHub
A-Rendering C-Bug
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

The visibility of UI entities like text is not affected by the `RenderLayers` component. This is a problem when trying to prerender a scene with `RenderTarget::Image` to use it as a mesh texture (the game UI will also be visible on the texture).

Is there a way to make UI components respect `RenderLayers`?

Contributor guide

Open the contributing guide

Research direction

The issue concerns UI entities such as text, the RenderLayers component, and RenderTarget::Image scene prerendering. Start by tracing how UI visibility is handled during image rendering; done means UI components respect RenderLayers so unrelated game UI is excluded from a mesh texture, with coverage for that use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics, game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.