Skip to content

feature: Render distant beacon beams#513

Open
njlent wants to merge 1 commit into
MCRcortex:devfrom
njlent:dev
Open

feature: Render distant beacon beams#513
njlent wants to merge 1 commit into
MCRcortex:devfrom
njlent:dev

Conversation

@njlent
Copy link
Copy Markdown

@njlent njlent commented May 8, 2026

Adds optional distant beacon beam rendering for Voxy-rendered worlds.

  • Detects beacon blocks from stored level-0 sections and renders their beams beyond vanilla render distance.
  • Adds a settings toggle: Render beacon beams at any distance.
  • Renders beams in the Voxy pass with depth testing so terrain/walls can occlude them.
  • Tracks dirty section updates so changed chunks can add/remove distant beams without restarting.
  • Preserves vanilla-like beam dimensions and colour sampling from the first stained glass beam block above the beacon. all values configurable in code.

The feature is contained in BeaconBeamRenderer, wired through a small after-translucent render hook in AbstractRenderPipeline.

Beacon discovery scans exact stored sections off the render thread and caches compact beam records. The render thread only uploads cached geometry when the viewport base section changes or the cache is marked dirty.

The renderer intentionally avoids changing mip generation, block mapping, or vanilla beacon renderer behavior.

The distant beam width uses vanilla beam radii near the player, with moderated distance scaling so beams remain legible at extreme Voxy distances without becoming overly thick.

@njlent njlent changed the title feat: render distant beacon beams feature: Render distant beacon beams May 8, 2026
@njlent njlent marked this pull request as draft May 8, 2026 17:43
@njlent
Copy link
Copy Markdown
Author

njlent commented May 8, 2026

it seems to have some issues on multiplayer and some shaders, ill work on it further

@njlent njlent marked this pull request as ready for review May 8, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant