Repository navigation
Aktis v0.1.0
First release, a beta: every planned milestone (M1–M8) is done. Tested by hand on macOS
(Apple Silicon); Windows is built and tested in CI but not yet smoke-tested by hand.
Highlights
- Worlds: opens Java Edition 26.3 saves from the vanilla launcher or Prism Launcher,
with the instance's resource packs stacked on top of your own client jar (no Mojang
assets are shipped). - Preview: a rasterized fly-through of the selected area, with water, lava, paintings,
item frames and display entities. - Path Tracer: progressive GPU path tracing with a Preetham sky and sun, LabPBR
normal and specular maps, glowing blocks as lights, refracting water, height fog with
light shafts, and Open Image Denoise. - Shader Pack: OptiFine/Iris packs run outside the game, compiled for Metal and
DX12/Vulkan, shadows and custom textures included. BSL and Complementary Reimagined
render. - Animation: a keyframe timeline for the camera, sun, sky and fog, real-time
playback with the camera path drawn, project files (*.aktis.toml), a render queue,
PNG sequences and MP4/MOV video through your own ffmpeg. - Big worlds: a memory budget that lowers the detail radius to fit, one geometry
copy per engine in use, far terrain out to 512 chunks in every engine (through
Distant Horizons programs in shader packs), and a detail area that follows the camera.
Known limitations
- Windows: not smoke-tested by hand. Binaries aren't signed or notarized (on macOS,
right-click → Open the first time). - Fixed plains biome tint; no block entities (chests, signs, …) or mobs.
- Shader packs: pack defaults only (no options UI); no compute passes, raw custom textures,
clouds/weather/particle/entity programs; far terrain casts no shadow (dh_shadowisn't
run). - Far terrain is a heightfield: no overhangs, caves, entities or biome tints far away.
- No headless rendering, 16-bit PNG/EXR, motion blur or animated block textures.
Added
-
Re-centring: when the camera flies more than half the detail radius from the centre, a new
detail area (and its far terrain) loads around it in the background and replaces the old
one, keeping the view (about half a second at detail 8 / far 128 on the test save). Not
during playback or render jobs, or when the Project panel's Centre is custom. The Loaded
box shows the current centre. -
Far terrain in shader packs: packs with Distant Horizons programs (BSL, Complementary)
draw the far terrain withdh_terrain/dh_water, compiled withDISTANT_HORIZONSand
given thedh*uniforms,dhMaterialIdand DH depth textures, so their fog, water and
composites treat it as they do with the Distant Horizons mod. Packs without those programs
show no far terrain, and the Render panel says so. Far terrain casts no shadow in shader
packs yet. -
Far terrain in the path tracer: the far columns are traced as a heightfield after the
detail area, so they show in the path view (with the sun's shadows, sky light and
bounces, and water that reflects and absorbs) and the albedo view (matching the preview).
Radius 128 on the test save adds 6.8 MiB on the GPU; the path view takes about twice as
long per sample when far terrain fills the view. -
Far terrain in the preview: beyond the detail radius, out to the new Far radius
(Project panel, default 64 chunks, up to 512;--far-radius;far_radiusin project
files, missing = none), the terrain is drawn as coloured block columns that get coarser
with distance, with water over the sea floor. It meets the detail area without a gap and
counts towards the memory estimate (radius 128 on the test save: 0.15 s to read, 43 MiB
on the GPU). -
Far-terrain colours (not drawn yet):
aktis_render::lod::LodPalettegives every block
state one colour, the mean of its top texture (tinted), with water, waterlogged plants
and snowy blocks handled. -
Far-terrain data (not drawn yet):
aktis_world::lodreads one column (top block and,
under water, the ground) per 1–16 blocks square from the chunks' saved heightmaps, in
rings that get coarser with distance. The whole 26.3 test save reads in 0.13 s into
4.8 MiB; columns match the full block data exactly. -
Memory budget (Project panel, Auto = half of your RAM, or a number of GB; also
memory_budget_gbin project files and--memory-budget): before loading, Aktis counts
the chunks the save really has around the centre and estimates the load's peak memory for
the engine in use. If it's over the budget, a smaller radius loads and the app says so
("Radius lowered from 64 to 21 to fit the 4.0 GB memory budget."); the panel shows the
estimate and warns before Load. Queued jobs follow it too. Running out of GPU memory
while uploading a world now disables that engine with a message instead of crashing. -
Opt-in benchmark
m8_big_world: time and memory of each load stage (chunks, assets,
mesh, quad grid, preview, path-tracer and shader-pack uploads) and of freeing them, with
the macOS process footprint split into malloc and GPU; byte counts
BlockGrid::heap_bytes,WorldMesh::heap_bytes,PackMesh::heap_bytesand
ShaderPackRenderer::world_gpu_bytes. Results indocs/subsystems/far-terrain.md→
"Measurements". -
Big worlds (M8) design:
docs/subsystems/far-terrain.md(detail area plus a far-terrain
heightfield in LOD rings for every engine, a memory budget, one geometry copy per engine
in use, re-centring), ADRs 0019 and 0020, the plannedfar_radiusand
memory_budget_gbproject-file fields inscene.md, baseline load times and memory on
the 26.3 test save, and the M8 task list in the roadmap. No code yet. -
Animation performance notes: frame times per engine at 1080p, encode times and the
shader-pack warm-up check (docs/subsystems/animation.md→ "Performance"), from a new
opt-in benchmark. -
Video: animation jobs can write MP4 (H.264 or H.265) or MOV (ProRes 422 HQ) through your
own ffmpeg, found on PATH or in the usual install folders (or chosen in the Output
section). Frames render first, then ffmpeg encodes them with BT.709 colour; the frames
are deleted unless Keep frames is on. A failed encode shows ffmpeg's message and offers
Encode again. -
Render queue: "Add animation…" and "Add still…" in the Render queue tab queue a snapshot
of the project; Start renders the jobs one after another at the output resolution to
numbered PNG files, loading each job's world and shader pack as needed, with
Pause/Resume, Cancel, progress, time left and a log line per frame. Jobs can be
reordered, duplicated, run again, removed or opened as a project. The queue is saved
with the app; an interrupted job resumes, skipping frames already on disk, and quitting
while it runs asks first. The viewport shows the frame being rendered meanwhile. -
Output resolution: an Output section with presets (720p to 4K) or a custom size. With
Render size "Output" (the default) the viewport renders at that resolution, fitted
inside a frame guide, and Save PNG saves that size; "Viewport" keeps the old behaviour.
Custom and hand-edited sizes are rounded to even numbers. -
Orbit helper: "Orbit…" in the timeline header writes camera keys around a circle (centre,
radius, height, start angle, turns either way, start and duration; starting where the
camera is) plus a Look at key on the centre, replacing keys in that range. One undo step. -
Timeline playback: Play/Pause (header button or K) and Loop play the in/out range in
real time, dropping frames rather than slowing down. The path tracer shows the preview
while playing; shader packs follow the playhead's time even when stopped. The preview
draws the camera path with its keys while the Timeline tab is open, and the viewport
darkens what lies outside the output's aspect (frame guide). -
Undo and redo: an Edit menu with Undo (Cmd/Ctrl-Z) and Redo (Shift-Cmd/Ctrl-Z) for scene
and timeline edits, up to 100 steps. A drag or slider pull is one step; flying the camera
isn't recorded. New and Open clear the history. -
Timeline key editing: click, Shift-click and box selection; drag keys (snapped to
frames, Alt for free); Delete; Cmd/Ctrl-C and -V to copy and paste keys at the playhead
(also between projects); right-click to change a key's mode or turn on Constant speed. -
Timeline panel: a bottom panel with Timeline and Render queue tabs. The dope sheet lists
Camera, Sun, Sky and Fog values with a stopwatch, value fields and ◀ ◆ ▶ each, a time
ruler with the playhead, and key diamonds shaped by mode. With a stopwatch on, changes
set a key at the playhead; the fly camera never does and offers "Key camera" instead. -
Frame clock for animation (
FrameInput::clock): each path-traced animation frame gets
its own noise (still images are unchanged), and shader packs getframeTimeCounter,
frameTimeand real previous-frame matrices on consecutive frames, so their waves,
clouds, TAA and motion blur can follow the timeline. The viewport passes the playhead's
clock. -
Project files: a File menu with New, Open…, Save and Save As… (Cmd/Ctrl-N, -O, -S,
Shift-Cmd/Ctrl-S) reads and writes*.aktis.toml(world, packs, engine, scene,
timeline, output). The title shows the file and•for unsaved changes; New and Open
ask before discarding them. A project whose world is missing opens with notes and keeps
its timeline. -
Keyframe timeline model (
aktis_scene::timeline): one track per animatable scene value,
key modes step/linear/smooth/ease, angles taking the shorter way round, a centripetal
Catmull-Rom camera path with optional constant speed, Look at, and[timeline]TOML.
Not in the app yet. -
Camera roll:
[camera] rollin degrees (default 0; positive turns the camera clockwise),
a Roll slider in the Camera panel, applied by the preview, the path tracer and shader
packs. Old scene files load level. -
Animation (M7) design:
docs/subsystems/animation.md(per-property keyframe tracks,
camera paths, timeline panel, playback, output, ffmpeg video, render queue), ADR 0018,
the planned*.aktis.tomlproject-file format inscene.md, and the M7 task list in the
roadmap. No code yet. -
Shader-pack shadow pass: packs with a
shadowprogram draw the world into a shadow map
(shadowtex0/shadowtex1,shadowcolor0–7with their formats and clears,
shadowMapResolution,shadowDistance,shadowIntervalSize) before the frame, so BSL
and Complementary render shadows. -
Shader-pack shadow filtering: with
shadowHardwareFilteringon, shadow compares
(shadow2D,textureon asampler2DShadow) blend four compares as GL's linear filter
does, so shadow edges are soft. Set per pack through a pipeline constant (ADR 0017).
shadowtexNearestturns it off.shadowcoloris sampled linear unless
shadowcolorNNearestis set. -
Shader-pack custom textures:
texture.<stage>.<sampler>,customTexture.<name>and
texture.noisePNGs, sampled with the filtering their.mcmetagives. Complementary's
clouds take their real shape. Raw and resource-location textures are logged as
unsupported. -
Shader-pack per-buffer blends:
blend.<program>.<buffer>. -
Cargo workspace with crates
aktis-assets,aktis-world,aktis-scene,aktis-render,
aktis-pt,aktis-spandaktis-app. -
RenderEnginetrait with stub Path Tracer and Shader Pack engines. -
Scene data (camera, sun, sky, fog) with a TOML format.
-
Resource location parsing and resource-pack priority stack.
-
Minecraft install discovery for the vanilla launcher and Prism Launcher: lists instances,
their version, client jar, saves and resource packs (aktis_assets::install). -
Reading asset files from the client jar and resource packs (zip or folder), highest-priority
source first, with listing andpack.mcmetadescriptions (AssetStack::read,list). -
Blockstate parsing (
variantsandmultipart, includingOR/AND/negated conditions) and
model selection with deterministic per-position weighted picks (BlockStateDef). -
Block model resolution and baking: parent chains, texture variables, elements with face,
element and blockstate rotations,uvlock, tints, cullfaces and the 26.x model additions
(texture objects, free/multi-axis element rotation,shade_direction_override,
light_emission) (ModelBaker). -
Block texture array: loads referenced textures (first animation frame), scales them to one
layer size, builds linear-light mips and classifies alpha as opaque/cutout/translucent
(TextureArray). -
World loading for 26.3 saves:
level.dat(name, version, spawn), 26.x dimension folders,
region files and section palettes (26.x and older forms) into a sparse block grid for a
selection; only fully generated chunks are loaded (World::load). -
CPU meshing: per-section opaque/cutout/translucent vertex data from a block grid,
with neighbour face culling, fixed plains tints, shading normals and emitted light
(aktis_render::mesh). -
BlockStateDef::selectandSelectedfor position-independent weighted model lists;
BlockGrid::set. -
Rasterized preview engine (
PreviewRenderer): uploads a meshed world and its texture array
and renders it with per-face shading, sun diffuse, alpha-tested and blended passes, reverse-Z
depth and a sky colour into an offscreen texture (ADR 0006). -
RenderEngine::output()andEngineOutput;RenderError::DeviceLimit/Gpu; RGBA8
texture readback (aktis_render::readback). -
Camera::forward(),Camera::right()andSun::direction()with documented conventions. -
Progressive engines:
RenderEngine::reset()andprogress()(Progress). The viewport
keeps adding sample passes while a progressive engine is selected and shows the preview
while the camera moves. -
Path-tracer acceleration structure (
aktis_pt::accel::QuadGrid): the preview's quads sorted
into an 8³-brick grid, with a CPU reference ray traversal (front/both faces, alpha-test
callback, preview-matching ties for coplanar faces) (ADR 0007). -
Path Tracer engine on the GPU (
aktis_pt::PathTracer): uploads the quad grid and block
textures and traces it in a compute shader. Its albedo view matches the preview pixel for
pixel on test blocks; select "Path Tracer" in the Render panel (the preview is shown while
the camera moves). The engine choice is saved. -
Path-traced view (the Path Tracer's default): sunlight with shadow rays, a constant sky,
diffuse bounces with Russian roulette, anti-aliasing; samples accumulate over frames
(progress in the viewport) and are tonemapped with exposure and an ACES curve (ADR 0008).
The albedo view remains as a debug view; View and Exposure controls in the Render panel. -
Preetham daylight sky for the path tracer: sky colour and brightness from the sun's
position and haze, sunlight dimmed and reddened by the atmosphere, a visible sun disk and
soft shadows from its size; fades to black after sunset. -
The path tracer splits each pass into bands of rows (at most ~524 k pixels each, one GPU
submission per band), so large images don't trip the Windows GPU watchdog. -
Opt-in path-tracer benchmark on a generated world (
AKTIS_BENCH=1, no game assets needed)
and path-view timing in the real-world test. -
Path-tracer controls in the Render panel: samples target, bounces, a progress bar with
render time and ms per sample, Pause/Resume, Restart and "Continue ×2"; view, samples and
bounces are remembered between runs. -
PNG export: "Save PNG…" in the Render panel saves the selected engine's current image at
the viewport's size (aktis_render::export);EngineOutputnow carries its texture. -
Path-tracer materials: cutout textures (leaves, flowers) let light through their holes for
shadows and bounces; translucent blocks (glass, water) are partly see-through and tint the
light and shadows behind them; emissive surfaces (lava) glow and light their surroundings. -
camera.exposure(EV),sun.angular_diameterandsky.turbidityin the scene format;
Size and Haze sliders in the Sun panel. -
Shared block texture upload (
aktis_render::textures). -
Shared camera math (
aktis_render::camera::CameraRig): view/projection matrices and primary
rays from the same camera, used by every engine. -
egui application shell (
aktis). -
Viewer:
aktis --jar <client.jar> --world <save> [--radius N] [--center x,z]loads the
area around spawn on a background thread and shows it in the preview viewport; fly camera
(WASD, Space/Shift, Ctrl to sprint, right-drag to look, scroll for speed), frame-rate
readout and world stats. The app requests the adapter's full wgpu limits so large block
texture arrays fit. -
Project panel: choose a Minecraft instance (auto-discovered or an added folder via a native
dialog) and a world, set the selection centre, chunk radius and Y range, then load in the
background with progress and Cancel. Choices, camera, sun and fly speed are saved, and the
last world reopens on start. -
Simple water and lava in the preview: fluid blocks, waterlogged blocks and seagrass/kelp get
a box with a level-based surface height; water is translucent and tinted, lava is opaque and
glows. -
Resource packs on top of the client jar:
AssetStack::open(jar, packs)and
aktis --pack <path>(repeatable, later packs win). Packs that can't be opened are left
out; packs made for another game version are used with a warning (pack formats from
pack.mcmetavs. the jar'sversion.json). The "Loaded" box lists the packs and warnings. -
Resource Packs section in the project panel: enable packs from the instance's
resourcepacks/or add any zip/folder, order them (top wins), see each pack's description
and a warning for missing or other-version packs, and Apply them to the world on screen
(keeps the camera and reuses the loaded blocks instead of reading chunks again). Choices
are saved per instance. -
"Max texture size" in the Resource Packs section (16–512 px, default 128): high-resolution
pack textures are scaled down to it to bound GPU memory, with a memory estimate; the
"Loaded" box shows the texture array's size and memory (ADR 0009). -
LabPBR maps:
<texture>_n.png(normal, AO, height) and<texture>_s.png(smoothness,
F0/metals, porosity/SSS, emission) from resource packs are loaded into arrays aligned with
the block textures, with defaults for textures without maps and decoders following LabPBR
1.3 (aktis_assets::decode_normal,decode_specular). The "Loaded" box counts the maps.
The path tracer binds them, and two debug views ("Normal map", "Specular map") show the
stored texels of the surface under each pixel. -
Normal mapping in the path tracer: LabPBR normal maps tilt how surfaces catch sunlight and
scatter bounced light (aktis_pt::shadingholds the tangent-frame math, mirrored in the
shader). Worlds without maps render exactly as before. -
Specular materials in the path tracer from LabPBR specular maps: smoothness, dielectric
reflectance, the eight LabPBR metals (exact conductor Fresnel) and albedo-coloured metals,
with sharp sun reflections on smooth surfaces (GGX, Smith, Fresnel, multiple importance
sampling;aktis_pt::brdf, ADR 0010). -
Emission maps in the path tracer: the LabPBR specular map's alpha makes texels glow; a
block glows with the brighter of its light level and its map (aktis_pt::color::emission). -
"PBR materials" checkbox in the path tracer's settings: switches the LabPBR maps on and off
without reloading (off renders like a world without maps); saved with the other settings
and disabled when the loaded packs have no maps (PathTracerSettings::pbr). -
Milestone M3 (PBR & packs) is complete: tested with a real LabPBR pack and smoke-tested on
macOS. -
Denoiser features in the path tracer: every path pass also accumulates the first surface's
albedo (a metal's reflectance, tinted by glass in front) and shading normal, the inputs
Intel Open Image Denoise will take (PathTracer::read_features,aktis_pt::Features).
Two new views, "Albedo AOV" and "Normal AOV", show them. -
aktis_render::readback::read_buffercopies a GPU buffer to the CPU. -
Optional
denoiseCargo feature that links Intel Open Image Denoise 2.5.1
(aktis_pt::denoise; the app logs whether the denoiser works at start-up), with
scripts/fetch-oidn.shto download the pinned official package and
scripts/bundle-oidn.shto ship it. Release archives are built with the feature and carry
the OIDN libraries and licences (ADR 0011). CI also builds and tests with the feature; the
release workflow can be run by hand as a dry run that publishes nothing. -
Denoising in the path tracer (with the
denoisefeature): the path view's colour and
features are read back (PathTracer::denoise_input), denoised by OIDN on the CPU on the
calling thread or a worker thread (aktis_pt::denoise::{denoise, Denoiser}), and shown
tonemapped (PathTracer::show_denoised,show_raw). Results for an image that has moved
on are ignored. A 1280×720 image takes about 150 ms. -
Blocks that glow by their block state now glow in the path tracer and look bright in the
preview: glowstone, sea lanterns, torches, lanterns, froglights, lit furnaces, redstone
lamps and torches, campfires, candles (by count), sea pickles under water, respawn anchors
and more (aktis_render::mesh::light_level, Aktis's own table of the documented levels). -
Glowing blocks are sampled as lights in the path tracer: each surface sends a shadow ray to
a point on a glowing quad picked by its power, combined with bounce hits by multiple
importance sampling (ADR 0012). Lamps, torches and lava light their surroundings with far
less noise (12× lower error in a test at 16 spp); scenes with glowing blocks take about a
third longer per sample. -
Water and lava surfaces slope: each top corner's height comes from the fluid around it, so
flowing water runs down from its source in a continuous surface, dips at drops and rises
to meet water above (both engines). The path tracer traces such non-flat faces as two
triangles, split exactly as the preview draws them (ADR 0007 addendum). -
Real water in the path tracer: water surfaces reflect and refract (index 1.33, Fresnel),
water absorbs light with depth so shallows are clear and deep water turns blue, the
camera can be under water, and sunlight and lamps reach under water through the surface
(ADR 0013). Water's vanilla texture is no longer used by the path tracer. -
Entity reading:
World::load_entitiesreads paintings, item frames, glow item frames and
block/item display entities (position, rotation, variant, facing, item, block state,
transformation, billboard) from the world's entity region files, including riders, in both
the 26.x and older NBT spellings. -
Item models: item definitions (
items/<id>.json: model, composite, condition, select,
range dispatch) with layer tints, modeldisplaytransforms, andbuiltin/generated
sprites extruded into 1/16-thick 3D models (ItemDefinition,ModelBaker::bake_item).
Special renderers (chests, banners, heads, shields, shulker boxes…) are reported, not
drawn. -
Paintings, item frames and glow item frames (with their item), block displays and item
displays are drawn in the preview and the path tracer. Glowing blocks shown by block
displays light their surroundings. Maps in frames show the map item, not the map picture;
billboarded displays don't turn to the camera. -
Height fog: new scene fields
fog.height_falloff,base_height,colorandanisotropy
next todensity, and a Fog panel. The path tracer scatters light in the fog (haze, light
shafts, fog shadows, glow around the sun and lamps); the preview fades to the fog colour.
Old scene files load without fog. -
Denoise controls in the Render panel (builds with the
denoisefeature): Denoise on/off,
denoise automatically when finished, Denoised / Raw switch, Denoise now (when finished or
paused) and a status line; saved between runs. Save PNG… saves the denoised image when it
is shown (denoising first if needed) and suggests a… denoised.pngname. The overlay
says "· denoised". -
The opt-in real-world path-tracer test (
pt_real.rs) takes resource packs and a texture
size cap, and with LabPBR maps also times and saves the path view with PBR off and the map
views. Real-world and real-pack timings are in the path-tracer docs. It also meshes the
selection's entities, takes a camera (AKTIS_TEST_CAMERA) and, built withdenoise,
times denoising a 64-spp image; end-of-M4 numbers are in the path-tracer docs. -
Documentation system (
docs/),CLAUDE.mdagent guide, and ADRs 0001–0005. -
GitHub Actions: CI on macOS and Windows, docs check, tag-based releases; Dependabot.
-
Shader-pack census test (
aktis-sp/tests/pack_census.rs, opt-in with
AKTIS_TEST_SHADERPACK): everyworld0stage of a pack through glslang → naga → MSL and
HLSL, plus BSL'sgbuffers_terrainas a GPU render pipeline (M5 spike; BSL v10.1.8: 59 of
63 stages compile with the spike patch). -
Shader-pack loading (
aktis_sp::ShaderPack): zip or folder packs, dimension folders,
option discovery, preprocessedshaders.properties(program enables, custom uniforms),
programs with their fallbacks, and the macros Iris defines (MC_VERSION260300 for 26.3). -
Shader-pack program compiler (
aktis_sp::ProgramCompiler): directive comments, glslang
preprocessing, a token patcher from legacy to core GLSL (ADR 0014), SPIR-V and validated
naga modules with one layout per program (uniform block offsets, texture/sampler bindings,
vertex input and varying locations, draw buffers, consts). BSL v10.1.8: every program of
its default pipeline compiles; errors name the pack file and line. -
Saved block and sky light (
BlockGrid::light):BlockLight/SkyLightof every section
of the loaded chunks, with rules for the arrays the game leaves out;LoadStats::unlit
counts chunks saved without light. -
Shader-pack geometry: the mesher records each quad's block (
QuadOrigin); a 2D block
atlas with per-tile mips and LabPBR atlases (aktis_sp::atlas);block.propertiesblock
ids (aktis_sp::block_ids); pack vertices with Iris's terrain attributes, saved light and
block ids (aktis_sp::geometry, ADR 0015). -
Shader-pack uniforms (
aktis_sp::uniforms): ~100 built-ins computed from the scene
(camera, sun on the game's daily arc, still-image time and weather, saved light at the
eye), per-draw matrices, the custom-uniform expression language ofshaders.properties,
and std140 block writing by name (ADR 0016). Terraingl_Vertexis camera-relative, as in
Iris. -
Shader-pack pipeline runner (
aktis_sp::runner::ShaderPackRenderer): colour buffers
with pack formats, Iris's clears and main/alt ping-pong, history buffers, depth copies,
terrain (with the cutout alpha test) → deferred → water → composite → final → upright
output; blend and alpha-test properties,texture.noise, a generated lightmap and
shadow stand-ins. BSL's whole default pipeline builds and runs. -
Shader-pack sky: the sky disc, stars, sun and moon for
gbuffers_skybasicand
gbuffers_skytextured, with the sun and moon textures from the client jar (26.x
celestial/and older layouts). BSL draws its sky, clouds and sun. -
Shader packs in the app: Render → Shader Pack with a pack picker per instance (its
shaderpacks/plus added packs), Rescan, Reload, build status and a Problems list. Packs
compile on a worker thread while the preview shows; the view is live while moving and
renders 16 warm-up frames when still; Save PNG… saves the pack's image.--shaderpack <path>renders with a pack for one run. -
RenderEngine::warm_upfor real-time engines with a warm-up;ShaderPackEngineis a
working engine;aktis_sp::find_packs. -
Opt-in real-world shader-pack test (
aktis-sp/tests/pack_real.rs): renders a save with a
pack and saves a PNG. BSL v10.1.8 renders the scene recognizably by day and night.
Changed
- The Project panel's Radius is now Detail radius; the budget message says "Detail
radius lowered…". - Water at the edge of the selection no longer dips: blocks past the edge count as
unknown rather than air when shaping the water surface. - The Project panel's warning above radius 32 is replaced by the memory estimate.
- Shader packs need much less memory on big worlds: pack vertices are 44 bytes instead of
52 (mc_Entityandat_midBlockare stored as integers; packs still read the exact
values), and the world is turned into pack vertices and uploaded section by section
instead of all at once. Radius 64 on the test save with BSL: 5.6 GiB instead of
13.4 GiB, the build no longer peaks at 18.6 GiB, and it takes ~5 s instead of ~6–7 s. - Worlds load faster: chunks are parsed in parallel (radius 64 on the test save: 0.66 s →
0.25 s), with the same result as before. - Only the engine in use keeps world geometry on the GPU (ADR 0020): a load builds the
mesh and quad grid only for the Preview / Path Tracer engines, the CPU mesh isn't kept
(shader-pack builds mesh on their own thread), and switching engine frees the old
engine's geometry and builds the new one's in the background ("Building the world's
geometry for this engine…"). Radius 64 on the test save: 6.2 GiB instead of 14 GiB
with BSL. The Loaded box shows Preview, Path tracer and Shader pack memory separately. - Meshing drops the vertex lists' spare capacity (the CPU mesh is ~30 % smaller).
- "Preparing …" no longer claims the preview is shown meanwhile (the Shader Pack
engine keeps no preview geometry). - The Render panel's shader-pack hover texts no longer say packs have no shadows.
- Shader packs get the game's fog colour as
fogColor(and colortex0's clear): plains fog
#C0D8FF, moved towards the sky colour at short render distances. It used to be the sky
colour, so terrain that Complementary fades out at the render-distance edge stood out
against the sky below the horizon. BSL's horizon is paler, as in game. - Shader packs:
modfandfrexp, Iris's core uniforms and attributes used without a
declaration, andgl_VertexID/gl_InstanceIDnow compile. Every enabled Complementary
program except the Distant Horizons ones compiles, including its clouds pass. - Shader packs: textures a program never uses are dropped, and textures sampled the same
way share one sampler, so packs that declare many textures fit Metal's 16 samplers per
stage. Complementary Reimagined now builds and draws terrain (no clouds or shadows yet);
BSL's image is unchanged. - Roadmap: M6 (shader-pack compatibility) planned and started; the shader-pack
compatibility table records Complementary r5.10's census in detail. - README and docs: M5 status (BSL renders), shader-pack performance and compatibility table.
- Shader packs sample the block atlas raw (gamma-encoded), like the game's textures, instead
of as sRGB (packs linearize it themselves). - Shader-pack geometry pulls atlas UVs 1/16 px into their tile, so faces no longer
sample the neighbouring texture at their edges. - Roadmap: M4 and M5 (shader packs MVP) marked done.
AssetStack::pushnow opens the source and returns aResult.- README: current status (M1–M4 done) and feature list instead of the M0 placeholder.
World::opennow readslevel.datand fails on a corrupt one.- The default camera pitch is now +20 (looking slightly down) instead of −20 (up).
- Mesh vertices are now 16 bytes with section-local positions and no index data (half the
memory).
Fixed
- The app's saved state (
app.ron) never restored: the timeline'sin/outfailed to
decode from RON, so every start fell back to the defaults (engine, shader pack choices,
scene, timeline, queue…). Saved states written by earlier builds now restore too. - The shader-pack status reports 0 s compiling when the compiled pack is reused (it showed
the few nanoseconds the reuse took), as documented. - A shader pack whose programs need more samplers per stage than the GPU allows (16 on
Metal; Complementary needs 24) crashed in wgpu; those programs are now skipped and listed
as problems. - Shader-pack buffers with formats that have no alpha (
RGB16F,R11F_G11F_B10F, …) kept
an alpha channel; they now read alpha 1, as in the game. - Cargo no longer warns about the unused
workspace.package.homepagefield (it duplicated
repositoryand no crate inherited it). - The opt-in real-model test (
model_real.rs) failed on resource packs that ship a stray
blockstate for a block the game doesn't have; such blockstates are now reported only. - The opt-in real-world path-tracer test compared the path view instead of the albedo view
with the preview (broken since the path view became the default). - Blocks saved in their default state (26.x stores them as a bare name without properties)
were invisible: grass blocks, logs, deepslate, tall plants and more. Missing properties now
get default values before the model is chosen (BlockStateDef::fill_defaults). - The grass block's green side overlay (and other faces drawn over a coplanar face) was
hidden by the depth test. - Right-drag look left the cursor wherever the mouse ended up, often at the window edge; the
cursor is now hidden and held in place during the drag and reappears where it started. - The app viewport showed the preview too dark and saturated (sRGB decoded twice); egui now
gets a non-sRGB view of the output. - Model faces whose
textureomits the#(vanillaheavy_core) now resolve as texture
variables instead of as a texture namedminecraft:all.