mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-06 08:46:06 -10:00
BK5: what dry means, and animated weather bakes once
The bounce matches the frame, so dry keeps the season's drawn values. Weather animated over a shot bakes at the composition's first frame with the <LightBake>, whichever is rendered first, and the report says so. Blending two bakes is not built.
This commit is contained in:
1 parent
f5280de0d7
commit
a2dc602be2
1 file changed
+9
-5
+9
-5
@@ -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 <Environment> 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
|
||||
<LightBake> 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 <LightBake> (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)
|
||||
|
||||
Reference in new issue
Block a user