ridgeGround.shader
- .metadata17 B
- README.md3.2 KB
- preview.png8.6 KB
- properties.yaml28.7 KB
- shader.wgsl81.6 KB
README.md
ridgeGround (shader)
Sunfall Ridge's ground surface: the engine's eight-layer terrain splat surface (terrainSplat, copied whole, so the landscape's layer table, hex tiling, far reads, settle, biplanar steep faces and baked ground masks all still work) with what the ridge needs on top, in the landscape's layer order (0 fields, 1 forest, 2 grass, 3 meadow, 4 rock, 5 scree, 6 gravel, 7 snow):
- The rock. The rock layer is a photographed cliff face (Poly Haven's marble_cliff_05, CC0: colour, normal and the light its cracks hold) read at the size of the cliff, not of the scan: one repeat covers
cliff_macro_sizemetres, so the scan's cracks, blocks and stained seams become fracture systems and buttress faces seen from the air. A second read, turned and at another size, takes over in patches and both are bent by a slow noise, so no repeat lines up along a wall; close to the rock a third read atcliff_near_sizegives it its grain. The scan turns the normal the engine lights (cliff_relief), darkens its cracks (cliff_cavity) and is read through the planes the broad shape of the ground faces, on walls and on rock that lies down alike. Its three maps ride as the last slice of the layer arrays (cliff_slice, set byGroundTable). - The wall. On steep ground the rock takes the tones of bedded dolomite in the face's own frame: beds of irregular thickness (
bed_spacing) in packets of cream and grey (rock_cream,rock_grey) whose edges ease into each other, a lip and an undercut on the beds that stand out, grey-black weathering in broad ragged fields (streak_amount,streak_dark), paler fresh rock, ochre scars (ochre_amount) and grass on the bed tops where the face is not sheer. Nothing on the wall is a drawn line running its height: the joints, fractures, chimneys and water curtains an earlier version drew were what read as streaks pulled down the face. - The turf. Fields, grass and meadow carry sweeps of lighter and darker grass, sun-cured patches, flower drifts, worn paths and cattle terracettes. Grass on a slope is thinner and browner than the pasture's, nearer the rock's own tone.
- Who holds a slope. The landscape draws its surfaces in smooth-edged patches tens of metres across, which lay on the hillsides like a camouflage print. Here its weights are read a few metres to one side by a noise (
edge_fray), and turf, rock and scree share a slope by the lie of the ground: where the landscape leans toward turf the grass takes the gentle ground and leaves the steep to the stone, with ragged edges a few metres across. Scree is the wall's own stone (scree_tone), and the forest floor's red-brown litter is held to brown-olive (floor_tone) so it does not turn mauve in shadow where no tree stands on it. The landing field (landing_clear) and the launch (launch_clear) keep the landscape's own edges. Limestone outcrops still break the turf, and the forest floor on slopes pastforest_steepgives way to grass and speckles of rock; the trees still read the baked forest weight.
Steep ground is read through the side planes from triplanar_slope (38 on the material). Worn by the Terrain of the main scene through sunfall.dressing.ridgeGround (material).