feat(world): depth-attenuated daylight and cold-water palette for the seabed
The seabed shader applies per-channel Beer-Lambert transmittance relative to a 24 m reference depth: the scalar part dims the directional light in a custom light() function and the sky ambient through AO, the chroma part tints the albedo, and artificial lights are left untouched for the submarine's projectors. Sky, fog and sun are cooled and the sun softened so the plateau reads green-blue, the canyon floor cold blue and the drop-off foot near-indigo. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
No files matched your search
|
Before Width: | Height: | Size: 547 KiB After Width: | Height: | Size: 446 KiB |
|
Before Width: | Height: | Size: 599 KiB After Width: | Height: | Size: 322 KiB |
|
Before Width: | Height: | Size: 610 KiB After Width: | Height: | Size: 420 KiB |
|
Before Width: | Height: | Size: 507 KiB After Width: | Height: | Size: 419 KiB |
|
Before Width: | Height: | Size: 449 KiB After Width: | Height: | Size: 410 KiB |
|
Before Width: | Height: | Size: 360 KiB After Width: | Height: | Size: 261 KiB |
@@ -257,6 +257,14 @@ de contacts existant les sépare du fond.
|
||||
plus haute et plus forte (62°, 1,35) avec ombres douces à 70 % d'opacité,
|
||||
SSAO pour l'occlusion à l'échelle du maillage, tonemap filmique, perspective
|
||||
aérienne et albédo du brouillard volumétrique teintés.
|
||||
- Lumière par profondeur (même jour) : le shader atténue la lumière du jour
|
||||
par Beer-Lambert spectral (absorption par canal 0,11 / 0,04 / 0,032 par
|
||||
mètre, normalisée à 24 m) ; la partie scalaire réduit le soleil (fonction
|
||||
`light()`, directionnelle seulement) et l'ambiance ciel (`AO`), la partie
|
||||
chromatique teinte l'albédo. Les projecteurs du sous-marin ne sont pas
|
||||
atténués. Plancher à 5 % pour que le pied du tombant reste lisible. Palette
|
||||
GDP §18.2 obtenue de fait : vert-bleu à 24 m, bleu froid à 45 m, indigo au
|
||||
pied du tombant ; ciel, brouillard et soleil (0,9, ombres 45 %) refroidis.
|
||||
|
||||
**État du 2026-10-06 (demande d'Olivier)** : le shader mélange sable et roche
|
||||
par la pente à partir de 20° (sable sous 20°, roche au-dessus de 40°, fondu
|
||||
|
||||