Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

feat(render): placed plants cast shadows only as far as twice their detailed distance

yhhb7bbbbc5c15c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1bc7b4def..690581c3f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,7 @@ published separately; it ships inside the editor.
### Added
+- **Placed plants cast shadows only as far as twice their detailed distance.** `MeshInstances` takes a `shadowDistance` (metres from the eye past which an instance casts no shadow); a plant kind with a cheaper mesh sets it to twice that mesh's distance, so a tree far off is drawn into the shadow maps no more than its shadow is worth.
- **The editor lets go of a generated world while the game plays.** The game runs in a realm of its own that builds its own copy of a generated world; the editor's copy is released for as long as it runs and made again on Stop, so the two are not held together.
- **Plants are instances of one mesh.** A generated world's and a `PlacedFoliage`'s plants no longer merge their vertices a cell at a time: a new `MeshInstances` component places one resident mesh at many places (sixty-four bytes a plant), and the engine culls each plant against the view, takes a cheaper mesh past a distance and draws none past another, as one instanced draw that cells sharing a mesh and a material merge into. The geometry exists once however many plants there are, so a planet's plants take a tenth of the memory and a fraction of the draws, and a cell is grown in microseconds instead of a few milliseconds.
- **A project can keep folders out of its asset database.** `assetExclude` in the project manifest names folders (a source-art repository, docs, a server) the asset scan does not index, does not write a `.meta` into and the editor does not watch.
diff --git a/docs/astro/src/data/components.generated.json b/docs/astro/src/data/components.generated.json
index e2fd087cd..1cb4c349e 100644
--- a/docs/astro/src/data/components.generated.json
+++ b/docs/astro/src/data/components.generated.json
@@ -2564,6 +2564,12 @@
"type": "number",
"default": "0",
"doc": "Distance (metres) past which an instance is not drawn. 0 = unlimited."
+ },
+ {
+ "key": "shadowDistance",
+ "type": "number",
+ "default": "0",
+ "doc": "Distance (metres) past which an instance casts no shadow. 0 = as far as it is drawn."
}
]
},
diff --git a/sdk/etc/index.api.md b/sdk/etc/index.api.md
index ebe36e47b..3dab0b92e 100644
--- a/sdk/etc/index.api.md
+++ b/sdk/etc/index.api.md
@@ -5,7 +5,7 @@ Symbols: 115 public · 159 beta · 1843 experimental · 3 deprecated
## ABI_LAYOUT_HASH — const @experimental
```
-"91648bb4a306e016"
+"952e9aafee3c2480"
```
## ANCHOR_AXES — const @experimental
diff --git a/sdk/etc/index.native.api.md b/sdk/etc/index.native.api.md
index 478a3ba00..6d485c610 100644
--- a/sdk/etc/index.native.api.md
+++ b/sdk/etc/index.native.api.md
@@ -5,7 +5,7 @@ Symbols: 115 public · 164 beta · 1862 experimental · 3 deprecated
## ABI_LAYOUT_HASH — const @experimental
```
-"91648bb4a306e016"
+"952e9aafee3c2480"
```
## ANCHOR_AXES — const @experimental
diff --git a/sdk/src/ecs/bridge/ptrAccessors.generated.ts b/sdk/src/ecs/bridge/ptrAccessors.generated.ts
index eb8947c6f..50853e5c5 100644
--- a/sdk/src/ecs/bridge/ptrAccessors.generated.ts
+++ b/sdk/src/ecs/bridge/ptrAccessors.generated.ts
@@ -998,6 +998,7 @@ export interface MeshInstancesPtrData {
lodDistance: number;
minDistance: number;
drawDistance: number;
+ shadowDistance: number;
}
export function fillMeshInstances(
@@ -1008,6 +1009,7 @@ export function fillMeshInstances(
out.lodDistance = f32[(ptr + 4) >> 2];
out.minDistance = f32[(ptr + 8) >> 2];
out.drawDistance = f32[(ptr + 12) >> 2];
+ out.shadowDistance = f32[(ptr + 16) >> 2];
}
export function writeMeshInstances(
@@ -1018,6 +1020,7 @@ export function writeMeshInstances(
f32[(ptr + 4) >> 2] = data.lodDistance;
f32[(ptr + 8) >> 2] = data.minDistance;
f32[(ptr + 12) >> 2] = data.drawDistance;
+ f32[(ptr + 16) >> 2] = data.shadowDistance;
}
export function createMeshInstancesData(): MeshInstancesPtrData {
@@ -1026,6 +1029,7 @@ export function createMeshInstancesData(): MeshInstancesPtrData {
lodDistance: 0,
minDistance: 0,
drawDistance: 0,
+ shadowDistance: 0,
};
}
diff --git a/sdk/src/ecs/component.generated.ts b/sdk/src/ecs/component.generated.ts
index a81370d95..45db716c7 100644
--- a/sdk/src/ecs/component.generated.ts
+++ b/sdk/src/ecs/component.generated.ts
@@ -15,7 +15,7 @@ import type { AlignContent, AlignItems, AlignSelf, BodyType, CanvasScaleMode, Cl
* getAbiLayoutHash(); BuiltinBridge.connect() compares them and refuses to
* run on mismatch, because mismatched offsets read the wrong heap bytes.
*/
-export const ABI_LAYOUT_HASH = '91648bb4a306e016';
+export const ABI_LAYOUT_HASH = '952e9aafee3c2480';
/**
* One asset-valued field of a component: which field, and what kind of
@@ -558,6 +558,7 @@ export const COMPONENT_META: Record<string, ComponentMetaEntry> = {
lodDistance: 0,
minDistance: 0,
drawDistance: 0,
+ shadowDistance: 0,
},
assetFields: [{ field: 'lod1Mesh', type: 'mesh' as AssetFieldType }],
entityFields: [],
@@ -568,6 +569,7 @@ export const COMPONENT_META: Record<string, ComponentMetaEntry> = {
lodDistance: { tooltip: "Distance (metres) past which the cheaper mesh is used. 0 = never." },
minDistance: { tooltip: "Distance (metres) nearer than which an instance is not drawn. 0 = from the eye." },
drawDistance: { tooltip: "Distance (metres) past which an instance is not drawn. 0 = unlimited." },
+ shadowDistance: { tooltip: "Distance (metres) past which an instance casts no shadow. 0 = as far as it is drawn." },
},
},
MeshLightmap: {
@@ -1605,6 +1607,7 @@ export interface MeshInstancesData {
lodDistance: number;
minDistance: number;
drawDistance: number;
+ shadowDistance: number;
}
export interface MeshLightmapData {
diff --git a/sdk/src/foliage/plantGrowth.ts b/sdk/src/foliage/plantGrowth.ts
index b5c2992dd..c82e38233 100644
--- a/sdk/src/foliage/plantGrowth.ts
+++ b/sdk/src/foliage/plantGrowth.ts
@@ -96,9 +96,9 @@ export class PlantGrowth {
/**
* Makes one entity under `parent` that draws `part`'s mesh at every place in `plants`, relative to `parent`. `from` and `to` are the distances
- * from the eye between which a plant is drawn (0 for no limit); `lod` is the distance past which the part's cheaper mesh stands in.
+ * from the eye between which a plant is drawn (0 for no limit); `lod` is the distance past which the part's cheaper mesh stands in, and `shadow` the one past which it casts no shadow.
*/
- private place(app: App, parent: Entity, name: string, part: ReadyPart, plants: readonly Plant[], lod: number, from: number, to: number): void {
+ private place(app: App, parent: Entity, name: string, part: ReadyPart, plants: readonly Plant[], lod: number, from: number, to: number, shadow = 0): void {
const world = app.world;
const e = world.spawn(name);
world.insert(e, RuntimeOnly);
@@ -109,7 +109,7 @@ export class PlantGrowth {
color: { r: part.part.tint[0], g: part.part.tint[1], b: part.part.tint[2], a: part.part.tint[3] },
} as Partial<MeshRendererData>);
const placements = getComponent('MeshInstances');
- if (placements) world.insert(e, placements, { lod1Mesh: part.lod1, lodDistance: part.lod1 ? lod : 0, minDistance: from, drawDistance: to });
+ if (placements) world.insert(e, placements, { lod1Mesh: part.lod1, lodDistance: part.lod1 ? lod : 0, minDistance: from, drawDistance: to, shadowDistance: shadow });
world.setParent(e, parent);
const api = engineApi(app);
const set = api?.meshInstances_set;
@@ -138,7 +138,7 @@ export class PlantGrowth {
this.queue.push({ cell, run: () => {
if (!world.valid(entity)) return;
try {
- this.place(app, entity, `${kindIndex}:${j}`, r, plants, kind.lodDistance, 0, kind.drawDistance);
+ this.place(app, entity, `${kindIndex}:${j}`, r, plants, kind.lodDistance, 0, kind.drawDistance, kind.lodDistance > 0 ? kind.lodDistance * 2 : 0);
} catch (error) {
log.error('foliage', 'growing a piece of a cell of plants failed', error);
}
diff --git a/sdk/src/wasm/ptrLayouts.generated.ts b/sdk/src/wasm/ptrLayouts.generated.ts
index 394eeb397..fad44f7f2 100644
--- a/sdk/src/wasm/ptrLayouts.generated.ts
+++ b/sdk/src/wasm/ptrLayouts.generated.ts
@@ -280,6 +280,7 @@ export const PTR_LAYOUTS: Record<string, PtrLayout> = {
{ name: 'lodDistance', type: 'f32', offset: 4 },
{ name: 'minDistance', type: 'f32', offset: 8 },
{ name: 'drawDistance', type: 'f32', offset: 12 },
+ { name: 'shadowDistance', type: 'f32', offset: 16 },
],
},
MeshLightmap: {
diff --git a/sdk/src/wasm/wasm.generated.ts b/sdk/src/wasm/wasm.generated.ts
index ef46e2f67..aaf1f9fae 100644
--- a/sdk/src/wasm/wasm.generated.ts
+++ b/sdk/src/wasm/wasm.generated.ts
@@ -652,6 +652,7 @@ export interface MeshInstances {
lodDistance: number;
minDistance: number;
drawDistance: number;
+ shadowDistance: number;
}
export interface MeshLightmap {
diff --git a/src/esengine/aot/EngineDigest.generated.h b/src/esengine/aot/EngineDigest.generated.h
index 0e236a417..178ac6b40 100644
--- a/src/esengine/aot/EngineDigest.generated.h
+++ b/src/esengine/aot/EngineDigest.generated.h
@@ -6,7 +6,7 @@
/* One per address width, because the width is IN the digest: a host that
took the other one would refuse every module built for it. */
-#define ES_ENGINE_ABI_DIGEST_32 0xdb9af7d81251cf95ULL
-#define ES_ENGINE_ABI_DIGEST_64 0x3a95e34eb4bec721ULL
+#define ES_ENGINE_ABI_DIGEST_32 0x10eb5f4f7fbcdb96ULL
+#define ES_ENGINE_ABI_DIGEST_64 0x239e7f83ac19d562ULL
#define ES_ENGINE_ABI_DIGEST \
(sizeof(es_addr_t) == 8 ? ES_ENGINE_ABI_DIGEST_64 : ES_ENGINE_ABI_DIGEST_32)
diff --git a/src/esengine/bindings/EditorAPI.generated.cpp b/src/esengine/bindings/EditorAPI.generated.cpp
index 186df76c4..9a2e7a8ef 100644
--- a/src/esengine/bindings/EditorAPI.generated.cpp
+++ b/src/esengine/bindings/EditorAPI.generated.cpp
@@ -2,10 +2,10 @@
* @file EditorAPI.generated.cpp
* @brief Auto-generated editor API with string-dispatched component access
* @details Generated by EHT - DO NOT EDIT
- * @schema_hash 3a26328c6019f91c
+ * @schema_hash 109e1d126ef2ba4b
*/
-#define ES_EDITOR_API_SCHEMA_HASH "3a26328c6019f91c"
+#define ES_EDITOR_API_SCHEMA_HASH "109e1d126ef2ba4b"
#include <emscripten/bind.h>
#include <string>
@@ -390,7 +390,8 @@ std::string editor_getComponentSchema(const std::string& name) {
{"key":"lod1Mesh","type":"asset","group":"MeshInstances"},
{"key":"lodDistance","type":"float","group":"MeshInstances"},
{"key":"minDistance","type":"float","group":"MeshInstances"},
- {"key":"drawDistance","type":"float","group":"MeshInstances"}
+ {"key":"drawDistance","type":"float","group":"MeshInstances"},
+ {"key":"shadowDistance","type":"float","group":"MeshInstances"}
])JSON";
} else if (name == "MeshLightmap") {
return R"JSON([
@@ -1471,6 +1472,7 @@ bool editor_setFloat(Registry& reg, u32 e, const std::string& comp, const std::s
if (field == "lodDistance") { c.lodDistance = value; }
else if (field == "minDistance") { c.minDistance = value; }
else if (field == "drawDistance") { c.drawDistance = value; }
+ else if (field == "shadowDistance") { c.shadowDistance = value; }
else { return false; }
return true;
} else if (comp == "MeshLightmap") {
@@ -2036,6 +2038,7 @@ f32 editor_getFloat(Registry& reg, u32 e, const std::string& comp, const std::st
if (field == "lodDistance") { return c.lodDistance; }
else if (field == "minDistance") { return c.minDistance; }
else if (field == "drawDistance") { return c.drawDistance; }
+ else if (field == "shadowDistance") { return c.shadowDistance; }
} else if (comp == "MeshLightmap") {
if (!reg.has<esengine::ecs::MeshLightmap>(entity)) return 0.0f;
const auto& c = reg.get<esengine::ecs::MeshLightmap>(entity);
diff --git a/src/esengine/bindings/WebBindings.generated.cpp b/src/esengine/bindings/WebBindings.generated.cpp
index 9a0dcbd67..a352e6e94 100644
--- a/src/esengine/bindings/WebBindings.generated.cpp
+++ b/src/esengine/bindings/WebBindings.generated.cpp
@@ -771,6 +771,7 @@ struct MeshInstancesJS {
f32 lodDistance;
f32 minDistance;
f32 drawDistance;
+ f32 shadowDistance;
};
void meshinstancesApplyJS(esengine::ecs::MeshInstances& c, const MeshInstancesJS& js) {
@@ -778,6 +779,7 @@ void meshinstancesApplyJS(esengine::ecs::MeshInstances& c, const MeshInstancesJS
c.lodDistance = js.lodDistance;
c.minDistance = js.minDistance;
c.drawDistance = js.drawDistance;
+ c.shadowDistance = js.shadowDistance;
}
esengine::ecs::MeshInstances meshinstancesFromJS(const MeshInstancesJS& js) {
@@ -792,6 +794,7 @@ MeshInstancesJS meshinstancesToJS(const esengine::ecs::MeshInstances& c) {
js.lodDistance = c.lodDistance;
js.minDistance = c.minDistance;
js.drawDistance = c.drawDistance;
+ js.shadowDistance = c.shadowDistance;
return js;
}
@@ -1978,7 +1981,8 @@ EMSCRIPTEN_BINDINGS(esengine_components) {
.field("lod1Mesh", &MeshInstancesJS::lod1Mesh)
.field("lodDistance", &MeshInstancesJS::lodDistance)
.field("minDistance", &MeshInstancesJS::minDistance)
- .field("drawDistance", &MeshInstancesJS::drawDistance);
+ .field("drawDistance", &MeshInstancesJS::drawDistance)
+ .field("shadowDistance", &MeshInstancesJS::shadowDistance);
value_object<MeshLightmapJS>("MeshLightmap")
.field("lightmap", &MeshLightmapJS::lightmap)
@@ -3871,6 +3875,7 @@ static_assert(offsetof(esengine::ecs::MeshInstances, lod1Mesh) == 0, "ABI offset
static_assert(offsetof(esengine::ecs::MeshInstances, lodDistance) == 4, "ABI offset drift: esengine::ecs::MeshInstances.lodDistance (EHT expected 4)");
static_assert(offsetof(esengine::ecs::MeshInstances, minDistance) == 8, "ABI offset drift: esengine::ecs::MeshInstances.minDistance (EHT expected 8)");
static_assert(offsetof(esengine::ecs::MeshInstances, drawDistance) == 12, "ABI offset drift: esengine::ecs::MeshInstances.drawDistance (EHT expected 12)");
+static_assert(offsetof(esengine::ecs::MeshInstances, shadowDistance) == 16, "ABI offset drift: esengine::ecs::MeshInstances.shadowDistance (EHT expected 16)");
static_assert(offsetof(esengine::ecs::MeshLightmap, lightmap) == 0, "ABI offset drift: esengine::ecs::MeshLightmap.lightmap (EHT expected 0)");
static_assert(offsetof(esengine::ecs::MeshLightmap, scaleOffset) == 4, "ABI offset drift: esengine::ecs::MeshLightmap.scaleOffset (EHT expected 4)");
static_assert(offsetof(esengine::ecs::MeshRenderer, texture) == 0, "ABI offset drift: esengine::ecs::MeshRenderer.texture (EHT expected 0)");
@@ -4150,7 +4155,7 @@ static_assert(offsetof(esengine::ecs::Velocity, angular) == 12, "ABI offset drif
// ABI Hash -- runtime handshake against the SDK bundle
// =============================================================================
-static const char* kEsAbiLayoutHash = "91648bb4a306e016";
+static const char* kEsAbiLayoutHash = "952e9aafee3c2480";
std::string esengineGetAbiLayoutHash() {
return std::string(kEsAbiLayoutHash);
diff --git a/src/esengine/ecs/components/MeshRenderer.hpp b/src/esengine/ecs/components/MeshRenderer.hpp
index d4b318fe5..fc4fb2007 100644
--- a/src/esengine/ecs/components/MeshRenderer.hpp
+++ b/src/esengine/ecs/components/MeshRenderer.hpp
@@ -202,6 +202,11 @@ struct MeshInstances {
ES_PROPERTY(tooltip="Distance (metres) past which an instance is not drawn. 0 = unlimited.")
f32 drawDistance{0.0f};
+ /** @brief Metres from the eye past which an instance casts no shadow; 0 = as far as it is drawn. A tree far off still draws, but the
+ * shadow it casts is too small to be worth drawing it again into every shadow map. */
+ ES_PROPERTY(tooltip="Distance (metres) past which an instance casts no shadow. 0 = as far as it is drawn.")
+ f32 shadowDistance{0.0f};
+
/** @brief Sixteen floats an instance: the model's three rows (translation in .w) then its tint RGBA, which is
* multiplied into the renderer's colour. Set by meshInstances_set, not by reflection. */
std::vector<f32> transforms;
diff --git a/src/esengine/renderer/plugins/MeshPlugin.cpp b/src/esengine/renderer/plugins/MeshPlugin.cpp
index 692d87829..4c8eaccaa 100644
--- a/src/esengine/renderer/plugins/MeshPlugin.cpp
+++ b/src/esengine/renderer/plugins/MeshPlugin.cpp
@@ -578,6 +578,7 @@ void emitPlacements(const RenderFrameContext& ctx, RenderCollectContext& collect
distance = glm::distance(at, ctx.view_eye);
if (set.drawDistance > 0.0f && distance - radius > set.drawDistance) { ++tooFar; continue; }
if (distance + radius < set.minDistance) continue;
+ if (ctx.purpose == RenderPurpose::ShadowDepth && set.shadowDistance > 0.0f && distance - radius > set.shadowDistance) continue;
}
if (!collect.visible(at, glm::vec3(radius), false)) { ++outside; continue; }
(coarse && eyeKnown && set.lodDistance > 0.0f && distance > set.lodDistance ? farList : nearList).push_back(i);
diff --git a/tests/aot/generated/conformance/handshake.h b/tests/aot/generated/conformance/handshake.h
index b71cf2c3c..e61dc9f7e 100644
--- a/tests/aot/generated/conformance/handshake.h
+++ b/tests/aot/generated/conformance/handshake.h
@@ -1,5 +1,5 @@
/* GENERATED by sdk/tests/aot-conformance.test.ts — do not edit. */
/* The contract half of the handshake. The width half is the harness. */
-#define ES_CONF_EXPECTED_CONTRACT_HASH 0x3a95e34eb4bec721ULL
+#define ES_CONF_EXPECTED_CONTRACT_HASH 0x239e7f83ac19d562ULL
/* And which BUILD the artifact beside this one is. */
#define ES_CONF_EXPECTED_MODULE_CONTRACT 0xc3d0e057d5701a2eULL
diff --git a/tests/aot/generated/conformance/systems_decl.c b/tests/aot/generated/conformance/systems_decl.c
index 4bb27af5b..26b154cce 100644
--- a/tests/aot/generated/conformance/systems_decl.c
+++ b/tests/aot/generated/conformance/systems_decl.c
@@ -10,7 +10,7 @@
answer, it is a read of a different field. The address width belongs
to the MACHINE, so it mixes in here rather than in the compiler and a
32-bit artifact cannot load into a 64-bit host. */
-#define ES_ABI_ENGINE_DIGEST 0x3a95e34eb4bec721ULL
+#define ES_ABI_ENGINE_DIGEST 0x239e7f83ac19d562ULL
ES_EXPORT const uint64_t es_abi_hash =
ES_ABI_ENGINE_DIGEST ^ (0x9e3779b97f4a7c15ULL * (uint64_t)sizeof(es_addr_t));
diff --git a/tests/aot/generated/move_system_decl.c b/tests/aot/generated/move_system_decl.c
index b3140604d..a056527a2 100644
--- a/tests/aot/generated/move_system_decl.c
+++ b/tests/aot/generated/move_system_decl.c
@@ -10,7 +10,7 @@
answer, it is a read of a different field. The address width belongs
to the MACHINE, so it mixes in here rather than in the compiler and a
32-bit artifact cannot load into a 64-bit host. */
-#define ES_ABI_ENGINE_DIGEST 0x3a95e34eb4bec721ULL
+#define ES_ABI_ENGINE_DIGEST 0x239e7f83ac19d562ULL
ES_EXPORT const uint64_t es_abi_hash =
ES_ABI_ENGINE_DIGEST ^ (0x9e3779b97f4a7c15ULL * (uint64_t)sizeof(es_addr_t));
diff --git a/tests/aot/generated/move_system_hash.h b/tests/aot/generated/move_system_hash.h
index 7d158a2df..593e80414 100644
--- a/tests/aot/generated/move_system_hash.h
+++ b/tests/aot/generated/move_system_hash.h
@@ -1,6 +1,6 @@
/* GENERATED by @estella/compiler — do not edit. */
/* The contract half of the handshake. The width half is the harness. */
-#define ES_EXPECTED_CONTRACT_HASH 0x3a95e34eb4bec721ULL
+#define ES_EXPECTED_CONTRACT_HASH 0x239e7f83ac19d562ULL
/* And which BUILD the artifact beside this one is, which the sidecar
written with it has to carry too. */
#define ES_EXPECTED_MODULE_CONTRACT 0x10bf77bb714ea1e3ULL
diff --git a/tools/check-corpus-authoring.mjs b/tools/check-corpus-authoring.mjs
index 7b60e3ff1..23b73b79d 100644
--- a/tools/check-corpus-authoring.mjs
+++ b/tools/check-corpus-authoring.mjs
@@ -122,6 +122,7 @@ const DISPOSITION = {
// — derived: a system writes them; authored, they would be a bug —
RuntimeOnly: ['derived', 'tags a world-only entity a system re-derives; scene serialization skips tagged entities, so authoring one would delete it on save'],
NetGhost: ['derived', 'replication tags a remote proxy with it; the authority writes it, never the scene'],
+ MeshInstances: ['derived', 'the foliage and world generation systems write it, one entity a kind and part of a cell; its places are data a system computes, not something a scene authors'],
PlacedFoliage: ['derived', 'a generated world grows its plants through the same machinery without the component, and a project that places plants by hand writes the kinds and records with a script from its own rules; the lists are generated data, not something a scene is authored by hand with'],
PlacedObject: ['derived', 'a generated world writes it on what it places for the game to interact with; authored, it would name a placement no rule made'],
SceneOwner: ['derived', 'scene loading records which scene an entity came from; authoring it would claim an ownership the loader never granted'],
diff --git a/tools/check-gizmo-coverage.mjs b/tools/check-gizmo-coverage.mjs
index d297761ec..c6a279ccc 100644
--- a/tools/check-gizmo-coverage.mjs
+++ b/tools/check-gizmo-coverage.mjs
@@ -110,6 +110,10 @@ const DISPOSITION = {
// The component's own drawing is the picture; an outline round it would trace
// what is already on screen.
+ 'MeshInstances.lodDistance': ['no-place', 'a distance from the eye, not a region of the entity'],
+ 'MeshInstances.minDistance': ['no-place', 'a distance from the eye, not a region of the entity'],
+ 'MeshInstances.drawDistance': ['no-place', 'a distance from the eye, not a region of the entity'],
+ 'MeshInstances.shadowDistance': ['no-place', 'a distance from the eye, not a region of the entity'],
'PlacedFoliage.sizeX': ['renders', 'the area the plants are placed over is the outline'],
'PlacedFoliage.sizeZ': ['renders', 'the area the plants are placed over is the outline'],
'PlacedFoliage.cellSize': ['no-place', 'the side of the cells the area is cut into, not a region of the entity'],
diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjs
index c8d8d23a7..bc2498ee2 100644
--- a/tools/releaseNotes.mjs
+++ b/tools/releaseNotes.mjs
@@ -2906,6 +2906,8 @@ export const NOTED = {
{"note":"The editor lets go of a generated world while the game plays."},
"fix(ci): the component reference lists MeshInstances and PlacedFoliage":
{"internal":"Reference snapshot and doc links."},
+ "feat(render): placed plants cast shadows only as far as twice their detailed distance":
+ {"note":"Placed plants cast shadows only as far as twice their detailed distance."},
"feat(assets): a project names folders its asset database leaves alone":
{"note":"A project can keep folders out of its asset database."},
"feat(worldgen): a plant part may cast no shadow, and far cells are capped at two cells wide":