Mojira Archive
MCM-1744

Blending entity materials stop rendering when visible geometry bounds are positioned off-screen

Partner Rank: 2 (Important)

Verification Builds: latest release 1.20.60, latest preview 1.20.70.22

Regression Builds: 1.20.40

Summary: Entity materials with Blending pipeline state stop rendering when entity geometry visible bounds (visible_bounds fields in geometry file) are off-screen, despite having "should_update_bones_and_effects_offscreen": true in the client entity file. Previously, this property would guarantee rendering of any materials even when geometry bounds were positioned off-screen.

Impact: We constantly utilize entities with geometry that extends far beyond geometry bounds for various effects, decorative entities or otherwise large objects, and we use should_update_bones_and_effects_offscreen property to guarantee rendering even when visible bounds are off-screen. This behavior cannot be replicated by extending geometry bounds, as they have a hardcoded limit which doesn't go far enough to cover full entity rendering distance range. Having this rendering limitation forces us to use uncomfortable or less performant workarounds, such as splitting geometry between multiple entities or artificially limiting player movement range to make sure that geometry bounds are always within view frustum.

Repro Steps:

  1. Create a new world with enabled cheats, behavior and resource packs from attached add-on
  2. Summon example entity with command: /summon bug:culling_bug
  3. Optionally (only on partner builds) run /bounds to visualize geometry bounds
  4. Observe how geometry renders under different angles, when geometry bounds appear or disappear from camera view

Observed Results: See attached video. When visible geometry bounds (small red cube on the ground underneath entity model) goes outside of camera view, cube with blending material disappears while a cube with opaque material remains visible.

Expected Results: Both materials will remain visible when visible geometry bounds are off-screen.

Notes: N/A

Unresolved

Veka0

2024-02-10, 05:54 PM

2024-02-14, 09:25 PM

1

1

-

-