usermattcancel
reposboxcancel

1,460 Commits over 1,157 Days - 0.05cph!

11 Months Ago
Native resource Load methods should only be called from main thread, the resourcesystem has no idea what to do with a blocking load on a thread and will just crash
11 Months Ago
Each SceneMap has a unique SpawnGroupHandle, fixes crashes with multiple map instances (including 3d skyboxes) in scenes
11 Months Ago
AssetSystem.CreateResource - create empty json not kv3 since I removed the legacy kv3 path TerrainEditorTool use EditorTypeLibrary for paint tools
11 Months Ago
Fix a `ERROR: Reentrant call to CResourceSystem::FrameUpdate()` caused by some resource compilers using g_pRenderDevice->Present() to clean up resources, this was cascading into swapchain updates when the window was resized (which always happens at startup) - which then make another call to the resource system to free previous swapchain resources.
11 Months Ago
Fix infinite loop compiling games, sorry!
11 Months Ago
Check typedef before we try and use it PackageLoader: Don't add a package to loaded until we know the assemblies aren't going to throw
11 Months Ago
Graphics.Draw (RenderTools::DrawSceneObject) passes non-uniform scale to shader
11 Months Ago
Input action keybinds accept Tab Input actions setup MOUSE buttons correctly, also uppercase everything so it's consistent
11 Months Ago
Fix map 3d skyboxes lifecycle by making them map components Offset 3d skybox camera by skybox_reference position
11 Months Ago
git-blame-ignore dotnet format commit LineEdit: Enter key blurs the widget Bounding box editor tool Add ITerrainPaintTool for easily extensible terrain painting tools
11 Months Ago
Fix build
11 Months Ago
Fix imprecise degrees <-> radians which was causing bad quat <-> euler Rotation.Angles(): at singularities pitch should always be +-(π/2) A few more tests around euler angles at singularities
11 Months Ago
Time out if we can't connect to a host when joining a lobby
11 Months Ago
Delete all vmat_c except a few required ones - should build correctly on CI since contentbuilder fixes Registering textures here shouldn't be needed anymore
11 Months Ago
Less spaghetti on project initialization: only load user projects in editor mode, add & compile built-in first and only error then, remove dead code paths
11 Months Ago
EditorSplashScreen remove StaysOnTopHint - intrusive to all other OS windows and hides exception dialogs Bail starting tools if our base projects fail to compile because nothing will work and it's impossible to recover
11 Months Ago
Actually use the sky_camera offset/angle/scale in native
11 Months Ago
Delete unused 2d skybox tracking CSceneWorld::m_skyboxes Restore deleted 3d skybox view layers Delete SceneCamera.Skybox - this was a stupid way to do it Add internal SceneSkybox3D, create this from skybox_reference in SceneMapLoader using its own MapLoader SkyboxMapLoader loads 2d skybox
11 Months Ago
New project wizard creates a directory in your selected location instead of you explicitly selecting the location
11 Months Ago
Change EditorWindow.StateCookie so everyone on main gets a sane default layout reset on them when staging is flipped
11 Months Ago
Unused networking engine events Delete some unused VR specific stuff from scenesystem
11 Months Ago
Remove GameResources able to load from keyvalues Fix asserts/trying to make 0 width&height render targets on startup TryLoadGameResource catches exceptions as expected, doesn't brick your game if you have a malformed gameresource now
11 Months Ago
Terrain: Move mode selection to EditorTool overlay, component inspector is settings only dotnet format
11 Months Ago
Terrain: Import heightmaps PNG 8bit :( or RAW 8 or 16 bit
11 Months Ago
Terrain.RayIntersects transforms ray into local space Move brush list out of component editor, popup menu on brush preview Terrain: transform local normal by terrain world transform Editor tools can use SkiaSharp
11 Months Ago
Add wireframe button to scene toolbar
11 Months Ago
MapComponentMapLoader: prop_static is never in entity lump SceneMapLoader: don't create disabled lights MapComponentMapLoader: Static prop_physics are static
11 Months Ago
SceneSunLight -> SceneDirectionalLight - consistent with component and native name Terrain: Brush strength/invert to compute shader Revert "Imply console apps want rendersystemempty, maybe revisit this in the future if we want them to do any kind of GPU compute" This reverts commit e9ddbb31c58de3596aeecacae6f1b77d45c2c338. CI or whatever should opt out of this, Hammer running resourcecompiler and probably other stuff needs a valid one. Null check model in AssetVideo
11 Months Ago
Hammer entity definitions can live on life support in Sandbox.Tools
11 Months Ago
Terrain size is stored on TerrainData, specify the total world size instead of confusing units per texel Fix grid axis colors being the wrong way Use Gizmo colors for grid axis & add SrgbGammaToLinear so the colors aren't fucked Document ComputeShader, remove obsolete, Dispatch throws exception for bad parameters instead of silently failing Terrain shader write to depth Brush preview works again Use compute shader to modify terrain heightmap instead of shitty interpolations on CPU Terrain: Use ShadowRenderType Lighter terrain grid
11 Months Ago
Implement attributes on ReflectionSerializedObject.SerializedProperty Move Terrain editor into an EditorTool ReflectionSerializedObject property SetValue<T> will convert value, catch exceptions TypeSerializedObject SerializedProperty.TryGetAsObject don't throw if null Brush settings widget window FloatControlWidget blurs entry on range slider drag Only modify terrain on mouse drag Change brush order, circle first
11 Months Ago
SceneOverlayWidget updates position when window is moved too Fixes sbox-issues/#4378
11 Months Ago
Gizmo shaders display in ToolsVis mode
11 Months Ago
█▅▆▆▍▍/█▍▆█▌▅ ▅▉█▆▋ ▆▅▇▌ ▄▆▉▄▄ ▋-▍▊-▆_
11 Months Ago
Fix and tidy up terrain data serialization
11 Months Ago
Clear QPixmap on create so it's not full of uninitialized data
11 Months Ago
Compress TerrainData heightmap/controlmap data with deflate, simple rle is probably best
11 Months Ago
Shadergraph: Transform Normal can output in tangent or world space (default is tangent to match material output) Don't save the file 9 times everytime in Asset.SaveToDisk Store TerrainData in a versioned gameresource with custom serialization, so we can reuse it in multiple scenes and not have absurd file sizes
11 Months Ago
When we dispose of a SceneCamera, queue the native volumetric fog to be disposed of at frame end since a render view with it is likely already queued
11 Months Ago
Unused server/client methods and gizmo instances Unused physics trace filters Language.Init() after we mount filesystem File watch for hotloading textures and localization files too
11 Months Ago
Fix ResolveTargetD3D11 srcBox limiting not accounting for offset on dest width min Graphics.GrabFrameTexture uses Graphics.Viewport Fix typos and inconsistent screen uv calc in postprocess shader
11 Months Ago
OnAwake/OnDestroy respect Component.ExecuteInEditor
11 Months Ago
Add InputContext for Scene.FixedUpdate so inputs are reliable when FPS is higher than the fixed update rate
12 Months Ago
Grid shader: Don't lose all our interpolation precision by multiplying grid scale in vertex stage. Also tessellate mesh a little for better depth bias
12 Months Ago
Updater for "snaprotationangle" int -> float, so it stops fucking spamming Rewrite font manager to not use filename, instead uses font family name like normal css All ttf and otf font files are loaded from /fonts/ folder and mapped to their font family name, weight, style. This is likely to be a breaking change if you had weird named fonts. Stop scene first person camera shaking from continuous quaternion <-> angle conversions
12 Months Ago
Move CodeGenerator to Sandbox.System CodeGen: Set MemberIdent on wrapped properties Rewrite to [ConCmd] [ConVar], use new codegen, make scene games able to use them Load fonts from scene games filesystem too Log when can't find font, should help some people debug TransformControlWidget: Non-uniform scaling
12 Months Ago
Apply a depth bias to grid to stop z-fighting and make it render double sided https://files.facepunch.com/matt/1b1511b1/sbox-dev_vUfVeC7hKH.png
12 Months Ago
TabWidget.AddPage allow optional null properly Don't create a CVolumetricFogRenderer if enabled but there's no fog volumes SceneCamera is disposable, CameraComponent disposes it OnDestroy(), frees native resources mainly volumetric fog clipmaps Editor doesn't use volumetric clipmaps Check scene fog volumes not legacy ones
12 Months Ago
Terrain shader includes in terrain folder Terrain obeys its transform https://files.facepunch.com/matt/1b1511b1/sbox-dev_a95eXdB3HZ.png
12 Months Ago
Draw a configurable grid in editor scenes https://files.facepunch.com/matt/1b1511b1/sbox-dev_4OQJeFR5bU.png