18,657 Commits over 1,399 Days - 0.56cph!
Terrain: Add Hole tool
This is a seperate R8 texture currently, but will be JsonUpgrade and folded
once the splat map becomes an index map.
https://files.facepunch.com/matt/1b2111b1/0pGQXMLbc2.png
Browse cloud terrain materials button
Can drop terrain materials onto terrain in scene
Don't set cursor position if !IsAppActive()
Fix WatchPhysical() test, shouldn't be ticking before check
Oops - don't need obsoleted KeyModifiers anymore
Don't inject EnsureSufficientExecutionStack calls, see if that changes performance in any way
Lets see if CollectionsMarshal.AsSpan is any faster or if Nick Chapsas is a liar
Skip all this if we have no rendertree
Clean up
Hull collider can be updated without recreating the physics shape
Use MakeDirty for model collider
Sphere collider can be resized without recreating the physics shape
Capsule collider can be resized without recreating the physics shape
Add internal functions for updating spheres, capsules and hulls
GGXCubemapBlurHelper::GetFaceAndUVFromDirection was giving mirrored directions, recode it to point to correct direction, GGX skyboxes look very nice now, fixes a few issues specially in low resolutions, up sky.shader version so CI rebuilds textures
Plane collider can be resized without recreating the physics shape
Move this internal resize attribute to collider so I can make use of it for all the other colliders
Rebuild or update collider if they're a child of the rigidbody object and their local transform changed https://files.facepunch.com/layla/1b2111b1/sbox-dev_UFKO9q1Mrr.mp4
Fix hitbox adding box shape twice the size
Add Box Gizmo to Hitbox Component
Use SRGB texture in text shader
Fix calling Update for the active scene in editor for every scene that was open
Only sort children if it's needed
More optimizing
I'm not sure that the RENDER_BUFFER_DYNAMIC_VERTEX_FIXED_SIZE size restriction still exists
Text rendering use anisotropic
Switch text shader to use bindless (to see if there are any perf changes)
Terrain Materials accept dragged cloud assets
Convert the rest of RenderAttributes stuff to use StringToken
Move SetRenderState out of the draw loop, called manually
Add internal, templated Graphics.Draw<T>
Delete PanelRenderer.Text.cs
VertexLayout is public, has attribute system to define vertex layout
Don't push identity matrices when rendering UI
Fix last particle not processing
Add pitch and yaw to particles
Tick correct session in SceneViewWidget. Fixes occasional `Error calling 'tool.frame' on 'Editor.SceneViewWidget'`
Improve flatten tool, first stroke saves a plane to trace against to get flatten height and uv https://files.facepunch.com/layla/1b2011b1/sbox-dev_KIb8siErec.mp4
Update dirty collider region for heightfield materials
Fixed distance early out AO (distance black)
ditto
Merge branch 'master' of sbox
Hook up File -> Open Scene (Resolve TODO)
Particle system optimzations
Doing cubemap rendering with it's own rendering view is causing all sorts of issues, make it run on the same rendering view context as everything else again
Make SSR reconstruction ghosting less apparent
Fix for edges against distance objects
(i) do not apply AO on distant pixels (eg. skybox)
(ii) when calculating ao, any sampled pixel that is too distant will be rejected as a contributor to AO
Merge branch 'master' of sbox
Detangle all this from Cubemapper, make it able to render inline rather than on a render block
Redo update strategies from envmapprobe, much simpler, works everywhere now
Change dynamic envmapprobe to use 7 mips which is the calibrated value for Cubemapper, change default feathering value to a tighter .25f
Use parallax for ambient envmap lighting https://files.facepunch.com/sam/1b1511b1/sbox-dev_a6lt3mNtWW.mp4
PerformanceStats.Timings lockless
Make prefab variables section of heirarchy resizable, Facepunch/sbox-issues#5726
Remove SceneObject.GetSceneWorld()
Remove SceneObject_UpdateRayTraceTransform
Instead of updating SceneObject RayTrace's every time they move, lets mark them dirty and update them when the raytrace is actually used (which is probably never)
Don't cause a rebuild for mesh component when transform chances when scene is not editor
Remove hack from mesh component that is stopping hulls from being kinematic
Stop launcher from undoing editor prefs changes when kept open, fixes Facepunch/sbox-issues#5857, Facepunch/sbox-issues#5825
(Cookie containers will now process/accept new changes on disk before writing)
Revert "Don't create an empty gameobject when getting a cached scene if the prefab doesn't exist" - causes issues for prefabs on boot
No need to pin this memory anymore, height shape makes a copy of it
Update height collision region
Update height field without recreating the shape
Don't keep setting terrain collider to static if it's already static, this is causing an on dirty, don't dirty collider on heightmap region dirty, we should be able to update this faster
Don't create an empty gameobject when getting a cached scene if the prefab doesn't exist
When host loads a new scene, send a message, and have all connections reconnect to the game. We'll do this in a much better way later on
Better fix for English (US) keyboard layout being force added/removed
Can't think of any other way to filter out citizen assets, cuts down build by 1.8gb(!) so we'll have to live with this for now
Copy all compiled assets from enabled addons again, because sometimes they'll be referenced at runtime even though they're not in a dependency tree