reposboxcancel

20,836 Commits over 1,522 Days - 0.57cph!

8 Months Ago
Skip driver version check if running under proton
8 Months 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.
8 Months Ago
space outfit texture fixes
8 Months 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
8 Months Ago
Hook back Preferences.ControllerLook(Yaw/Pitch)Speed for Input.AnalogLook when using a controller
8 Months Ago
Improve LoadGlyphTexture logic
8 Months Ago
Remove KeyGlyphLoader, supply all keyboard and mouse glyph files Let me know if I missed any buttons, I don't have a numpad on my keyboard so tag me!
8 Months Ago
Avoid collection modified error in NetworkPrune (Fixes Facepunch/sbox-issues#5280)
8 Months Ago
Expose Input.TriggerVibration (using existing API), hook up SDL_GameControllerRumbleTriggers
8 Months Ago
Game Controllers using SDL2 (#1509)
8 Months Ago
Rip out SteamInput and our Controller API Init SDL_GAMECONTROLLER, add standard mappings file (will move this later), find all of our game controllers on startup, hook up events for handling controller lifetime, button events and analog inputs Turn off steam overlay in the editor again Forward controller button events to managed Forward controller axis events to managed Simple device instance memory (disconnect and reconnecting the same controller should point to the same device), all events pass controller ID Delete Input.AnalogInputs/GetAnalog (might re-add later) GameController -> CGameController, some code refactor, Controller is a handle Update sdl2 lib Didn't mean to push this launch setting Remove legacy sdl haptics code, replace with SDL_GameControllerRumble Implement default LED colors based on instance, rumble the gamepad on every button press test Test passing controller input to input context Parse analog inputs local to each controller, add virtual trigger buttons based from axis result Hook up AnalogLook/AnalogMove for first controller (test) Make prints less obnoxious Re-add Input.UsingController (simpler now) Temporary generated glyphs for gamepad Look for input glyph svgs Plug in a bunch of glyph icons for xbox controller Add GameControllerType_t, expose ControllerType to managed, add GlyphVendor LoadGlyphTexture will look for the controller's vendor and fall back to default if not found Add a few PlayStation glyphs Documentation Support analog input glyphs Add methods for fetching gyroscope and accelerometer readings from specific controllers Remove controller binding panel (not used) Forgot to get rid of this method 🤦 Move GameController ctor to implementation Remove FindControllers, does nothing, was a test for me Native cleanup, add safety, fixed controller disconnect crashing game Make Controller internal + sealed Remove my #ifdef V_COMPILER_MSVC usage Change InputMotionData to reflect new API Make sure to set the size of svg glyphs Keep current glyph API intact, add new version to control outline Docs, GameControllerExtensions to internal Why the fuck are you there
8 Months Ago
LoadContext.Unload also unloads all it's IsolatedAssemblyContext
8 Months Ago
Multi select move grid snaps handle pivot instead of each selection https://files.facepunch.com/layla/1b2711b1/sbox-dev_LEYJCm0K2B.mp4
8 Months Ago
Multi select rotates around gizmo handle pivot point https://files.facepunch.com/layla/1b2711b1/sbox-dev_WxhiXwtdBc.mp4
8 Months Ago
Ignore cubemap precomputed handshakes, we can add and remove cubemaps at will on scene, those do not have handshakes so the entire thing was already deprecated when we implemented maploader, this cache gets built by m_nCachedEnvMap at runtime This fixes scene cubemaps not showing on static map geometry
8 Months Ago
Cubemapper tests Remove all ggx code for now & just copy directly to cubemap array TextureCube with mipmaps and arrays and mipmaps Move texture logic from cubemapper to c# Stub for cubemapper_cs, will calculate both GGX and spherical harmonics all in GPU Handle all array index stuff in cubemapper Allow for single sliced cubemap array, needed to be able to render an independent texture in the renderer since it expects a TextureCubeArray, also allow TSPEC_CUBE_CAN_SAMPLE_AS_ARRAY if we want UAV Also fix a problem where CTextureManagerVulkan::GetImageView wouldn't work with a cubemap array as a rwtexture2darray in compute shaders Fix cube orientation when copying, do texture per envmap probe instead of a singleton array, this will cause headaches with multiple envmaps intersecting but makes it much simpler GGX filtering Don't bother with writing cubemap normalization right now (in fact disable it for now!), reuse previous mip so that we have more quality with less samples Assert isn't valid anymore in ComputeImageViews since we can pass a cube array Do cubemapper processing of all faces at once without using intermediary copies, 4-8x speedup (~17ms > ~2.5ms), still needs to be faster https://i.imgur.com/b61mX1Y.png Rendersystemvulkan: Alllow binding specific cubemap [ & arrays ] mips if UAV Remove unsued, clean up Dynamic cubemap component settings Remove the old BuildCubeMaps Add WidgetUtil.CreateSwapChain NativeRenderingWidget renders in regular render path Fix RenderDeviceInfo_t wrong size Add HandlePendingSwapChainResize for explicitly handling swapchain resize events before doing any work, fixes NativeRenderingWidget.RenderScene rendering on a frame with different window size than the actual swapchain ( and then having invalid color/depth buffers) CI fails building shaders when machine is coming from a branch that was deleted, full checkout action should be enough for pulling? If cubemap has no normalization set, don't consider it for NormalizeCubeBrightness Compiled shaders with normalization brightness fixes for cubes without SH, reenable cube normalization Wip fast cubemap filtering ( 2.5ms > 0.09ms 😱 ) Adjust things on fast envmap filtering, major cleanup, rename shader to envmap_filtering Use high quality GGX filtering if baking cubemap as OnEnabled Vulkan: Fix image transition layout when binding a mip of a cubemap that's sampleable as Texture2DArray Don't fetch render attributes from context, that's composited over, fixes a crash Assert when UAV Index is invalid Flag hammer maps to always render cubemaps dynamically & always render at least one frame regardless of distance update settings
8 Months Ago
Use a fresh PackageLoader when loading new games - fixes Facepunch/sbox-issues#5219
8 Months Ago
CreateModelFromMeshFile uses modeldoc utils so it does automatic lods etc again
8 Months Ago
Add InitFromMesh to modeldoc utils - tries to automatically build document from mesh file SessionImportFromModel uses InitFromMesh
8 Months Ago
Prevent multiple OnEnable and OnDisable calls for people doing nonsensical things like reenabling parent gameobject in component OnEnable
8 Months Ago
New Outfit! - Space Suit https://files.facepunch.com/daniel/1b2711b1/Photoshop_ImaSTMln2y.png LODs and small skinning adjustments coming ASAP.
8 Months Ago
Docs, GameControllerExtensions to internal Why the fuck are you there
8 Months Ago
CVfxStackMachineBuilder::FindConstant case insensitive
8 Months Ago
Make sure to set the size of svg glyphs Keep current glyph API intact, add new version to control outline
8 Months Ago
Change InputMotionData to reflect new API
8 Months Ago
Remove my #ifdef V_COMPILER_MSVC usage
8 Months Ago
SCSS: Don't apply animation styles before/after if fill mode is none sbox-issues/issues/5273
8 Months Ago
Make Controller internal + sealed
8 Months Ago
Move GameController ctor to implementation Remove FindControllers, does nothing, was a test for me Native cleanup, add safety, fixed controller disconnect crashing game
8 Months Ago
Forgot to get rid of this method 🤦
8 Months Ago
Remove controller binding panel (not used)
8 Months Ago
This should be engine internal, expose with EditorUtility Remove debug line
8 Months Ago
Regenerate project solution when compiler settings are changed - fixes Facepunch/sbox-issues#4801 Update spirv-reflect Fix spirv-reflect bug with output_vertices being stomped Validate geometry shaders [maxvertexcount] to not exceed limits - fixes Facepunch/sbox-issues#4738
8 Months Ago
ModelBuilder.WithLodDistance specifies the lod level the distance is for
8 Months Ago
Flag hammer maps to always render cubemaps dynamically & always render at least one frame regardless of distance update settings
8 Months Ago
Add PhysicsShape.Sphere and PhysicsShape.Capsule to get properties for these shape types
8 Months Ago
Cubemapper tests Remove all ggx code for now & just copy directly to cubemap array TextureCube with mipmaps and arrays and mipmaps Move texture logic from cubemapper to c# Stub for cubemapper_cs, will calculate both GGX and spherical harmonics all in GPU Handle all array index stuff in cubemapper Allow for single sliced cubemap array, needed to be able to render an independent texture in the renderer since it expects a TextureCubeArray, also allow TSPEC_CUBE_CAN_SAMPLE_AS_ARRAY if we want UAV Also fix a problem where CTextureManagerVulkan::GetImageView wouldn't work with a cubemap array as a rwtexture2darray in compute shaders Fix cube orientation when copying, do texture per envmap probe instead of a singleton array, this will cause headaches with multiple envmaps intersecting but makes it much simpler GGX filtering Don't bother with writing cubemap normalization right now (in fact disable it for now!), reuse previous mip so that we have more quality with less samples Assert isn't valid anymore in ComputeImageViews since we can pass a cube array Do cubemapper processing of all faces at once without using intermediary copies, 4-8x speedup (~17ms > ~2.5ms), still needs to be faster https://i.imgur.com/b61mX1Y.png Rendersystemvulkan: Alllow binding specific cubemap [ & arrays ] mips if UAV Remove unsued, clean up Dynamic cubemap component settings Remove the old BuildCubeMaps Add WidgetUtil.CreateSwapChain NativeRenderingWidget renders in regular render path Fix RenderDeviceInfo_t wrong size Add HandlePendingSwapChainResize for explicitly handling swapchain resize events before doing any work, fixes NativeRenderingWidget.RenderScene rendering on a frame with different window size than the actual swapchain ( and then having invalid color/depth buffers) CI fails building shaders when machine is coming from a branch that was deleted, full checkout action should be enough for pulling? If cubemap has no normalization set, don't consider it for NormalizeCubeBrightness Compiled shaders with normalization brightness fixes for cubes without SH, reenable cube normalization Wip fast cubemap filtering ( 2.5ms > 0.09ms 😱 ) Adjust things on fast envmap filtering, major cleanup, rename shader to envmap_filtering Use high quality GGX filtering if baking cubemap as OnEnabled Vulkan: Fix image transition layout when binding a mip of a cubemap that's sampleable as Texture2DArray Don't fetch render attributes from context, that's composited over, fixes a crash Assert when UAV Index is invalid
8 Months Ago
Mesh Editor: Add button to select all faces
8 Months Ago
Add PhysicsShape.Triangulate
8 Months Ago
MeshComponent sets scene object tags when they change
8 Months Ago
Input will tick before layout is computed on a newly created panel, so check null. Fixes Facepunch/sbox-issues#5268
8 Months Ago
SCSS: Implement rem and em https://files.facepunch.com/alexguthrie/1b2611b1/sbox-dev_f5t9eFrLSk.png
8 Months Ago
Remove dupe convars_save Api.GetAsync throws if status code not OK
8 Months Ago
GameObjectInspector: reused component sheets get added to used list so we don't end up duplicating the same component type
8 Months Ago
Add IEnumerable<Type>.GetCommonBaseType() CanEdit.CreateEditorFor( Array ) uses the most common base type. Fixes Facepunch/sbox-issues#5233 About to show!
8 Months Ago
Use component.ToString for ComponentControlWidget, to make it easier to override what's shown
8 Months Ago
FindRenderStateInfo case insensitive Support pascal case filter enums
8 Months Ago
Fix NRE when running Game.Close in the editor Toggle play when running Game.Close in the editor
8 Months Ago
Set InputState.Ignore if game isn't being played
8 Months Ago
CMaterialSystem2::GetVfxPlatformType default to SPIRV