Water: name 12 of the water tile shader's parameter hashes #512
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!512
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-512"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-27 21:29 UTC · original
holdmysocks:water-slot-names→master· +16 −7 · 3 files · 2 commits · merged 2026-11-27 21:42 UTCNames 12 of the 45 unnamed shader parameter hashes of
water_micro_geom, the shader of every inland water tile.useflowmap,useheighttexture,usesurfacemapare integer flags. They are 1 on 952 tiles and 0 on the other 6, the tiles whose flow, height and surface textures are all 4 x 4 placeholders.watersurfacemaptexture(e0548ad3) is the per-tile BC7 texture thatusesurfacemapswitches on.surfacedetailfadenearandsurfacedetailfadefarare 500 and 1500.surfacedetailtintcoloura,surfacedetailtintcolourbandsurfacedetailtintmultiplierare float4 ones.usesurfacedetailmapis 0, which fits the surface detail textures being placeholders.surfacedetailcontrolis 0, andmicrogeomcontrolis 0, 1 or 4.inland.jsonnow lists the per-tile texture asshading.surface_map_textureinstead oftile_texture_e0548ad3. Its notes say the three flags are integers that read as 1.4e-45 as floats.Tests:
cargo check --workspace --all-targetsandcargo test -p sixng-core -p sixng-gui --releasepass. The--inlandexport was run on the real install: all 958 tiles list the surface map.