You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/gdevelop5/extensions/foliage-swaying3d/index.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -332,32 +332,32 @@ Sway foliage according to the wind.
332
332
333
333
### Behavior properties
334
334
335
-
-**Ambient Occlusion strength** (🔢 Number). Ambient occlusion intensity. (0-1; default: 1). Default value is `1`.
335
+
-**Ambient Occlusion strength** (🔢 Number). Ambient occlusion intensity (0-1; default: 1). Default value is `1`.
336
336
-**Bottom color** (🎨 Color). Bottom gradient color. Default value is `65;117;5`.
337
337
-**Color contrast** (🔢 Number). Color contrast multiplier (0-3; default: 1.05). Default value is `1.05`.
338
338
-**Color saturation** (🔢 Number). Color saturation multiplier (0-3; default: 1.2). Default value is `1.2`.
339
-
-**Culling mode** (Choice, one of: "UseSource", "BackfaceCullingOn", "BackfaceCullingOff"). 3D model face culling mode.
340
-
-**Debug output** (🔘 Boolean). Prints material/mesh and auto-scale debug info to console. (requires object to be in the scene; default: off). Default value is `false`.
341
-
-**Fade distance end** (🔢 Number, Distance). Distance where fade reaches zero. Requires enabled distance culling. (0-100000; default: 1600). Default value is `1600`.
342
-
-**Fade distance start** (🔢 Number, Distance). Distance where fade-out starts. Requires enabled distance culling. (0-100000; default: 1200). Default value is `1200`.
343
-
-**Environment strength** (🔢 Number). Environment reflection intensity. (0-1; default: 1). Default value is `1`.
339
+
-**Culling mode** (Choice, one of: "UseSource", "BackfaceCullingOn", "BackfaceCullingOff"). 3D model face culling mode. Default value is `UseSource`.
340
+
-**Debug output** (🔘 Boolean). Prints material/mesh and auto-scale debug info to console (requires object to be in the scene; default: off). Default value is `false`.
341
+
-**Fade distance end** (🔢 Number, Distance). Distance where fade reaches zero. Requires enabled distance culling (0-100000; default: 1600). Default value is `1600`.
342
+
-**Fade distance start** (🔢 Number, Distance). Distance where fade-out starts. Requires enabled distance culling (0-100000; default: 1200). Default value is `1200`.
343
+
-**Environment strength** (🔢 Number). Environment reflection intensity (0-1; default: 1). Default value is `1`.
344
344
-**Gradient end** (🔢 Number). Gradient end point (0-1; default: 1). Default value is `1`.
345
345
-**Gradient start** (🔢 Number). Gradient start point (0-1; default: 0). Default value is `0`.
346
346
-**Ignore UV map** (🔘 Boolean). Uses world-height gradient instead of UV gradient (only when color grading is on; default: off). Default value is `false`.
347
-
-**Material to sway** (🔤 String). Material name to target. (empty = auto-pick).
348
-
-**Metallic factor** (🔢 Number). PBR metallic value. (0-1; default: 0). Default value is `0`.
349
-
-**Normal strength** (🔢 Number). Normal map strength. (0-1; default: 1). Default value is `1`.
350
-
-**Roughness factor** (🔢 Number). PBR roughness value. (0-1; default: 1). Default value is `1`.
351
-
-**Specular factor** (🔢 Number). Specular intensity. (where supported; 0-1; default: 0.1). Default value is `0.1`.
352
-
-**Sway response** (🔢 Number). Sorts unexpected visual behavior. For low-poly models use smaller number. (0-200; 0 = auto). Default value is `0`.
-**Material to sway** (🔤 String). Material name to target (empty = auto-pick).
348
+
-**Metallic factor** (🔢 Number). PBR metallic value (0-1; default: 0). Default value is `0`.
349
+
-**Normal strength** (🔢 Number). Normal map strength (0-1; default: 1). Default value is `1`.
350
+
-**Roughness factor** (🔢 Number). PBR roughness value (0-1; default: 1). Default value is `1`.
351
+
-**Specular factor** (🔢 Number). Specular intensity (where supported; 0-1; default: 0.1). Default value is `0.1`.
352
+
-**Sway response** (🔢 Number). How much the object is deformed by the wind. For low-poly models use small number around 0.5. (0-200; 0 = auto). Default value is `0`.
353
+
-**Sway type** (Choice, one of: "Grass", "Leaves", "Bush", "TreeTrunk"). Wind animation model. Default value is `Grass`.
354
354
-**Top color** (🎨 Color). Top gradient color. Default value is `184;233;134`.
355
355
-**Use color gradient** (🔘 Boolean). Enables top/bottom gradient tint and color grading (default: off). Default value is `false`.
356
-
-**Custom PBR settings** (🔘 Boolean). Enables custom PBR tuning controls. (default: off). Default value is `false`.
357
-
-**Distance culling** (🔘 Boolean). Enables distance-based dither fade/culling. (default: off). Default value is `false`.
358
-
-**GPU instancing** (🔘 Boolean). Uses GPU instancing for supported sway types. (better performance; default: off). Default value is `false`.
356
+
-**Custom PBR settings** (🔘 Boolean). Enables custom PBR tuning controls (default: off). Default value is `false`.
357
+
-**Distance culling** (🔘 Boolean). Enables distance-based dither fade/culling (default: off). Default value is `false`.
358
+
-**GPU instancing** (🔘 Boolean). Uses GPU instancing for supported sway types (better performance; default: off). Default value is `false`.
359
359
-**Use two sided lighting** (🔘 Boolean). If enabled, both frontface and backface are lit. Useful for planes/cards (default: on). Default value is `true`.
360
-
-**Enable uniform sway** (🔘 Boolean). If enabled, all instances sway similarly. If off, each gets random phase variation. (default: on). Default value is `true`.
360
+
-**Enable uniform sway** (🔘 Boolean). If enabled, all instances sway similarly. If off, each gets random phase variation (default: on). Default value is `true`.
361
361
362
362
??? quote "See internal technical details"
363
363
@@ -366,7 +366,7 @@ Sway foliage according to the wind.
366
366
- **Bottom color** is stored as `BottomColor` (Color). Default value is `65;117;5`.
367
367
- **Color contrast** is stored as `ColorContrast` (Number). Default value is `1.05`.
368
368
- **Color saturation** is stored as `ColorSaturation` (Number). Default value is `1.2`.
369
-
- **Culling mode** is stored as `CullingMode` (Choice). Default value is ``.
369
+
- **Culling mode** is stored as `CullingMode` (Choice). Default value is `UseSource`.
370
370
- **Debug output** is stored as `DebugOutput` (Boolean). Default value is `false`.
371
371
- **Fade distance end** is stored as `DistanceFadeEnd` (Number). Unit is Pixel. Default value is `1600`.
372
372
- **Fade distance start** is stored as `DistanceFadeStart` (Number). Unit is Pixel. Default value is `1200`.
@@ -380,7 +380,7 @@ Sway foliage according to the wind.
380
380
- **Roughness factor** is stored as `Roughness` (Number). Default value is `1`.
381
381
- **Specular factor** is stored as `Specular` (Number). Default value is `0.1`.
382
382
- **Sway response** is stored as `SwayResponse` (Number). Default value is `0`.
383
-
- **Sway type** is stored as `SwayType` (Choice). Default value is ``.
383
+
- **Sway type** is stored as `SwayType` (Choice). Default value is `Grass`.
384
384
- **Top color** is stored as `TopColor` (Color). Default value is `184;233;134`.
385
385
- **Use color gradient** is stored as `UseColorGradient` (Boolean). Default value is `false`.
386
386
- **Custom PBR settings** is stored as `UseCustomPBR` (Boolean). Default value is `false`.
0 commit comments