22,418 Commits over 1,614 Days - 0.58cph!
[pick] remove shaders that don't exist anymore from CI building
Method for getting shadow index for baked light compatible with vulkan
"Open Empty Environment" button
For anyone that isn't working on a specific game (addon creators, mappers, etc)
SidebarButton.Clear acts more like a link
Rewrite RTK linebreaking algorithm
Draw pin button on right, make it blue when project is pinned
SidebarButton.Link functionality
Don't need to show the "show on startup" toggle outside of editor prefs
Fix ToggleSwitch not displaying correct value when starting value is true
StartScreen layout - pin menu row to top, only scroll through project launchpad itself
Moved glass to asset party
https://asset.party/facepunch/sboxassets
Add CopyToStagingResource3D for when trying to get texture pixels of a 3d texture slice, CopyToStagingResource only works for 2d resources
Proper way to do light indexed on ShadingModel Light API too
Sanity checks, remove debug views and some minor adjustments for viewmodel shadows
Remove last traits of g_flResolutionScale
Make EditorPreferencesWindow modal
StartScreen settings button, opens editor prefs
ToRelativeTimeString extensions for TimeSpan and DateTime (moved from PackageCard)
Launchpad project card displays relative time string
Project pinning
SidebarButton Link and Clear types are classes
Fancy switch button
https://files.facepunch.com/alexguthrie/1b2711b1/sbox_CXvCYYRATC.mp4
Remove Window.IsOnTop, calling Window.SetModal does the same thing
Rename switch to ToggleSwitch, move into Widgets/
StartScreen UI improvements, move custom widgets into partial class
Add TaskSource.WorkerThread()
Added test for GameTask.WorkerThread() / GameTask.MainThread()
Patch our C# launchers to enable discreet GPU usage by exporting NvOptimusEnablement & AmdPowerXpressRequestHighPerformance symbols
Animgraph spring demo graph/vmdl
Obsolete WorldOnly, EntitiesOnly and WorldAndEntities, Add StaticOnly and DynamicOnly
Blit cursor into in game recording when not in relative mouse mode
Button.Clear (similar to Button.Primary)
New start screen UI
https://files.facepunch.com/alexguthrie/1b2611b1/sbox_uofPG8ktak.png
Initial "one game project" logic
Basic start screen
Add Window.IsOnTop
Show start screen on boot if selected, display on top of editor
Apply WindowStaysOnTopHint on top of existing window flags
Hammer: fix crash with drag dropping map view
Assign what shadow index a baked light shall read from rather than iterating through the entire buffer and figuring it out, much faster way to do baked light shadows
Audio samples can be passed to audio frame directly without resampling
Citizen/animgraph: set voice parameter back to predicted
Resample audio from FLT to FLTP
Add audio encoding to video recorder. New in game video recording using ffmpeg instead of media foundation. Delete valve_wmf
Cleanup, controls for ambient occlusion, do indexed light viewmodel shadows sequentially, cast world shadows on viewmodel
Remove ExtraShaderDataFormat, just have everything uniform
Remove EXTRA_SHADERDATA_FORMAT from shaders too
Send voice level with voice data to server
Bump up voip layer volume
Citizen/animgraph: set voice parameter to not be predicted
FPArms: added proof-of-concept system for swapping to different first-person arms, with automatic adjustment for hand proportions
Example with a (very roughly converted) 4-fingered Citizen hand, in use with v_usp: https://files.facepunch.com/maxlebled/1b2411b1/sbox_2023-06-24_10-33-48.png
Fix strikethrough and underlines not drawing at small resolutions
Also a bit of cleanup around the area moving stuff to functions
Old Skin adjusted
https://files.facepunch.com/daniel/1b2311b1/Photoshop_mAWvj7n0Gu.jpg
Before and After, getting it up to date with the young skin textures.
UI: When building transforms, apply inverse of parent
UI: Temp ordered transform list when building matrix
Don't try to visit field of a delegate, we don't need to - fixes sboxgame/issues#2642
Whitelist Task.Wait() / Task.RunSynchronously()
Hammer: handle map node deletion when dragging - fixes sboxgame/issues#3092
Add editor.preferences event, passes NavigationView
Hammer: Import file undo action
Simple image asset preview widget
https://files.facepunch.com/matt/1b2311b1/sbox-dev_JD3vt5T6Q3.png
Revert "ShaderTypeManager shouldn't load manifest spritecard shader" - I wanted to stop vfxcompile loading this every time, but this breaks map compiling? 😵💫
Checkboard error shader, doesn't show through walls (same as cs2)
Add undo scope when creating new reroute
Add Reroute to context menu
Only show comment and reroute on context menu when there's no search filter
ShaderGraph: Fix some nodes causing compile errors when used in vertex shader
vfxcompile into a normal exe, remove ivfxcompile, remove loads of vmpi shit, materialsystem2 stop linking vfxcompile
Fix vfxcompile always saying building 0 shaders
ShaderTypeManager shouldn't load manifest spritecard shader
Misc materialsystem2 fixes
Make border-wrap size resolution independent
UI: Flip top & bottom angles to match spec
UI filter & text shader cleanup
Move nature models to asset party
Remove all hacks we had for a second shadow atlas for viewmodel shadows
Sharp viewmodel shadows prototype, remove last references to viewmodel atlas
Mixed lights support viewmodel shadows, recalculate frustum to always focus on the best alignment for the viewmodel bbox so it always stays sharp
https://cdn.discordapp.com/attachments/1118902360970899456/1119228713591132230/sbox_0031.mp4
SSAO test for viewmodel
Fix dynamic ambient occlusion not being applied for CalculateDiffuseAmbientOcclusion
Try a few more AO techniques
Composite viewmodel AO, and this should be the right way to do HBAO
Remove nonsense resolution scale stuff in common.fxc that's unreferenced in code and causing problems (defined before system.fxc wtf)
Allow compute on renderpipeline to do multiple dispatches, HBAO as compute,HBAO bilateral blur
Use hammersley rather than bluenoise, looks a ton better
New Outfit Piece! - Eye Cover
https://files.facepunch.com/daniel/1b2211b1/sbox-dev_IPlz0gEa4Y.jpg
Another clothing piece to add to the creepy collection. LODs coming ASAP.
materialsystem2 stop trying to load rendersystemdx9
User shaders set attributes for vrad3 - fixes lightmapping, do not cast shadows, and probably other crap
Recompile blendable with fixed attributes
Added Texture.GetPixels<T>(srcRect, slice, mip, dstData, dstFormat, dstStride)