usermattcancel
reposboxcancel

1,298 Commits over 943 Days - 0.06cph!

1 Hour Ago
TerrainMaterial resource with custom compiler which generates 2 packed vtex_c from 5 PBR source images https://files.facepunch.com/matt/1b1611b1/FvEbxe3xoQ.png [pick] DragAssetData.Parse: Resolve local assets first before trying to package ident Don't force Terrain creation through GameObject menu, don't hide terrain asset generation in here, make it so you can add a Terrain component Add TerrainMaterial AssetPreview - we'll use this for the editor ux too Replace horrible TerrainData/TerrainDataFile combo with TerrainStorage GameResource Stub TerrainStorage ResourceEditor Remove special terrain save logic from SceneEditorSession, use scene.saved editor event Terrain component editor supports creating or linking TerrainStorage if none is attached https://files.facepunch.com/matt/1b1611b1/PiMEhkVZd8.png Terrain component editor split settings into its own tab, add filter properties https://files.facepunch.com/matt/1b1611b1/obbHlfw3m8.png TerrainLayerList -> TerrainMaterialList - much simpler, use the TerrainMaterial's AssetPreview thumb DragDrop TerrainMaterial into TerrainMaterialList TerrainMaterials GPU buffer, shader uses BCR/NHO textures with 2 channel normal, adding height and AO parameters PreviewTerrainMaterial: Add nho texture, make previews way bigger https://files.facepunch.com/matt/1b1611b1/6eH6XTWtsI.png [pick] Material API specular obeys S_SPECULAR same as Valve's PS_FinalCombinerDoLighting (you can turn it off) Disable specular on terrain https://files.facepunch.com/matt/1b1611b1/sbox-dev_SWZ86cs1iM.png https://files.facepunch.com/matt/1b1611b1/sbox-dev_hhcEQ6Tnhp.png TerrainMaterial add metalness TerrainDropObject
Yesterday
Cleanup
6 Days Ago
vtf project unused Save Scene default path is assets path
8 Days Ago
README: Link to docs, remove old docs, unrequired prerequisite
10 Days Ago
vtf project unused TerrainMaterial resource: custom compiler that generates 2 packed vtex_c from input images
13 Days Ago
A few more obvious ones
13 Days Ago
Remove ModelRenderer.OnPreRender, use Transform.OnTransformChanged
13 Days Ago
BufferedHashSet: Add removes from removals queue & Remove removes from additions queue
13 Days Ago
VTEX_InitCreationDescFromHeader: check for nullptr
14 Days Ago
Validate shader descriptor bindings, refuse to load invalid shaders that will crash (shaders compiled with compiler bugs that were fixed)
16 Days Ago
Terrain: use bindless textures Terrain: use roughness from normal alpha
17 Days Ago
Force push compiled surfaces & decals Fixes Facepunch/sbox-issues#5429
17 Days Ago
Add [TestClass] to LibraryTests in library template Fixes Facepunch/sbox-issues#5418
20 Days Ago
BufferedHashSet<T>: For safely iterating over a hashset that can be modified without needing a copy Optimize GameObject.Network, we do not need to constantly find the network root, it should only be set on network spawns and parent changes Sandbox.Game convars work in editor again Codegen IUpdateSubscriber and others on Components that implement those methods Scene update loop only iterates over enabled components that implement each of their methods; OnUpdate, OnFixedUpdate, OnPreRender
20 Days Ago
BufferedHashSet<T>: For safely iterating over a hashset that can be modified without needing a copy Optimize GameObject.Network, we do not need to constantly find the network root, it should only be set on network spawns and parent changes Sandbox.Game convars work in editor again Codegen IUpdateSubscriber and others on Components that implement those methods Scene update loop only iterates over enabled components that implement each of their methods; OnUpdate, OnFixedUpdate, OnPreRender
20 Days Ago
BufferedHashSet<T> Use BufferedHashSet<Component> to safely iterate components without a copy Name this ComponentSubscriberInterfaces, name interfaces IUpdateSubscriber etc.
21 Days Ago
Test out this iterator safe workset collection, this probably has some fancy standard name
21 Days Ago
Codegen adds Sandbox.Internal.IWantsOnUpdate etc. when those methods are found on Component derived classes New update mode, iterating over components with IWants interfaces Sandbox.Game convars work in editor again Run legacy game loop on older assemblies Make sure we run interpolation on the new loop, this is being rewritten atm so I don't wanna touch it Optimize GameObject.Network, we do not need to constantly find the network root, it should only be set on network spawns and parent changes Check Component.IsValid() just in case they've been immediately deleted
21 Days Ago
CitizenAnimationHelper: FootShuffle becomes more generic MoveRotationSpeed, update docs for what this parameter is doing now
22 Days Ago
Make sure we run interpolation on the new loop, this is being rewritten atm so I don't wanna touch it Optimize GameObject.Network, we do not need to constantly find the network root, it should only be set on network spawns and parent changes
22 Days Ago
Make sure we run interpolation on the new loop, this is being rewritten atm so I don't wanna touch it
22 Days Ago
Codegen adds Sandbox.Internal.IWantsOnUpdate etc. when those methods are found on Component derived classes New update mode, iterating over components with IWants interfaces Sandbox.Game convars work in editor again Run legacy game loop on older assemblies
27 Days Ago
Resolve circular dependency on base csproj
28 Days Ago
Use interfaces instead of attributes Unused GameObject.PreRender Component.OnStart works on components that don't implement OnUpdate
28 Days Ago
Codegen applies attributes if OnUpdate, OnFixedUpdate or OnPreRender are implemented Only call OnUpdate, OnFixedUpdate, OnPreRender on components that implement them. Also call them flat instead of recursing every GO 3 times
28 Days Ago
Fix hlsl antlr grammar 🙄 Fixes Facepunch/sbox-issues#5382
30 Days Ago
Can use Alt+F4 to close the game
30 Days Ago
Force add compiled menu scenes
30 Days Ago
Cast shadows of non culled lights, not culled lights.. wtf? Only debug draw actual shadow casters, add spot light debug drawer
30 Days Ago
Make AssetInspector an InspectorWidget, fold multiple inspector into it which hadn't worked for a while Fixes Facepunch/sbox-issues#5372
30 Days Ago
Only show the considered lights in the debug view, we don't cull the unconsidered lights so it'd show them as unculled
30 Days Ago
Fix Asset.CompileIfNeededAsync getting stuck Compile all non-existing and out-of-date assets on project startup Opening project progress gets reported to splash screen Bunch of resources that were out-dated Dead code
35 Days Ago
Stats properly count shadowed lights again, add shadow map count too Expose scenesystem stats to c# Main stats we want
36 Days Ago
sc_show_rejected_lights
36 Days Ago
Make CTextureManagerVulkan::GetTextureResource warning only when passed handle isn't invalid, matches behaviour of similar methods BufferedDescriptorSetVulkan: Handle handles with no data properly, e.g 2 queued texture updates where the 2nd one is replaced data in the handle
37 Days Ago
Fix recent `ResourceHandleToData( ) failed! Falling back to error texture!` spam for error textures
41 Days Ago
Auto collect font files to upload too
42 Days Ago
Dead materials
42 Days Ago
Thank god nobody was using these Delete unused shaders/includes vfx preprocessor auto includes system.fxc Raw dog bindless API, we can build something higher level on top of this
44 Days Ago
Open project when created Adding a new project sets it to the top Don't copy .gitignore if it exists - fixes Facepunch/sbox-issues#4634 Opening a .sbproj adds to project list
44 Days Ago
TypeSerializedProperty.TryGetAsContainer should not propogate NoteChanged, commented on this behaviour - Fixes Facepunch/sbox-issues#5174
44 Days Ago
Accumulate escape presses across all input contexts - Fixes Facepunch/sbox-issues#5314
45 Days Ago
AMD driver check: 2.0.279 is fine for Polaris/Vega
49 Days Ago
Skip driver version check if running under proton
49 Days Ago
Revert "HotloadManager disposes Hotload instance, was stopping assembly unloading" This reverts commit 1d83455903d1b9995c5680c933c49738ce22f149. Revert "LoadContext.Unload also unloads all it's IsolatedAssemblyContext" This reverts commit 672aabaadd48f649bf3c38068d4efe2e2c55780e.
49 Days Ago
HotloadManager disposes Hotload instance, was stopping assembly unloading Warn for older AMD GPU drivers too, 2.0.283 has a driver crash when child processes are opened
49 Days Ago
LoadContext.Unload also unloads all it's IsolatedAssemblyContext
50 Days Ago
Use a fresh PackageLoader when loading new games - fixes Facepunch/sbox-issues#5219
50 Days Ago
CVfxStackMachineBuilder::FindConstant case insensitive
50 Days Ago
This should be engine internal, expose with EditorUtility Remove debug line