[PR #7057] [MERGED] Clear stale client2-005.tsv rows main already implements #7303

Closed
opened 2026-11-03 06:37:26 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7057
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: chore/ledger-client2-005-w


📝 Commits (1)

  • 39b5126 port map: improved transparency is ported in client2-005

📊 Changes

1 file changed (+9 additions, -9 deletions)

View changed files

📝 tools/port_map/client2-005.tsv (+9 -9)

📄 Description

tools/port_map/client2-005.tsv still said Improved Transparency was absent:
"no OIT pipelines or passes in Horizon". It is in
crates/horizon-client-render/src/gfx/oit.rs (the pipelines, the targets and
Oit::run, which draws the translucent layer once per stage and composites it),
in gfx/oit_features.rs (a kind's own pipelines for the same three stages) and
in gfx.rs::Renderer::draw_frame, which calls it in place of the classic blend.
The option is improved_transparency in options_file.rs, on the video settings
page, and the shaders are oit.wgsl, oit_world.wgsl, oit_features.wgsl,
oit_border.wgsl and oit_clouds.wgsl.

Verdicts corrected:

  • OitPipelineSet.getPipeline -> gfx/oit.rs::Oit::terrain: the terrain's
    pipeline for a stage; flat draws take Oit::flat(stage) and each feature kind
    its stage entry in oit_features::Features.
  • OitPipelineSet.Builder.composeModifiers -> gfx/oit_features.rs::Features::new:
    a kind's modifier is a field of its Kind (cull face, depth bias) applied when
    its three stage pipelines are made, not a chain of consumers.
  • OitPipelineSet.Builder.build -> gfx/oit.rs::Oit::new: the three stage
    pipelines for the terrain, the flat draws and the clouds, plus the cull and the
    composite pipeline, and the feature kinds.
  • OitRenderPassProvider.createRenderPass -> gfx/oit.rs::Oit::run: one pass per
    stage, over the world's depth read only, with that stage's targets and bind group.
  • OitRenderPassProvider.createDepthBoundsPass -> gfx/oit.rs::Oit::run:
    the depth bounds target cleared to -MAX as the colour, the world depth read only.
  • OitRenderPassProvider.createTransmittancePass -> gfx/oit.rs::Oit::run: the two
    coefficient targets cleared, the bounds texture bound as the sampler.
  • OitRenderPassProvider.createAccumulatePass -> gfx/oit.rs::Oit::run: the
    accumulation target cleared to transparent, the world depth read only.
  • PreparedRenderType.drawFromBufferOit -> gfx.rs::Renderer::draw_frame: the draw
    closure runs once per stage, flat draws taking oit.flat and the rest oit.terrain.

Note corrected:

  • RenderTypes.breezeWind: the breeze's wind layer does scroll now, by 0.02 of the
    texture a tick (mobs/render.rs::layers, scroll_offset and scroll_u), so the
    "does not scroll" gap is gone.

Left alone: the other 136 rows of the file, whose skips (the GUI draw queue, the
atlas rectangle packer, Rust ownership) and citations still hold.
EndCubeSpecialRenderer.Unbaked.bake is still missing: no bundled item uses the
end cube model and the EndCube arm of item_render/special.rs draws nothing.

python3 tools/port_ledger.py map-check tools/port_map/client2-005.tsv: 145 rows, no problems.

Proven: ledger built here from the 26.3 client and server jars at main; every
row's vanilla class, method and cited Rust fn resolve, and each claim is read from
the function the row names.

Not proven: no in-game look at improved transparency, on or off; ledger
verdicts, not behaviour changes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/7057 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/ledger-client2-005-w` --- ### 📝 Commits (1) - [`39b5126`](https://github.com/horizon-rust/horizon/commit/39b5126ed091aaebf3fba35396a141154a5e2608) port map: improved transparency is ported in client2-005 ### 📊 Changes **1 file changed** (+9 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client2-005.tsv` (+9 -9) </details> ### 📄 Description `tools/port_map/client2-005.tsv` still said Improved Transparency was absent: "no OIT pipelines or passes in Horizon". It is in `crates/horizon-client-render/src/gfx/oit.rs` (the pipelines, the targets and `Oit::run`, which draws the translucent layer once per stage and composites it), in `gfx/oit_features.rs` (a kind's own pipelines for the same three stages) and in `gfx.rs::Renderer::draw_frame`, which calls it in place of the classic blend. The option is `improved_transparency` in `options_file.rs`, on the video settings page, and the shaders are `oit.wgsl`, `oit_world.wgsl`, `oit_features.wgsl`, `oit_border.wgsl` and `oit_clouds.wgsl`. Verdicts corrected: - `OitPipelineSet.getPipeline` -> `gfx/oit.rs::Oit::terrain`: the terrain's pipeline for a stage; flat draws take `Oit::flat(stage)` and each feature kind its stage entry in `oit_features::Features`. - `OitPipelineSet.Builder.composeModifiers` -> `gfx/oit_features.rs::Features::new`: a kind's modifier is a field of its `Kind` (cull face, depth bias) applied when its three stage pipelines are made, not a chain of consumers. - `OitPipelineSet.Builder.build` -> `gfx/oit.rs::Oit::new`: the three stage pipelines for the terrain, the flat draws and the clouds, plus the cull and the composite pipeline, and the feature kinds. - `OitRenderPassProvider.createRenderPass` -> `gfx/oit.rs::Oit::run`: one pass per stage, over the world's depth read only, with that stage's targets and bind group. - `OitRenderPassProvider.createDepthBoundsPass` -> `gfx/oit.rs::Oit::run`: the depth bounds target cleared to `-MAX` as the colour, the world depth read only. - `OitRenderPassProvider.createTransmittancePass` -> `gfx/oit.rs::Oit::run`: the two coefficient targets cleared, the bounds texture bound as the sampler. - `OitRenderPassProvider.createAccumulatePass` -> `gfx/oit.rs::Oit::run`: the accumulation target cleared to transparent, the world depth read only. - `PreparedRenderType.drawFromBufferOit` -> `gfx.rs::Renderer::draw_frame`: the draw closure runs once per stage, flat draws taking `oit.flat` and the rest `oit.terrain`. Note corrected: - `RenderTypes.breezeWind`: the breeze's wind layer does scroll now, by 0.02 of the texture a tick (`mobs/render.rs::layers`, `scroll_offset` and `scroll_u`), so the "does not scroll" gap is gone. Left alone: the other 136 rows of the file, whose skips (the GUI draw queue, the atlas rectangle packer, Rust ownership) and citations still hold. `EndCubeSpecialRenderer.Unbaked.bake` is still `missing`: no bundled item uses the end cube model and the `EndCube` arm of `item_render/special.rs` draws nothing. `python3 tools/port_ledger.py map-check tools/port_map/client2-005.tsv`: `145 rows, no problems.` **Proven:** ledger built here from the 26.3 client and server jars at `main`; every row's vanilla class, method and cited Rust fn resolve, and each claim is read from the function the row names. **Not proven:** no in-game look at improved transparency, on or off; ledger verdicts, not behaviour changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:37:26 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#7303
No description provided.