Repository navigation
·
62 commits
to master
since this release
Added
- A groom opens in its own editor. Double-click a
.esgroomin the Content Browser: the strands are drawn on the left, turned by dragging, lit as the game draws them or each group in a colour of its own (Groups); on the right, the Strands panel gives every group a bar in that colour, its figures (curves and points of the strands and the guides, the widest strand, points per curve from fewest to most, the attributes the curves carry) and its settings: Material, Hair Width, Hair Root Scale, Hair Tip Scale, Hair Shadow Density, Cast Shadows and Stable Rasterization. An edit shows at once; Save writes the.esgroom, and Reload Curves reads the curves again after a new export from Blender. For code,renderMeshSetPreviewdraws several meshes, each with its own material, in one preview. - Hair and fur can be strands, not only cards. A
Groomcomponent draws a.esgroom: the curves of a groom exported from Blender (tools/blender/export_groom.pywrites them, one group per Curves object or pergroom_group_id, guides marked bygroom_guide), each group a ribbon per strand that faces the eye, lit along the strand. Each group has its own material, Hair Width (in centimetres, or the width the curves carry), Hair Root Scale and Hair Tip Scale, Hair Shadow Density, whether it casts shadows, and Stable Rasterization, which draws a strand at least a pixel wide with its coverage cut to match. The figures a Strands panel shows (curves and points of the strands and of the guides, the widest strand, points per curve, the attributes) come fromgroupStats. Grooms are inesengine/groom. They do not follow a skinned mesh or simulate yet, and a dense groom's shadow on itself is noisy.
Changed
- Writing animated sprites and transforms takes less CPU time. Timelines and blended poses share the component write path with the editor and game scripts. Web builds pass numeric fields directly to the registry. Native builds write the same values through their component buffers. Both paths fill missing fields from the project defaults.
- Animation controllers reuse pose buffers when reading sprites and transforms. Playing a 2D fade or a 3D character animation uses less CPU time on web and native targets. Scripts that hold a pose's position or color keep the same object across frames.
- Repeated lookups of named sprite and bone paths take less time. Animation and other systems that address descendants by name reuse successful lookups until the hierarchy changes. Renaming or moving a node takes effect on the next lookup.
- Repeated entity queries cost less in 2D and 3D systems. Systems looking up the same component combinations can reuse their results without scanning the dependencies on every call. Adding or removing a component still refreshes the queries it affects.
- Sampling the profiler costs less in large scenes. The editor's Play view and connected devices read the live entity count directly when reporting frame statistics.
- 3D rain falls in the world. The rain effect's falling streaks were three layers painted down the screen, so they ran straight down the picture whichever way the camera looked: seen from above, rain was vertical lines across the ground. The drops are now streaks in the world round the camera, falling at a raindrop's speed (scaled by the effect's Speed) and leaning with its Wind toward where the sky's clouds go, stretched along their fall and turned to the eye: seen level they run down, seen from above they run out from under the camera, and they stay where they are as the camera moves through them. They end on what stands over them, from the same overhead map that keeps the ground under a roof dry, so no rain falls under an awning, and anything nearer the camera hides them. They are drawn on the GPU from their number and the time, with nothing stepped on the CPU, the same in WebGL2 and WebGPU. The wet ground, puddles and splashes are drawn as before; 2D rain and snow are unchanged.
- Rain splashes are particles in the world, its rings are a raindrop's, and how all of it looks is the Rain effect's to set. A splash was drawn on the screen; it is now a bright point and droplets thrown up where a drop lands, falling back under the project's gravity, on ground, roofs and water alike. The rings on water and on puddles are small, fast and many, one clear crest with a fainter one behind, and rings that meet add and cancel; water and puddles ring where the splashes land, from one shared landing pattern. The falling drops stay a dense system of their own. Nothing of the look is fixed: the Rain effect sets the streaks' width and brightness, the flakes' size, the splashes' droplets, size, speed, life and colour, and the rings' speed, life, width and strength, and takes a texture for streaks, flakes and splashes, so a toon rain is the author's values, not new code.
- 3D snow falls in the world. The rain effect's snowfall drew flakes as layers on the screen, drifting down the picture whichever way the camera looked. Snow now falls the way the rain's drops do: flakes in the world round the camera, a metre a second, each swaying on its own path, carried further by the Wind than rain, soft and round at any angle. They stop on what stands over them, so none fall under a roof, and anything nearer the camera hides them. As many fall as the snowfall says: a Snow weather fills the air twice as densely as a light one. The snow lying on the ground is drawn as before.
- Timeline playback spends less time resolving animated fields. Sprite fades, skeletal animation, editor previews and root motion share parsed property paths across samples and freshly loaded clips. Editing the path takes effect on the next sample.
Fixed
- Sprite fades keep their authored opacity on native players. Crossfades, override layers and additive layers now blend declared colors by channel even when an engine binding also supplies four vector coordinates.
- Asset requests made during loader setup share one load. A hot reload started by a loader keeps its replacement asset. Overlapping texture requests and scene unloads now return each native texture reference once, including when a sprite or material reuses a resident texture.
- Scenes can keep using assets after a plugin replaces their loader. The loader that created a mesh still reads its geometry and restores it after device loss. Handle-based assets return to their original loader on release or scene teardown. Plugin types such as
paint:palettekeep their full name in dependency tracking and cleanup. - Shared maps and materials reload in dependency order when several files change together. Estella computes the affected assets once per batch and can follow deep dependency chains without exhausting the call stack. Assets held by a UUID reference and by their address now share the same published update.
- Discarding a preloaded scene now releases its DragonBones atlas pages. A published scene transfers each page to its skeleton so characters can keep drawing until their last instance leaves.
- Entity queries stay current as the scene changes. Queries for all entities or just exclusions now see bare spawns and despawns, including spawns committed by a command queue. Every exclusion still applies when another excluded component has never been added. Selecting a rare script tag can visit just its members while keeping the scene's iteration order.
- Saving painted terrain keeps its weight map and undo record together. Editor command callers now wait for asynchronous writes to finish. Saving through the command interface records the changed files in the same undo step as the scene edit.
- Saving painted terrain keeps its height and layer weights together. The editor captures an area's heightmap and both weightmaps before writing, scans the assets once, and updates the scene's image references together. A failed write leaves the terrain marked for saving. Overlapping saves preserve the order of the edits.
- Packaged games now load meshes and 2D physics from older scenes the same way the editor does. Scene preparation upgrades legacy component names before looking up geometry, textures and physics. Streamed cells finish that migration before they are brought into view.
- Shared textures and other handle-based assets update faster in running games. Sprites and meshes receive the current asset even when their scene unloads during a reload or another edit supersedes it. Each owner releases its own share when it goes away.
- Device recovery restores 3D meshes even when a different asset loader starts the recovery. File-backed meshes are read from their original project, and meshes created at runtime reuse their original geometry. A mesh released during a pending read stays released.
- Native WebSocket connections release their transport before delivering the final close event. Linux clients can finish a secure exchange and exit cleanly.
- Native games can reuse recently released textures within their configured cache budget. A file edit clears the old lookup so the next load receives its replacement. Memory-pressure trimming also reaches the native texture pool.
- Materials that use an uninstalled waterfall, planet, terrain surface bake or voxel ground shader now name the module to import. These shaders also appear with their module's templates in the material menu regardless of installation order.
- Two running previews can each show their own physics debug view. Collider outlines and contact markers follow the owning 2D or 3D world. Reopening or closing one preview preserves the other preview's overlay.
- Each running preview owns its 3D physics world. Gravity changes, collision damage and moving debris stay in the preview that produced them. Closing a preview during loading discards its late solver, and a failed setup releases the native world.
- Rain and snow stop at the surfaces that shelter them. Their depth shader no longer samples the overhead map while it is being drawn. Glass roofs still shelter the ground with shadow casting disabled.
- Water falls as the project's physics falls. The waves' speed (how fast a wave of a given length travels) and a waterfall's path used a gravity of their own, 9.8 m/s², while the project's 3D physics takes the gravity set in Project Settings (9.81 by default): a project with a different gravity had boats bobbing to one pull and waves travelling by another. Both now take the project's gravity, in Play, in a build and in the editor. Rain rings on water are sized from the project's units a metre rather than from the gravity.
- Plugin asset types can use namespaces safely alongside paths containing colons. Releasing a resource by name reaches its own loader. Hot-reloading a dependency leaves handles belonging to other types available to the scene and inspector.
- Concurrent timeline loads keep each preview's nested clips available until their last owner releases them. Recursive script graph calls report the circular dependency. A hot edit that would make two published assets hold one another leaves the last working version in use.
- A loader callback can request the same timeline without preparing its children twice. Both callers receive the same published timeline, and the last release also releases its nested clips.
- Replacing a resource at the same path keeps the new resource available by name. Existing users can finish with the previous resource. Renaming or releasing it preserves the replacement, and an unused copy gives back its cache memory immediately.
- River banks no longer saw-tooth. Where a river's bed met the ground above its banks the cut folded sharply, and a fold at any angle to the terrain's grid was drawn by its cells as a row of teeth along the bank. The bank now rolls over into the ground across a width tied to the river's (half of its half-width, or less on a low bank, so the roll never reaches under the water and the waterline stays where it was). A river cut in stretches is now cut as one: a point under two stretches is shaped once, by the part of the river nearest it, so the bank is the same whichever stretch it falls in.
- Switching scenes with many persistent entities is faster. Tilemaps and character rigs share the scene's asset lookup during transfer. Meshes and textures with equal numeric handles retain their own resources, and a persistent sprite keeps the clip its UUID resolves to even when the scene loaded it by path.
- An interrupted scene load now releases its entities and asset references in both authoring and packaged games. A retry can load the scene cleanly after prefab expansion, asset loading or a streamed spawn fails. Other scenes and callers keep their existing resources.
- Scenes with many tilemaps or character rigs unload faster. Releasing the last holder now removes only that asset’s names. When a name is reassigned during loading or hot reload, existing holders keep their other names and teardown still releases every dependency.
- Resetting the scene manager keeps loaded sprites and meshes drawable. Entities from a loaded scene keep the assets they use and recover their visibility from before scene sleep. Reset also removes the old scene systems, cancels pending loads and transitions, and releases unused preparations. Registering the same scene again starts it with a single set of systems.
- Entities can move between scenes while a streamed cell unloads. Transferred sprites and meshes keep their assets, visibility and world transforms. Unloading a scene or rolling back a failed load preserves another scene's children, including those attached through temporary hierarchy nodes. Custom unload hooks can use
SceneRetirement.despawnto check ownership when each entity's turn arrives. - Overlapping requests to prepare and load the same scene now share its assets. Discarding a streamed preparation also works while it is waiting for a frame or reading an asset. Unloading and immediately reloading a scene keeps later callers attached to the new load.
- Spine and DragonBones share atlas pages with the textures loaded by their App. Two projects using the same image name keep their own artwork. Standalone previews share an upload between skeletons in the same load and give it back when the last skeleton closes.
- Spine animations pick up edits to binary skeletons as well as atlases. The typed loader and the Spine API share one read of the same skeleton and atlas. A new load after an edit receives the updated animation data even when the previous download is still running. Scenes and plugins holding the earlier version can finish using it.
- A late texture resize can no longer shrink a sprite or mesh that has reacquired the image. Releasing the last holder or editing the file removes the handle from streaming. Concurrent size requests apply the latest request, and streaming budgets stop counting released textures.
- Each App uses its own quality level when decoding mesh textures. Starting or closing another App leaves that policy intact, including when a packaged scene replaces its asset loader. Turning quality management off restores full-size textures. A texture load that starts another load keeps its own color space and sampler settings.
- Asset loaders sharing a graphics device can load the same texture path with different content, color spaces and resolutions. Each loader can reuse and invalidate its own cached texture. After the device recovers, held textures regain their pixels at the resolution they had before the loss.
- Editing a texture while it decodes now gives subsequent sprite and material loads the updated pixels. The earlier request can finish using its original image. Releasing both requests returns both GPU references, whichever decode finished first.
- The texture inspector reports each image’s actual GPU format during concurrent loads and after streaming changes its size. A KTX2 data texture that falls back to RGBA on the engine upload path retains its linear sampling, including normal and roughness maps.
- Apps can share animation plugins and play their timelines independently. Each app owns its timeline voices, spawned prefabs, sprite frames and playback events. Closing a preview or rolling back a failed installation releases only that app's animation resources.
- Sprite frame tracks animate the sprite named by their child path or player binding. Rebinding the track or reloading its timeline applies the current frame to the new target or texture, even while the playhead is paused.
- Circular material inheritance reports the two materials as soon as the cycle is found. A script graph can prepare the usable parts of a prefab whose agent points back to it. A hot edit that would make a graph own its live prefab keeps the last working graph. Concurrent readers of a material or mesh receive a live generation even if its previous holder releases it during loading.
- Loading a texture through
acquireTyped('texture', ref)andacquireTexture(ref)shares one upload and honors the same import settings and streaming quality. Concurrent callers can release their own receipts independently. Custom texture loaders registered for typed requests still handle those requests. - Water looks right from under it, through it and across the floor. Under the stock water material the underwater fog took a density a hundred times too thick (a fallback of 0.12 a world unit where the Water shader's own default is 0.0012), so a few metres of water hid everything; it now takes the shader's default, and a body's own Underwater Density is read per metre as its default of 0.12 implies. Seen from below, the surface past the critical angle mirrors the water's own light where the screen holds nothing to mirror, instead of black. Refraction no longer throws single pixels of deep water over shallows: its offset follows the bent ray's length in the water, not the eye's, and the scene's distances are read texel by texel. Caustics no longer end in a square round the camera: past the measured window the floor takes the same procedural threads the cheapest quality draws, scaled by the material's caustic strength. Waves seen against a low sun now let light through their crests (the Water shader's Crest Scatter, 0 for none). The underwater effect's light shafts take as many steps as a ray needs instead of always the most, which halves its cost on a view of the floor. In the Details panel a Water Body's settings are grouped Shape, Waves, Look, Rendering, Underwater, Terrain; a Water Zone shows its legacy ring settings only while Tile Size is 0 and its far distance settings only when the far distance mesh is on.
- Ripples are stepped on the GPU, and a floating body sits on the water it is drawn on. A Water Zone's ripples (what a body moving through the water or a script's
Waters.disturbsets off) are now stepped on the GPU in passes over a float texture instead of on the main thread, and the surface is lifted by them, not only shaded: the slope, the foam and the height all come from one texture, held to a half float instead of 256 steps. Near the camera a ripple is drawn as geometry; a ring of the mesh too coarse for it keeps it in its shading, as it already did for the shortest waves. The ripple window now sits where the camera looks onto the water rather than under it, so a camera on a shore looking out keeps its ripples in front of it.Waters.rippleAtreads the GPU's grid back a frame or two late.Waters.sample, which holds floating bodies up, no longer adds ripples (they follow the camera, so they differ from one machine to the next and a server has none), and it now leaves out the waves too short for the surface's finest mesh to draw: before, it summed every wave and held a body about 7 cm above the drawn waves of a default zone. The underwater waterline reads the same surface. - What lies on a river is carried by it. A river's waves and wind ripples already rode its current; its foam texture, the rings rain makes and the Water shader's detail maps slid in one fixed direction whatever the current, and the ripples a body or a script sets off spread about the place they started. All of them now ride the current the same way the surface does, and a wake in a river drifts downstream at the river's speed. Still water and the open sea draw as before, at no extra cost.
- Water is ready when scene warm-up finishes. Scenes that prewarm rendering wait for the water field and its surface material, so underwater absorption appears on the first visible frame even when baking spans several frames.
- A waterfall on its own is drawn, and ships. A scene with a Waterfall and no Water Body or Water Zone drew no fall at all: the systems that build it belong to the water module, which stopped after the first frame where it found no body or zone, before the stock Waterfall shader had loaded. A Waterfall now keeps them running, and an exported game whose only water is a fall (or a Waterfall Anchor, or a material on the Waterfall shader) now ships the water module, where before it was left out. A stock shader that fails to load now says so instead of leaving the fall undrawn in silence. Rain rings on water are a raindrop's size, in metres: they took the size and speed of the Water shader's wind ripples (Ripple Length), so longer wind ripples made rings metres across spreading at metres a second.
- Scene callbacks can request the same scene while it is loading or unloading. A load requested from setup receives the completed scene, and
whenLoadsSettle()includes that scene. During cleanup, a second unload joins the first and a same-name load waits for the old scene to leave.