fix(render3d): the meadow is vegetation, and still water reads as water
Two changes that have been sitting uncommitted in this checkout, gathered as a recovery point before the next run of work. grass.vert: the blade existence gate tested green DOMINANCE - g - max(r, b) - which is a test for lush green and nothing else. A dry alpine meadow is yellow-green, its red as high as its green, so the meadow scored zero and was thinned to the floor - a QUARTER of the blades - on exactly the ground that should be thickest. Measured on Maroon's own ortho, g - max(r, b) reads +0.026 at the camp and -0.002 six hundred metres away, flipping between full density and a quarter over continuous meadow; g - b reads +0.076 and +0.014 and separates plant from rock and snow just as well, because rock and snow are neutral and vegetation is not. Bare ground in the near band went 82% -> 57% looking down. Blade height is biased short (h3 * h3) rather than spread evenly, so a meadow is a dense mat with taller stems out of it; an even spread read as a lawn that had been cut. water.frag: the planar reflection is returned at 0.72 of the scene's exposure rather than all of it, the fresnel mix caps at 0.70 rather than 0.86, absorption falls so the bed is visible through the surface at the angles a player stands at, and the ripple field is roughly halved - so a sheltered lake is one sheet of water with a mountain in it instead of open chop to the horizon. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
ae52e9c4da
commit
c5693db0e4
3 changed files with 63 additions and 13 deletions
12
changes/still-water.md
Normal file
12
changes/still-water.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
bump: patch
|
||||
type: fix
|
||||
Still water reads as water rather than polished metal. The planar reflection is
|
||||
returned at 0.72 of the scene's own exposure instead of all of it, the fresnel mix
|
||||
is capped at 0.70 rather than 0.86, and absorption falls from `(0.55, 0.24, 0.14)`
|
||||
to `(0.34, 0.15, 0.09)` per metre - so the bed is visible through the surface at the
|
||||
angles a player actually stands at, and a clear lake stops going opaque a metre and a
|
||||
half down. The ripple field is roughly halved and its normals flattened further
|
||||
(slope 0.26 -> 0.15), the reflection's ripple nudge halved with it, and the surface
|
||||
goes flat by 400 m rather than 600, so a sheltered lake is one sheet of water with a
|
||||
mountain in it instead of open chop to the horizon. Sun glitter and wind-streak foam
|
||||
come down to match.
|
||||
Loading…
Add table
Add a link
Reference in a new issue