Merge commit 'e908672' into lang/foundations

This commit is contained in:
Orkun ÇAKILKAYA 2026-09-29 19:22:23 +03:00
commit 28f7b4666b
25 changed files with 335 additions and 75 deletions

View file

@ -406,7 +406,10 @@ export state Render3dState {
grass_prog: int = 0
grass_mesh: Mesh = null
grass_on: bool = true
grass_wind: float = 0.0
grass_kind: GrassKind = null # the kind the blades are (grass_kind.ludic); its wind, sheen and shape
grass_cell: int = 4 # the kind's hash cell in metres (1, 2 or 4)
grass_q_s0: float = 0.0 # the settings' tier: no closer spacing than this (grass_quality)
grass_q_r: float = 0.0 # ... and no blades past this (0: the kind's own radius)
grass_s0: float = 0.0 # float bits: blade spacing at the camera (m)
grass_d0: float = 0.0 # the distance at which the spacing has doubled (m)
grass_radius: float = 0.0 # no blades past this (m)