Remaining work
This roadmap contains only unfinished work. Shipped behavior belongs in the API guides, production policies in the architecture, and completed investigations in the test index. Items below do not prescribe implementation order.
Material support
- Add Charlie-prefiltered environment sheen when a target experience needs sharp directional HDR fabric reflections. The current indirect sheen uses diffuse SH irradiance and directional albedo.
- Add glTF clearcoat support when a target experience requires layered finishes. Cover import, direct/environment shading, sample models and performance limits.
- Add transmission or other advanced glTF material extensions when needed. Define rendering/compositing and performance limits before implementation.
Rendering quality
- Explore antialiasing for model surfaces. Surfaces have no MSAA or supersampling, so model edges alias, most visibly on independent surfaces viewed up close at their fixed reference resolution. Compare quality, GPU time and buffer memory against raising
eyePixels; preserve stereo projection, depth cutouts, transparency and compositor buffer ownership.
Scripted experiences
- Add a line drawing API for scene-space lines and segments, such as strings, ropes, laser guides and measurement lines. Scripts can only draw lines on panel canvases today, so scene lines must be modelled as geometry.
- Define collider behavior for skeletal/morph deformation when experiences need it. Existing colliders remain rigid and use default-pose geometry; updating their shape with animation is not implemented.
Tracking and input
- Improve calibration tolerance to headset refits and accuracy outside the calibrated pose/angle coverage. The current head-relative affine correction does not adapt to a changed fit automatically.
- Expose hand skeletons, bare-hand optical tracking, eye openness or additional eye signals only when a usable backend supplies them.
- Evaluate documented controller-input alternatives that meet overlay input requirements and can replace dependence on the undocumented vrserver stream.
Deferred lighting features
- Extend directional shadows to cascades or automatic coverage only if fixed bounded coverage is insufficient. Preserve explicit memory/work/time budgets, stereo/alpha correctness, attachments and persistence.
- Design scalable light selection beyond the shared eight-light limit only when an intended scene requires it and profiling supports the design.
Measured performance work
These come from the demo measurements in demo-resource-usage.md and display-density-cap.md. With all eight demos the engine runs at about 48 FPS and total GPU busy is above 90% at the maximum clock, so gains need less GPU work. The device uses Zink on Turnip (no native freedreno GL in this Mesa build), and kernel tracing is on, so every GL call also costs a trace marker in Mesa's driver threads. Measure changes with tools/benchmark-demos.py --repeat 3 as the test guide describes.
- Reduce the remaining external-occluder depth cost. With all demos it was about half of the engine's GPU time per frame before clustered depth draws, which recovered about 40% of it (depth-clusters.md). Primitives under 4,096 triangles still draw whole, such as desk-toys' cradle balls; a 1,024-triangle threshold drew fewer triangles but measured slower. Instanced depth draws of repeated small occluders are a remaining candidate.
- Reduce compositor overlay cost. Grouping each demo's small objects cut compositor GPU busy by about six points, but the groups drew more pixels and used about 220 MiB more GPU memory, and some were limited by the group budget. Automatic grouping of objects under 0.6 m measured the same FPS with about 190 MiB more GPU memory (depth-clusters.md), because groups rendered more pixels than the members' independent crops.
- Reuse the shadow map when neither the light nor any caster moved, for static scenes. After per-view culling the pass costs 0.18 ms GPU per frame in lighting-studio (shadow-view-culling.md), whose turntable moves casters every frame; its GL state save measured 0.014 ms (gl-call-reduction.md).
Conditional performance work
These require new workload evidence, rather than being fixes ready to enable. Completed prototypes and rejected approaches are recorded in tests, not listed as open tasks here.
- Reduce dense high-triangle GPU cost when a representative scene establishes an actionable bottleneck. Require matched geometry, sampling density, external/member draw work and allocation budgets; preserve stereo projection, draw order, transparency and compositor buffer ownership.
- Extend PBR geometry acceleration beyond its current static indexing/cache/LOD paths only with measured benefit. Instancing must preserve filtered light sets, material/surface frames and object/part order; animated GPU paths must preserve normal/tangent deformation, bounds and exact picking.
- Move morph deformation to the GPU only when higher-detail morph workloads establish meaningful CPU deformation/refit cost.
- Consider GPU visibility/LOD selection only when CPU selection is a demonstrated bottleneck. Avoid synchronous readback and preserve one coherent object choice across eyes, surfaces and depth passes.
- Consider GPU physics only when CPU simulation remains a bottleneck after Jolt worker tuning. Account for contacts, queries, callbacks and synchronization.
- Shorten the remaining start stall. Starting lighting-studio still blocks every scene for about 1.9 s (model-loading.md), mostly MikkTSpace tangents for one 88.8k-triangle primitive and its PBR LOD. Options are cached tangents and levels (offline preprocessing) or evaluating a starting script and preparing its models off the frame loop; preserve material boundaries, UV quality, error limits, the full mesh and transactional loading.
- Extend stability checks to longer sessions or larger workloads as usage requires. Investigate allocation sites if live heap growth or memory pressure appears.