sunfall.package
- ..
- .metadata17 B
- README.md1.0 KB
- properties.yaml1.2 KB
- shader.wgsl3.6 KB
This package holds more than this page lists. See all of its files in its world.
README.md
grass (shader)
The meadow's grass and wildflowers on Sunfall Ridge's landing shelf: tufts of curved blades and flower stems drawn instanced round the camera by sunfall.dressing.Meadow (meshes from sunfall.dressing.meadowMeshes).
The mesh carries each blade's colour in its vertex colour, uv.y the share of the way from root (0) to tip (1), and uv.x 2 on flower petals. Gusts roll across the field along wind_dir as a travelling wave (wind_amount metres of lean at a tip, wind_speed the pace), every blade leaning with it and fluttering across it, more toward its tip. Roots sit in the sward's shade and tips catch the light; a slow world-space noise swings patches between lush green and sun-cured gold (patchiness, dry_color); blades seen against the low sun glow through (translucency, translucency_color).
Properties: base_color, roughness, translucency, translucency_color, patchiness, dry_color, wind_dir, wind_amount, wind_speed, vertexBoundsDilation.