Skip to content

Minecraft: Java Edition 26.3 rewritten from scratch in Rust, checked against vanilla with 281 differential harnesses. Get it with the Horizon launcher.

Merge pull request #6457 from some-du6e/optifine/etf-blocks-glow

Ludovic Marie901a47524c9a
diff --cc crates/horizon-client-render/src/entity.wgsl
index 8490eb0f0,f6d125197..6dab91ac1
--- a/crates/horizon-client-render/src/entity.wgsl
+++ b/crates/horizon-client-render/src/entity.wgsl
@@@ -22,9 -22,9 +22,9 @@@ struct Globals
outline_params: vec4<f32>,
// Horizon Extras' dynamic lights: camera-relative position and level (dynamic_light.rs).
dynamic_lights: array<vec4<f32>, 16>,
- colored_lights: array<array<vec4<f32>, 2>, 16>,
+ colored_lights: array<vec4<f32>, 32>,
colored_count: vec4<u32>,
- emissive_layers: array<vec4<u32>, 32>,
+ emissive_layers: array<vec4<u32>, 128>,
emissive_count: vec4<u32>,
sunrise_fan: array<vec4<f32>, 32>,
filtering: vec4<f32>,
diff --cc crates/horizon-client-render/src/terrain.wgsl
index 343e1cf54,cc95930cc..6b990664e
--- a/crates/horizon-client-render/src/terrain.wgsl
+++ b/crates/horizon-client-render/src/terrain.wgsl
@@@ -24,9 -24,9 +24,9 @@@ struct Globals
outline_params: vec4<f32>,
// Horizon Extras' dynamic lights: camera-relative position and level (dynamic_light.rs).
dynamic_lights: array<vec4<f32>, 16>,
- colored_lights: array<array<vec4<f32>, 2>, 16>,
+ colored_lights: array<vec4<f32>, 32>,
colored_count: vec4<u32>,
- emissive_layers: array<vec4<u32>, 32>,
+ emissive_layers: array<vec4<u32>, 128>,
emissive_count: vec4<u32>,
// The sunrise fan's 16 triangles (gfx/sunrise_fan.rs): xyz the apex weight's normal, w the
// triangle's volume with the camera; then each rim vertex's normal against the apex.