Repository navigation
Conversation
Generate glyph SDFs and kerning in parallel, store only non-zero kerning pairs and upload all glyph layers at once. Render text with the unjittered projection to avoid shaking.
|
您好,我已收到邮件,谢谢!
|
Not up to standards ⛔🔴 Issues
|
| Category | Results |
|---|---|
| BestPractice | 1 medium |
🟢 Metrics 475 complexity · 5 duplication
Metric Results Complexity 475 Duplication 5
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
SetGlobal sets the world matrix right away and derives the local matrix, keeping the matrix of the last frame for motion vectors. The editor uses both instead of its own helper, and moving a selection no longer moves children of selected entities twice. Both are exposed to Lua.
IsFullyLoaded also waits for the terrain and counts resources that failed to load as finished. The ocean animates with the scene time, and the smooth brush leaves holes and texels without valid neighbors unchanged.
The search job gets the search text, the filter and the component pools as copies, so the scene can update while it runs.
Methods of component references are forwarded in Lua and created once per method, errors propagate as Lua errors instead of C++ exceptions.
The glyph range started at the font's byte offset. Removes the load time log and shortens a cloud shader comment.
--serve keeps scenes loaded and runs jobs from a command folder (loadScene, reloadScene, unloadScene, run, stop). --pipeline builds a scene with a sequence of edit jobs and keeps snapshots of each step, so only the steps after a change run again. New edit operations: terrain copies and brushes, scatter, clearArea, prefabs made from scenes or parts of them, mesh and material copies, mesh settings and material replacement, dry runs and edit queries. New queries: terrain, terrainSample, terrainMap, route and buried. Manual cameras can be placed relative to the ground.
Ignored bodies are filtered in the Jolt query. Continuing the ray behind them started inside of convex shapes, which count as solid, so rays gave up after an ignored capsule and missed the terrain below it. The mesh pass of Scene::CastRay only tests the meshes in the octree nodes along the ray instead of all meshes of the scene. Ground rays of scripts in large scenes took several milliseconds per frame.
The coverage only depends on its resolution and restoring a scene backup recreates the same height field, both were generated again each time.
Topmost entity lookups, hierarchy collection, the ground below an entity, lights, mesh bodies and placement are shared between operations, checks and queries. Pass targets are recreated after a resize.
SSGI swaps its history textures instead of copying them.
The froxels are an alternative to the ray marching. Lights are culled per froxel cluster and the in-scattering is accumulated over time. Temporary tuning options are only in the fog panel and are not saved with the scene.
…t scattering and indirect light
…tory and add transition helpers
…fied simulation mesh of level 0 that is built once per mesh at runtime (MeshSimplifier with regularized triangles, area masses, pins per component), shares the Jolt settings of bodies with the same geometry, and only entities with a body are drawn and ray traced from their vertices; software ray tracing deforms skinned meshes and soft bodies with the same deform pass, cloth layers, wind, simulation distance, the editor panel with a pin gizmo, Lua bindings and the capture softBodies operation come with it, and rigid bodies are read back in parallel
…ce refresh, cull meshes, level of detail selection, host and GPU culled draws and the readbacks get their own members, and mesh slots separate their instances from the state derived in every update
…smaller offset at distance
…ents, transform dirtiness on save, model radius, resource shutdown waits, uninitialized resource hash and logged load exceptions, swap chain resize on async submits, dead code (job signals, shape settings, wasStatic, hasChanged), Lua script components run moved out of their pool and move back only to the same entity version, constraints remapped for fresh entity ids, binary scenes read as MessagePack, BJData or text, impostor paths saved while streaming, UpdateTransforms for tools also moves bodies, quitting can be refused by the engine instance, pre-exposure computed once per update
…nto one region per mesh and view shared by all levels of detail, windings and impostors (Medieval index buffers 199 -> 39 MB), the occlusion test keeps the level of detail of the first culling, moving instances no longer grow the slot bounds along their way, Cull returns a CullFrame instead of hidden members, LODs are limited to built LOD BLASes, the opaque and shadow draw loops share SubDataDrawer, jointOffset is deformOffset, materials are packed in one place and the dead impostor matrix path is gone
…city map against a shared cutoff), RayTracingWorld only reports valid with a built or current TLAS, BLAS refreshes and replaced handles are tracked, the deformed instance update shares its checks, RTReflectionRenderer is split into SSR, trace, upsample and filter passes, deferred shadow rays are a helper of RTGI and reflections, ray binning and triangle lights are removed, shared texture coordinate, opacity and upsample helpers
…ales the scattering, the light path integrates the clamped height profile like the froxels, fog volumes have an albedo, old scenes and fog volumes migrate once while loading
…read back and pre-exposes the lighting in quarter stops with a margin, the exposure compensation corrects it, the post processing applies the remainder, the histogram covers luminanceMax (default 100000); bloom upsampling adds its mip, DLSS and FSR2 barrier and format fixes, screen space shadows and SSS only with a main light, the atmosphere probe is cleared once without a sun, light culling and point shadow fixes
…by the control shader or clipped without tessellation instead of NaN positions, heights are encoded the same way by baking, brushes and the height map export (brushes stored holes as height 0), hole texels get upward normals, brushes check their bounds, older terrain files load with their header, material paths and 3-channel normals, truncated files fail before any transfer
… before the next job and variant, a null settings patch removes an optional feature, play after variants uses the job settings, real-time waits render frozen, makePrefab with an entity and an area, compressTextures and materialCopy keep loaded materials and references consistent, edits refuse materials patched by the settings, queued captures are dropped when a job finishes
…ges, hierarchy drops move the dragged entity and never below itself, open ancestors stay at the top of the hierarchy as sticky rows, the scene window toolbar is split into functions, spline gizmo and asset editor history fixes, queued blocking operations
…y in the feature index
…asynchronous scene work clears its render list
…draws of a pipeline into multi draws: meshes without host access upload into chunk buffers per vertex format and index type (shared with the transfer queue, new geometry goes into the fullest chunk), the culling writes absolute first indices and vertex offsets, material, textures and wind of the draws come from a device local buffer read with gl_DrawID, draws are sorted by cost and pipeline, host draws of pooled meshes keep the chunk bound; GPUDraws group the culled draws of a pass, one slot map for meshes and soft bodies, streaming requests move to SceneRequests, deformed ray tracing instances keep their index buffer, the editor updates the pipelines when vegetation or back face culling changes
… of all their views and only test them against each view, instead of an octree query per view whose inner nodes added their entities untested; remove the unused GetRenderList of Scene and SpacePartitioning
…gh static switches and reroutes don't move the vertices, compiled graphs know whether their shadow reads the time, the wind or the camera and whether it reads texture coordinates
…: passes hash their instances, levels of detail, impostors, mesh geometry and pipeline versions and material parameters, the shadow renderer only keeps final maps (no pending or animated graph pipelines, default textures, UV animated cutouts or unready pipelines), Shadow::Update draws all views again and movable lights only request an update
…switching between shader variants rewrote the bound sets
…keep their update until they are visible, movable lights also skip their views outside of the camera
…st UpdateTransforms call, edits with thousands of operations reprocessed all earlier changes each time
…t, write the engine version into saved files and drop resources and pipelines when the asset directory changes
…d a Lua host without a scene and let material graph bindings fail on invalid arguments
… scatter, faster clearArea and exclusion lookups, cached names for add operations and logs of slow edit operations
…he open editor, script errors for impossible commands, new icons and a smoother camera animation script
…ports --crash-diagnostics enables VK_NV_device_diagnostic_checkpoints and VK_EXT_device_fault where the device supports them. Command lists write a checkpoint for every GPU profiler query, so a lost device logs the query the GPU was in and the faulting addresses. The profiler queries are turned on with the flag, also in release builds and in the bridge.
…action, translucent shadows and path traced translucency Materials get a blend mode (alpha, additive, multiply), a refractive index and a thickness. Translucent sub data is left out of the G-buffer and impostors, its instances are host culled and drawn back to front by the TranslucentRenderer after the ocean. The closest alpha blended surfaces are written into a front layer where the ray traced reflections start, the translucent pass blends its coverage into the reactive mask and its motion into the velocity. Refracting surfaces trace the background in screen space through their back faces (optional with the screenSpaceRefraction setting), fade the refraction out at the screen edges and blur rough refraction by the cone of the refracted rays, the distance and the magnification. Shadow maps dither translucent casters by their opacity with a pattern changing every frame. Ray tracing reads the blend mode and the refractive index: rays pass translucent surfaces, meshes with only translucent materials have instance masks of their own, the path tracer blends, refracts (rough surfaces through sampled microfacets) and only refracts at back faces of one sided surfaces. The path tracer gets cloud shadows and no longer resets its history by velocity. The deferred passes get the G-buffer bound again after the translucent passes, which share set 1 bindings with them.
…ve transmission its own material section The parameter list of the material editor moves into MaterialGraphParametersPanel, which the entity inspector uses for materials with a graph. Graphs that describe the surface show the material properties as properties for ray tracing below their parameters. The transmitted color leaves the surface section with a tooltip saying what it does.
…d entities in the editor status GenerateMeshImpostor swaps the generated impostor into a resource whose earlier load failed instead of keeping the failed one. The status tool of the editor MCP server lists the selected entities as "Name (#id)". A run of add operations tracks with a flag whether it compared the names without collecting them.
…nd rays on the surfaces they pass behind Water next to stones refracted the stones standing in front of it, which showed their lit tops as bright edges. The screen space trace now ignores the background where it's closer than the refracting surface and falls back to the background straight behind it. Rays passing behind a surface end on it instead of seeing the probe, which put the sky into water in front of submerged stones.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.