Log inGet started
World

Pocket Putt Islands

README.md

Cloth family

The cloth entries of animatedMaterials, on the animCloth shader: flagCotton (printed cotton flag: teal hoist half, saffron fly half, white eight-pointed star in a ring, white header strip with brass grommets) and bannerCanvas (heavy warm tan canvas banner with an oxblood band at the attached edge, panel seams and double-stitched hems). Both really move: a vertex animation runs waves from the attached edge (UV u = 0) to the free end, growing toward it, and billows the cloth downwind.

Live settings, per object: windStrength (m/s, 0..25, default 8, a rate: the flutter phase is windStrength * time + windStrengthPhase) and windDirection (degrees of world yaw, 0 = toward +X, 90 = toward +Z).

Use them on animatedMaterials.meshes.flagCloth (1.5 x 1 m, 32 x 20 cells, both faces, origin at the top of the pole edge, flag along +x and down -y; scale it for a banner, e.g. (1.333, 3, 1) for 2 x 3 m). Vertex colour red < 0.5 marks free cloth; on any other mesh the shape holds and the wind shows as a moving shading ripple. No textures.