Legacy bump presets (brightness, darkness, woodgrain, ...) #19

Closed
opened 2026-09-27 05:23:30 +00:00 by sky_line · 2 comments
Owner

Legacy bumpmap presets missing. Brightness/darkness need locally generated textures fed to the bindless table. See §2.11.

Source: research/vk_parity_audit.md (static audit, not yet runtime-verified).

Legacy bumpmap presets missing. Brightness/darkness need locally generated textures fed to the bindless table. See §2.11. Source: research/vk_parity_audit.md (static audit, not yet runtime-verified).
sky_line added this to the VK parity milestone 2026-09-27 05:23:30 +00:00
sky_line added this to the Slipstream project 2026-10-06 15:04:15 +00:00
Author
Owner

Implemented 2026-10-10 (commits bfced209c7, 2c7008b42e).

Legacy bump presets now render under VK:

  • Codes 1–17 are gated as LL's use_legacy_bump does: not on glTF faces, faces with their own normal map, alpha-blend, fullbright or HUD.
  • Brightness/darkness come from the diffuse luminance; Woodgrain, Bark, Bricks and the rest come from the std_bump.ini height textures, using the same 4-tap normal generation LL baked.
  • Covered in the lit pass, the AO normal pre-pass and RT hits.
  • Changing Bumpiness re-ingests the face.

Deviations: no fullbright emboss; HUD faces get no bump.

Test:

  1. Woodgrain / Bark / Bricks / Weave on a plain cube in sun.
  2. Brightness vs Darkness inverts the relief.
  3. Switching Bumpiness updates immediately.
  4. Shiny + bump highlights follow the bump.
  5. A face with its own normal map, or a transparent face, ignores Bumpiness.
  6. RT reflections and shadows on a bumped wall look plausible.
Implemented 2026-10-10 (commits bfced209c7, 2c7008b42e). Legacy bump presets now render under VK: - Codes 1–17 are gated as LL's `use_legacy_bump` does: not on glTF faces, faces with their own normal map, alpha-blend, fullbright or HUD. - Brightness/darkness come from the diffuse luminance; Woodgrain, Bark, Bricks and the rest come from the `std_bump.ini` height textures, using the same 4-tap normal generation LL baked. - Covered in the lit pass, the AO normal pre-pass and RT hits. - Changing Bumpiness re-ingests the face. Deviations: no fullbright emboss; HUD faces get no bump. Test: 1. Woodgrain / Bark / Bricks / Weave on a plain cube in sun. 2. Brightness vs Darkness inverts the relief. 3. Switching Bumpiness updates immediately. 4. Shiny + bump highlights follow the bump. 5. A face with its own normal map, or a transparent face, ignores Bumpiness. 6. RT reflections and shadows on a bumped wall look plausible.
Author
Owner

Shipped in a published release and tested; closing (testing-lane sweep 2026-10-11).

Shipped in a published release and tested; closing (testing-lane sweep 2026-10-11).
sky_line 2026-10-11 13:24:45 +00: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
sky_line/Slipstream#19
No description provided.