20,764 Commits over 1,522 Days - 0.57cph!
Try to make restitution work with soft contacts, fixes bouncy surfaces when dynamic collides with kinematic
WIP cookie get / set node
Better handling for this edge case, also handles empty strings and when the editor itself is mid-shutdown
Grab a few edge cases preventing all scenes from loading from the last session
Update Facepunch.ActionGraphs
Editor will restore all opened scenes/prefabs from previous session, not just the last one.
Don't wipe facets if there aren't any to replace them with, or if we don't find any packages at all
Show asset type color in tag picker
Drag-drop
Open folder context menu in blank space
Renames, deletes, duplicates handled by IAssetListEntry
CloudBrowser cleanup
Ended up not using any of this, get rid
PackagePopup: show tags, word wrap
NRE fix
Fix warnings
Missed Sound Point description
Add JsonUpgrader support to ConfigData - will be using this for Input config updates
Fix formatting of node titles with type params
https://files.facepunch.com/ziks/2024-10-07/NTc7SLTOVR.png
Add built-in nodes for Scene.GetAllComponents<T>()
https://files.facepunch.com/ziks/2024-10-07/SUbPeMLFFP.png
Added descriptions to Components that didn't have them. Most are self-explanatory, but should help reduce some confusion. Resolves Facepunch/sbox-issues#6560
Split out InputSettings into Input.config - backwards compatible
Add experimental r_tiled_rendering_conservative_culling so people can play with it, uses near-z approach for tiled culling for even better perfomance, doesn't play well with translucents, will be deprecated when we have two sets of light lists
Don't do OnDisabled(); OnEnabled() on Skybox2D dirty but clean up probe cleanly if needed
Scaling should not be applied to NormalToLocal and NormalToWorld but happy to be proven wrong
Fixed transformation order for PointToLocal and PointToWorld, add some tests to make sure they match ToLocal and ToWorld
Test tl, tr, bl and br corners instead of updownleftright for cone frustum culling
Tiled Frustum Culling (#1669)
SkyBox2D Indirect Lighting ( Reflections/IBL ) can be toggled, hammer maps don't expect skyboxes to be used for lighting since it has vrad
Be more conservative by testing 4 points of cone base rather than a sphere shape
Tiled Frustums
Start moving tiled_light_culling to use frusta
Iterate frustum tiled culling
Near/far tiled frustum planes
Very simple ConeIntersect and AABBIntersect
Cubemap frustum cullinng
Show cubemap complexity on tiled debug vis as well
https://files.facepunch.com/sampavlovic/1b2911b1/HM0UBknyYv.png
Set up things to use worldSpaceNear to fix orthographic rendering with tiled rendering, use depth min/max for building tiled frustums
https://imgur.com/a/tybd5Dv
Fix ortho projection for CalculateScreenTiles
fix DepthMinMax on ortho projections, fixes tiled lights on ortho projections
https://files.facepunch.com/sampavlovic/1b3011b1/ZiyxdtwHc1.png
Delete tiled_frustums_cs, main shader does everything, we recalculate it every frame anyway since we also match the depth chain for the far plane, can store it later again from it if we need it for anything
Transform plane directly to local instead of using inverse matrix
Light.GetInvertedRadius() not used anywhere, let's make it Light.GetRadius()
Push radius changes to lightbinner.hlsl
Fix frustum calculation so it wouldnt mess up with low farz, fix FetchDepthMinMax
Using invprojrow3 to linearize depth feels a bit incorrect specially when moving far-z use correct algorithm, can be accelerated later
Depth Near-Far was inverted on tiled_culling, perfect for both near/far planes now
Allow using conservative near-z culling with D_CONSERVATIVE_CULLING and remove elegibility of D_DEPTH_PREPASS, we always have it
https://i.imgur.com/9UlrmTc.png
https://i.imgur.com/joEz72S.png
Allow using conservative near-z culling with D_CONSERVATIVE_CULLING and remove elegibility of D_DEPTH_PREPASS, we always have it
https://i.imgur.com/9UlrmTc.png
https://i.imgur.com/joEz72S.png
Using invprojrow3 to linearize depth feels a bit incorrect specially when moving far-z use correct algorithm, can be accelerated later
Depth Near-Far was inverted on tiled_culling, perfect for both near/far planes now
Fix frustum calculation so it wouldnt mess up with low farz, fix FetchDepthMinMax
Push radius changes to lightbinner.hlsl
Light.GetInvertedRadius() not used anywhere, let's make it Light.GetRadius()
Humans: hook up an extremely basic animgraph so the model stops exploding if you try to use it
Human: normalize movement animation root speed to 80 u/s across animations + lower new constraint weights slightly
Humans: improved existing movement animations
Fix LaunchArguments.Map not working
Serialize animation parameters if they're changed in editor https://files.facepunch.com/layla/1b0611b1/sbox-dev_paNSU6QjyT.mp4
Run animation for skinned model renderer in editor if it has any stored parameters because we want to see them
Signal values changed for float slider, OnChildValuesChanged wasn't called when moving slider
Rebuild colliders immediately instead of next update
Fix NRE setting null surface on physics body or shape, should just set to default surface internally
Don't submit package exceptions in the editor
▅▇▇▋▅▅ ▊▍▄█▍▊ ▆▉▉ ▉▌▌▅▇▋█▅▊ ▉▇▌█▊█▅▊▍██ ▊▅██
Invoke events
Clean up
Implement asset picker
If a picked asset is a cloud package then stick the ident in the search bar in the asset picker
Rather than going to .sbox/blablabla
Fix crash from drawing SceneObject with an override but no mesh material, resolves Facepunch/sbox-issues#6553
Fixed dedicated server console
No api for dedicated server
Create Run-DedicatedServer.bat
Fixed couldn't connect to ip based servers
Fixed couldn't read messages from dedicated server, because we didn't think they were the host
dedicated server doesn't try to play sounds
Clamp dirty regions within terrain bounds
Explicit updates for Terrain material buffers since we're not uploading this every frame like a mad man now
TerrainMaterial.Metalness range 0.0f - 1.0f
Always trigger native asset reload when files are added or deleted while in editor
- Fixes cases of error/fallbacks being used until a restart when a resource is added or a package updated.
- Deleting resources will now also update to accurately show fallbacks for most types.
Added GameObject/Component EyeDropper. Can select by clicking on an object directly or through the hierarchy. Resolves Facepunch/sbox-issues#6547
https://files.facepunch.com/CarsonKompon/2024/October/04_11-04-ChocolateXiphias.mp4
Dragging a prefab into a scene view uses the scale of the prefab. Resolves Facepunch/sbox-issues#6548
Terrain: Make texture paint & holes also work with new undo
Transform plane directly to local instead of using inverse matrix
Tiled Frustums
Start moving tiled_light_culling to use frusta
Iterate frustum tiled culling
Near/far tiled frustum planes
Very simple ConeIntersect and AABBIntersect
Cubemap frustum cullinng
Show cubemap complexity on tiled debug vis as well
https://files.facepunch.com/sampavlovic/1b2911b1/HM0UBknyYv.png
Set up things to use worldSpaceNear to fix orthographic rendering with tiled rendering, use depth min/max for building tiled frustums
https://imgur.com/a/tybd5Dv
Fix ortho projection for CalculateScreenTiles
[pick] Fix Depth::GetLinear and add Depth::Linearize
fix DepthMinMax on ortho projections, fixes tiled lights on ortho projections
https://files.facepunch.com/sampavlovic/1b3011b1/ZiyxdtwHc1.png
Delete tiled_frustums_cs, main shader does everything, we recalculate it every frame anyway since we also match the depth chain for the far plane, can store it later again from it if we need it for anything
Ensure that selected Media is 16/9 in PackageModals