diff --git a/docs/bake.feature b/docs/bake.feature index cd930acf..5918616c 100644 --- a/docs/bake.feature +++ b/docs/bake.feature @@ -212,12 +212,11 @@ Feature: Light baked by raea: bounce light into lightmaps on raea's own ray trac neglect) comes from the baked cause maps and the scene's settings, the same every frame, and bounces as any other albedo does. Only its per-frame layer over that (wx: wet, snow, storm, ice; season: damp, dust, leaves, melt) is not the surface's own, and the bake bounces it at the values the composition gives; with no weather given it - bakes dry (decided 11-23, with Shane; BK5's key) + bakes dry (decided 11-23; BK5's key) # Considered and not taken 11-23: drawing each material into the atlas in texture space, which would give a user's # shader too but needs a Bevy render in the bake. - # Not settled: wearShader with no weather draws day 172, so wx is all 0 but season's dust is 0.595. This file - # reads "dry" as wx 0 with the season as drawn, so the bounce matches the frame. A weather animated over frames - # would be a new key, so a new bake, each frame. + And the bounce matches the frame: the season's values are those wearShader draws, so "dry" is wx all 0 with the + season as drawn (with no weather given that is day 172, whose dust is 0.595, kept in the bake; decided 11-23) And the sky is the composition's panorama at its intensity and rotation; emissive surfaces light the set; the sun's direct light is left out at the first hit and kept at every later bounce (so a sunlit floor lights the ceiling), and a light marked `bake` is carried whole @@ -266,7 +265,12 @@ Feature: Light baked by raea: bounce light into lightmaps on raea's own ray trac parts stay parts: `raea scene lint`, `raea render --review` and `raea make` see each one, not one baked model And the key holds each worn material's wear settings (age: years, soot, upkeep), its cause maps and its weather and season values (wx, season), so each combination bakes once, when it's first used, and is kept; with no - weather given it bakes dry + weather given it bakes dry (wx 0, the season as wearShader draws it) + And a weather or season animated over the shot bakes once, at its values on the composition's first frame with the + in it, whichever frame is rendered first (so `render --at` and a full render read one bake and a + frame has one look); it isn't refused and isn't baked each frame, and the bake's report and `raea bake light` + name the values used and say the weather moves over the shot (decided 11-23) + # Not built, a later scenario: two bakes, at the start and the end of a weather change, mixed by its uniform. And a change to a static part, a material, the sky or a setting changes the key and bakes again; a change to anything outside (the camera, a moving part, the sun's direct light) doesn't And `raea bake light EDIT.tsx` bakes ahead of a render and says what it baked (meshes, texels, samples, time)