usermattcancel

1,482 Commits over 1,004 Days - 0.06cph!

Today
UI: Do not render invalid texture background images Fix missing map select button
Today
Disallow np2 textures, crashes the DXT compressor we use, plus disables mips etc.
Today
CRenderDeviceBase::AsyncSetTextureData2: Fix nullptr crash with invalid rects Don't completely fail to start with an invalid controller plugged in, needs to be properly fixed in C++ though
5 Days Ago
Fucked debug code
5 Days Ago
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
5 Days Ago
Browse cloud terrain materials button Can drop terrain materials onto terrain in scene
7 Days Ago
Terrain Materials accept dragged cloud assets
8 Days Ago
TerrainMaterialList: Double clicking a material opens its editor (single click selects for use still) Terrain settings hide Collider properties which we force, can we have Terrain not inherit these at all @aylaylay Terrain: larger default clipmap extents (fine but can be smarter without a clod mesh), remake clipmap mesh on dirty properties Terrain: Add MaterialOverride for custom shaders using terrain shader api
9 Days Ago
DynamicSceneObject: AddVertex( Span ) should not accept a count, internalize ptr only method, VertexSceneObject adds range
22 Days Ago
Reverse Z (#1581) Every other modern engine uses a reversed depth buffer, Unity DX11+ UE4+ Godot It brings a massive improvement to depth buffer precision helping to prevent z-fighting and other depth precision issues. Source 2 has always had support for it but was not forced because of DX9. We should have turned this on long ago and will have to rip the band aid off at some point. It will break peoples custom shaders. The other ways their shaders would break that I'm unsure if we could provide compatability are rare: Interact with the depth buffer directly or through Depth::Get etc. Perform operations in clip space like gizmo_grid.shader does. I don't see why we'd ever change clip space direction again after this.
36 Days Ago
EditorPreferences.CameraZNear minimum range 1 please stop Resolves Facepunch/sbox-issues#5696 Box select works in ToolVis modes (ui_cssbox shader) Resolves Facepunch/sbox-issues#5699
37 Days Ago
Fix CSceneSystem::DownsampleTexture trying to make a 0 width/height mip
38 Days Ago
ZNear: 1
38 Days Ago
Add facepunch.hc1 to tests Restore obsolete Gizmo.HitBox.Model function signature to maintain compatibility
39 Days Ago
▌▌▄▊▄▇ ▉█▉▊▆▌▋▆▍ ▅▅▊▅▌▄▅▌█▇▊▍▋▅▍, ▆▍█'▊ ▄▆█▍ ▋▋▍ ▊▅█▉▌ ▆▍ ▊▋█▅ ▅▊▄ ▊▍▊
39 Days Ago
ModelRenderer: Remove OnPreRender again, if this was hacking around something fix the root cause Replace AudioListener.OnPreRender Optimize NativeResourceCache.Tick() - was taking up to 0.25ms some frames
39 Days Ago
Add [Range( 1, ... )] to Camera.ZNear and Camera.ZFar, update docs. Seen a couple 0.01 inch znear cameras with insane z fighting today
39 Days Ago
VoiceManager: GetAvailableVoice before GetVoice, otherwise it's 0.1ms every frame (even when not speaking) Why would we need to set LightCookie to null on a destroyed light. Resolves Facepunch/sbox-issues#5664 Whitelist Delegate equality operators resolves Facepunch/sbox-issues#5658 Whitelist DependentHandle resolves Facepunch/sbox-issues#5660
39 Days Ago
Temporary RTs always have a UAV binding so you can use them with compute shaders SSAO: Use RenderTarget.GetTemporary instead of manual texture allocations
40 Days Ago
Additional docs/cleanup
40 Days Ago
Screen Space Ambient Occlusion SSAO: Remove PS variant, hide difficult options and set some nice defaults, add r_ssao_debug, cleanup unused/unneeded SSAO draws after opaque, not transparent. Added CameraComponent.AddHookAfterOpaque
42 Days Ago
Hook it up in PS_FinalCombinerDoLighting before I do a full shader build
42 Days Ago
CDecalSceneObject - Non renderable, holds data only but can be culled by the scenesystem Tiled Frustums ( We should make light culling use these as they are more accurate and faster ) Partial backport of ISceneObjectDesc::OnSceneObjectVisibleInView Forward+ Decals * Decals get binned by the lightbinner from OnSceneObjectVisibleInView (all lights should start using this callback too) * Tiled culling checks decals within each tiles frustum * Decal::Apply( ... ) is used to mix decal's albedo, normal, etc. into surface Apply forward+ decals as part of standard shading (recompiles needed to support this feature)
44 Days Ago
Delete WorldPanel immediately OnDisabled, otherwise it will linger forever when play mode is stopped
44 Days Ago
Correct place for these SceneObject sealed overrides Clear all these ptrs first to be safe, seal some more shit
48 Days Ago
VoiceComponent.PushToTalkInput mark with InputAction attribute
50 Days Ago
TextRenderer remove Text2 test property
52 Days Ago
Don't keep sounds that failed to load around trying to mix forever (matches how old vmix mixer handles it) Fixes #1597
53 Days Ago
Hightlight.RenderEffect: Use Scene.GetAllComponents instead of iterating every gameobject ( closes #1597 )
53 Days Ago
Codegen should shit itself if you don't use a string literal from Cloud.Asset() methods Terrain: Add height blend settings, add per material height and normal strength, various other polishing Hide GameResource.ResourceVersion
54 Days Ago
TerrainMaterialList: Allow drops properly
54 Days Ago
Editor post processing toggle closes #1587
54 Days Ago
Tonemapping applies to editor camera too, respects Camera.EnablePostProcessing
54 Days Ago
Work in progress - colour grading Variuous changes - exposure added in RGB and HSV Keep tonemapping in its own component, remove uncommon options, cleanup
54 Days Ago
Update terrain scene
56 Days Ago
Reverse weapon selection rows, stick to bottom-ish, always show active weapon name
57 Days Ago
SteamLobbySocket caches owner, calling SteamMatchmaking.GetLobbyOwner each tick had significant impact
57 Days Ago
No need for a glyph telling me how to shoot on the screen at all times Don't allow buying the exact same weapon, but can still buy one of the same slot If cant buy weapon, dont take cash Disable pointer-events on owned guns in the buy menu
57 Days Ago
Which naughty boy lowered UseDistance
58 Days Ago
Use pressed not down, increase use distance from 50 to 72 Doors: Adjustable pivot, angle, speed, curve, opens away from player, plays sounds, etc.. Probably doesn't network properly
59 Days Ago
actual formatting in .editorconfig
59 Days Ago
Expose Terrain size properties to settings sheet
59 Days Ago
40% faster walk speed
59 Days Ago
New TerrainMaterial & TerrainStorage resources, rework creation of terrain, component custom editor, simple height blends and various QOL improvements New TerrainMaterial asset, can be used on multiple terrains, copied from other projects * Replaces TerrainData.TerrainLayer which used manual packed vtex files * Accepts source images for: albedo, normal, rough, ao, height * Compiles into 2 generated vtex_c * Contains other properties for metalness, uv scale, uv rotation * AssetPreview is used for editor UX too, instead of hacky shit before * TerrainMaterialEditor auto populates _normal _rough etc. properties from albedo * Drag drop TerrainMaterial assets into Terrain component * Open for expansion to grass/clutter properties TerrainStorage * Replaces TerrainData & TerrainDataFile * Make use of IJsonConvert to avoid all the crazy crap I was doing before * Drag drop TerrainStorage asset into scene * JsonUpgrader for TerrainData -> TerrainStorage, resmaples ^2+1 heightmaps to just ^2 Terrain component editor: * Support creating or linking TerrainStorage if none is attached * Split settings into its own tab * Add heightmap resampling for non pow2 heightmaps * Add import splatmap * Terrain creation no longer forced through GameObject menu, remove Hide attribute from Terrain component. * Remove special terrain save logic from SceneEditorSession, use scene.saved editor event * Texture streaming works properly * Basic height blend * Disable specular on terrain
59 Days Ago
New TerrainMaterial & TerrainStorage assets, improve terrain creation, no more manual vtex layers New TerrainMaterial asset, can be used on multiple terrains, copied from other projects * Replaces TerrainData.TerrainLayer which used manual packed vtex files * Accepts source images for: albedo, normal, rough, ao, height * Compiles into 2 generated vtex_c * Contains other properties for metalness, uv scale, uv rotation * AssetPreview is used for editor UX too, instead of hacky shit before * TerrainMaterialEditor auto populates _normal _rough etc. properties from albedo * Drag drop TerrainMaterial assets into Terrain component * Open for expansion to grass/clutter properties TerrainStorage * Replaces TerrainData & TerrainDataFile * Make use of IJsonConvert to avoid all the crazy crap I was doing before * Drag drop TerrainStorage asset into scene Terrain component editor: * Support creating or linking TerrainStorage if none is attached * split settings into its own tab, add filter properties * Don't force Terrain creation through GameObject menu, don't hide terrain asset generation in here, don't hide the Terrain component * Remove special terrain save logic from SceneEditorSession, use scene.saved editor event * Disable specular on terrain Terrain: Mark all TerrainMaterial textures as used and wanting max quality. In the future this could be smarter and not want max quality for textures used far away Basic height blend https://files.facepunch.com/matt/1b1711b1/sbox-dev_0JNrWPuC9N.png JsonUpgrader for TerrainStorage: Resample ^2+1 heightmaps to just ^2, use non-nested format Fix warning Heightmap import resamples if non pow2 given Recompile shader Terrain height scale scales the normal strength Import splatmap New Terrain Material button TerrainMaterial default images
59 Days Ago
Reverse Scene isEditor constructor so GameObjectSystem constructor is aware of editor scenes
60 Days Ago
▋▆█▄▅▍▋ ▉▆█▉▄▌▌▌▅ ▍▉▊▉▉▅ ▍▊ ▋▌█▍▆▆▉.▆▉▆▌█▋ ▍▌▊▄ ▄▋█▉▋▊▊ ▅▋▋▍ ▉▆▄▊▇▌▇ ▇▉▋▇ ▄▌-▇█▉▄█▇▄▊-▄█: █▇█▄▄ ▅▋▌▉ <█▉▊▇▆.▅▄▍▊@▉▄▇▋▋▉▆▆▄▊▋▇▋▇▉▋.▊▇▌>
2 Months Ago
TextRenderer: Add TextAlign, FontWeight, FontControlWidget, remove OnPreRender
2 Months Ago
▋▆▅█.▊▉█▇▍▉▋▆▉▄█▊▇█▆▍▆▉<▇> ▉▋▊▇▍▌▅ ▊▍▉▍▊ █▉ ▆▅▇█▉▅▄.▄▋▇▆▅▉ ▄▉▋▉▊ ▅▌▊▊▍ ▆▉▉▋▍ ▌▊▊ ▇▄ ▅▄▇▌█▋█▇█▄▆▄ ▋▆▄▄ ▆▄▇▉▉ ▌▉▅ ▅▍▍█▅ ▆▄▋ ▍▅ ▇▄▅▌▄▌ ▋▉ ▅▊▊▅▋▇
2 Months Ago
▊▊▋▄ ▋▌▉▇▊▌▇▊▆ ▍▄ ██▆ ▅▅▄▄▄▌▉▇▉▋▆▉▌█▋▌▍ ▇▌▍▋ ▆▌▍▍▌▄.▍▊▆▍▆▌ ▊▆▅▆▊▊▍ █▇ ▆▌▅▄▍▌▌ ▇▍ ▋▉▉█