Ending: rail camera, stable far planet, green bursts from a US landing

Flights run on rails at even speed along the spline with eased ends and
smooth zoom pushes, no hand-held shake. Grass fur, sector lines and
shadows fade out as the camera climbs, and above 250 m the ground swaps
to an even cube-sphere skin so the relief no longer pops while orbiting.
Per-shot FOV, motion blur, slamming titles and a warp to Earth; the
rocket now lands in Kansas and the green bursts straight out of it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Bonchellon
2026-12-01 16:30:08 +03:00
parent a3e4f00282
commit d4dff6ea99
6 changed files with 289 additions and 41 deletions

View File

@ -80,6 +80,9 @@ Shader "GrassCutter/GrassFur"
float4 _GcPushers[8]; // x, y, z, radius
float _GcPusherCount;
float _GcTime, _GcHeight, _GcFurScale, _GcFurMax;
// 0 normally; climbing to 1 as a film's lens leaves the ground: the whole field dissolves evenly into the
// planet's own far ground, so no ring of the near detail stays in shot
float _GcFarOnly;
struct Attributes
{
@ -183,6 +186,7 @@ Shader "GrassCutter/GrassFur"
float ign = frac(52.9829189 * frac(dot(i.positionCS.xy, float2(0.06711056, 0.00583715))));
float e = (ign - 0.5) * _GcShells.w;
if ((_GcShells.y > 0 && dist < _GcShells.y + e) || dist >= _GcShells.z + e) discard;
if (_GcFarOnly > 0 && frac(ign * 7.31 + 0.37) < _GcFarOnly) discard;
// a sector's square reaches past its borders: each pixel belongs to one sector
#if defined(GC_SECTOR_BUFFER)