14,461 Commits over 1,614 Days - 0.37cph!
Include new .sbox/cloud directory as build map cmdline -searchpaths arg
Update Facepunch.ActionGraphs
Renaming assets now lets you just change capitalisation, resolves Facepunch/sbox-issues#6564
Clear out null components on hotload
Add RigidBody version of Sweep to Scene.Trace
Forgot to return array to pool
Fix non uniform scale sphere collider updates
Don't rely on keyframebody when updating colliders, they could be sweeping to a new position so the shape gets updated using an incorrect local transform
Fixed input settings not being applied in subsequent games (d'oh)
Try to make restitution work with soft contacts, fixes bouncy surfaces when dynamic collides with kinematic
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.
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
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
▅▇▇▋▅▅ ▊▍▄█▍▊ ▆▉▉ ▉▌▌▅▇▋█▅▊ ▉▇▌█▊█▅▊▍██ ▊▅██
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
Ensure that selected Media is 16/9 in PackageModals
Apply cubemap normalization properly on flat ambient light
Apply subsurface scattering to IBL lighting, looks shit otherwise
https://imgur.com/a/yipFu52
Fog Fix, allows you to change light settings for volumetric fog specifically and does a massive cleanup, last try of this had some perf issues but should be sorted
Squashed commit of the following:
commit 4c0d34857bb545c62a83b6b09ef65261dca3ddd8
Author: Sam Pavlovic <sam@sampavlovic.com>
Date: Thu Oct 3 18:41:48 2024 +0100
We dont use CLightBinnerStandard::InitForView twice in same view, rename GetLightbinnerStandard from scenesystem to not conflict with views getlightbinnerstandard which has different behavior
commit 8f3d1244f38a74525bcba28dc520ae5bf1dd1099
Author: Sam Pavlovic <sam@sampavlovic.com>
Date: Wed Oct 2 14:06:40 2024 +0100
Make fog lights buffer persistent with the volumetric fog's lifetime
commit 0d5bee31cad9b54fc75e2dbff85accfd03d7b3e1
Author: Sam Pavlovic <sam@sampavlovic.com>
Date: Wed Oct 2 13:52:39 2024 +0100
Make sure this is properly inlined to never trash cache
commit 5709fcf4b113088c684c095fc08d05fe176f940c
Author: Sam Pavlovic <sam@sampavlovic.com>
Date: Wed Oct 2 11:46:35 2024 +0100
LightBinner::InitFromParent and disable fog shadows
commit 93fa098f5c55bddfa4b3d3261b26b7c9edfc8dd8
Author: Sam Pavlovic <sam@sampavlovic.com>
Date: Tue Oct 1 18:01:49 2024 +0100
Some lightbinner cleanup, allow it to be used directly without the complex system that scenesystem wants, remove bRenderFogClipmaps for
commit 6f0125fd6ad1bf5512346ffe3c727532a6687cf4
Author: Sam Pavlovic <sam@sampavlovic.com>
Date: Fri Sep 6 13:23:03 2024 -0300
Put fog mode in it's own category and add nice icons to them
https://files.facepunch.com/sam/1b0611b1/zwd8qAJFu7.png
commit 0ff3702c73cf54edddc5dd82b8c54598904fae10
Author: Sam Pavlovic <sam@sampavlovic.com>
Date: Fri Sep 6 13:14:08 2024 -0300
Share dynamic shadow atlas if we have more than one lightbinner per view ( for example, fog ), fix light fog strength
commit 50170c166dd1cc37d863046aa632a30fb6629860
Author: Sam Pavlovic <sam@sampavlovic.com>
Date: Fri Sep 6 12:47:35 2024 -0300
VolumetricFogRenderer has it's own lightbinner outside of lightbinner pool, does lightbinning to fetch fog lights for the fog context only, fixes fog light settings not doing anything, deprecate LAYERFLAGS_NEEDS_FOG_CONTRIBUTING_LIGHTS since we don't need special code for that anymore
Don't update shadows on fog pass, some lights are set to be updated always but should all be fetched from cache
RectInt: your favourite Rect struct but with integers
Texture.GetPixels: Able to specify dstRect fully
Terrain optimizations, better undo/redo, clean up
* Implement new undo/redo system, track delta changes instead of full snapshots (faster, more reliable)
* Don't upload buffers every frame in OnPreRender
* Stop using MakeDirty, each property only updates what it needs to
* Only create SceneObject when we can actually use it
* Don't over expose public methods & properties, remove dead methods
Optimize TerrainStorage.GetDominantControlMapIndices 400ms -> 1ms
Pass in a buffer we get from ArrayPool instead of allocating and returning, also preresolve some getters
Vector3: Aggressive inlining on aggressively inlined System.Numerics.Vector3 methods
TerrainClipmap mesh gen optimize 266ms -> 26ms
Rotation can parse from serialized Angles, resolves Facepunch/sbox-issues#6085
Save viewport settings to project cookie instead of global editor cookie
Fix scene view cookie not always correctly saving
Scene view: Save 2d zoom per-scene alongside camera position/rotation
Scene view: Save Layout to project cookie
Editor: add ability to define launch arguments for new game instances, resolves Facepunch/sbox-issues#6095
Resolve Facepunch/sbox-issues#5844 - Input.ReleaseAction/Actions should work across contexts
Update Facepunch.ActionGraphs