Ratatoskr/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nibu 9b4d92c9de
Some checks failed
Build pull request / Build pull request (pull_request) Has been cancelled
scene: terrain mesh as fine as the height map it is shaded from, cavity read bilinear
Phone shots of 'terrain · low' showed hard-edged facets on the near ground and stepped crests. Cause: the grid
(192 quads low, 256 full, 7 m wide at the nearest ground) was coarser than the 2.9 m height texels the fragment
shader reads its normals from, so gullies the polygons could not carry showed as hard shading edges. Measured by
rendering the low tier at 192..384 quads against a 768-quad reference: mean abs error 1.7 / 1.1 / 0.7 / 0.5 on
the day frame at 192 / 256 / 320 / 384; the warp's shape barely moved it.

- GRID: still 192, low 320, full 384; a test holds every tier to a quad of at most two texels at the nearest ground
  the camera sees, and the tiers ordered by cost. The low triangle ceiling goes from 80k to 210k (205k used),
  unmeasured on a phone.
- cavity: the shader read it from the nearest texel (blocks of one texel); it is now bilinear (hBil) at a continuous
  position, with a CPU twin (bilinearHeight, curvatureAt, cavityAt, CAVITY) and a test that shading is continuous
  across texel borders where the nearest-texel read jumps.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 15:19:14 +00:00
..
app scene: terrain mesh as fine as the height map it is shaded from, cavity read bilinear 2026-11-09 15:19:14 +00:00
client client: nudge sync on resume so a backgrounded tab stops waiting out the 30 s poll 2026-11-03 12:01:38 +00:00
preview-demo preview: portrait thumbs at 480px (were 160px), long-post demo fixtures 2026-11-07 19:50:59 +00:00
sky scene: terrain haze is aerial perspective from a baked Hillaire camera volume 2026-11-08 18:16:47 +00:00
types auth: a room's notice is a state event (org.gamecult.notice), not a pinned message 2026-11-06 23:30:54 +00:00
util Remove unused javascript (#2470) 2025-08-29 19:34:52 +10:00
colors.css.ts sky: Midnight Sky and Noonday Sky baked from sun.js (albedo x irradiance) 2026-11-06 20:57:31 +00:00
config.css.ts fix font-weight in dark theme with unsupported fonts (#1964) 2024-09-22 22:31:32 +10:00
ext.d.ts feat: URL navigation in auth (#1603) 2024-01-21 18:20:56 +05:30
gamecult.css.ts chat look: the three-doors mock-up in the bubble layout 2026-11-05 10:49:54 +00:00
index.css sky: Midnight Sky and Noonday Sky baked from sun.js (albedo x irradiance) 2026-11-06 20:57:31 +00:00
index.tsx preview-demo: seed settings before the settings module reads them, short banner, quick first poll 2026-11-07 18:57:07 +00:00
sky.css.ts sky: Midnight Sky and Noonday Sky baked from sun.js (albedo x irradiance) 2026-11-06 20:57:31 +00:00
sw-session.ts Post session info to service worker instead of asking from sw (#2605) 2026-02-14 17:11:36 +11:00
sw.ts Request session info from sw if missing (#2664) 2026-02-21 17:51:27 +11:00