243,173 Commits over 3,898 Days - 2.60cph!

11 Months Ago
Loop rather than unroll on fog lights, should give worse perf but fixes horrid startup times for now
11 Months Ago
Fixed config.cfg failing to load on game start up
11 Months Ago
Clean ups Do not force render group of base SNPC/nextbots let the engine decide based on the NPC model Use ENT.WantsTranslucency for Sandbox entities duplicator saves "Make Persistent" setting Fixed misspelled community translations Clamp DAdjustableModelPanel FOV to 0-179 Faceposer: improved handling of too many flexes Fixed some sandbox entities not saving some settings in duplications Such as being frozen by the physics gun Fixed a regression introduced by PR #1787 Fixes issues with addons passing incorrect data types to Entity NetworkVar
11 Months Ago
Prevented animals from doorcamping shelter
11 Months Ago
11 Months Ago
11 Months Ago
Set up using viewmodel camera layer
11 Months Ago
updated player prefab & skeleton asset to use new rust player avatar
11 Months Ago
Skid on steep surface
11 Months Ago
Fix recent changes to Entity:NetworkVar and naughty addons erroring
11 Months Ago
Fix recent changes to Entity:NetworkVar and naughty addons erroring
11 Months Ago
Reverted serverside implementation (didn't work) Added to clientside instead (still server only with replicated var)
11 Months Ago
Added server convar to skip death screen warmup
11 Months Ago
Remove obsolete GameTransform just return localposition if GameObject or Scene is null Inspector just blank instead of trying to show an empty array
11 Months Ago
▌▄▍▆▌ ▇▌▋▊▉▊█ █▉█▅ ▊█▄▋▉▉▅▍ ! ▉▄██ ▆▇▊▆▍ ▍▉▌▌▊▇▆ █▇▄▄ ▊▋▍▆▇▊▋▋ ! ▉▌▄▆▌ ▍▋▋▌██▇▍ * ▇█▉▄▉ ▇▍▄▋▇_▅█▅▇▌▄▆ ▄▊▊▌▊▅▍ ▆▄▌▍▊ █▄▌▊ ▄▆▇ █▆▋▇▋▋▌█▌▌, ▊▉▍▊ ▉▇▌▋▅▋▆ ▊▌▉█▄█▆▇ ▇▋▅▅▉▊ * ▄▆▆▌ ▄▌▊▄█▇ ▆▄▍▍▊▍ .▍▍█ ▄▌▇▆▌▋▇▉▅ * █▄▉█▇▄▉▄ ; ▊▌ ▄▌▉▉█▆▅▍▉▇▊█▌▅▋█▋▊.▄█▅ - ▋▇▉▊▇▌▌▊▌▇▉ ▇▅▍ ▉█▇▍▍▊▋ ▌▅█▄▆▇▋ ▍▇▌▄▅▊▆▉▄▌ ▄█▇▇▊▍ * ▅▄▋▅▅▄ ▇▊▄▋ █▍▅▅▊▅ █▅▋▉'█ ▉▅█▋ ▄██▍ ▉▇ ▇▅▅▆▍█▆ ▉▌▍▅
11 Months Ago
▋█▉▌▍ ▉▍▋█▌▅▌▄ * ▉▄▌▋▆ ▄▄▆▄▌_▆▇▋▋▆▊▋ ▌▋▅▌▌▋▅ ▇▄▅▍▋ ▍▋▉▍ ▆▆▅ ▇█▌▅▇▊▋▉▆█, ▅▋▋▄ ▋▍█▊▅▋▆ ▋█▅▌▅█▅▄ ▋▇█▉▄▇ * ▆▍▉▋ ▆▄▅▌▌▌ ▇▅▋▅▌▅ .▇▅▉ ▍▊▍▋▆▆▅▊▉ * ▉▅▊▆▋▋█▍ ; ▌▍ ▍▊▄▌▊▆█▍▋▍▆▊▄▇▄▅▊▆.▆▇█ - ▅█▊▇▋▆▅▇▍▋▍ ▆▇▅ ▌▌▌▇█▋▇ ▇▊▆▌▄▆▆ ▊▄▆▊▉█▋▅██ ▍▄▇▊▋▆ * ▇█▋▅▅▇ ▌▍▋▉ ▅▋▌▇█▊ ▍▍▋▍'█ ▆▊▍▇ ▋▇▇▇ ██ ▋▊█▍█▇▅ ▄▇▆▆ ▌▄▇▄▇▄ .▍▆▅▇▌▌▋▅▋
11 Months Ago
▆▅▌▊█ ▊▉▆▇██▄▇ * ▄▇▆▇▉ ▍▊▅▋▊_▍▆▅▍▉▇▍ ▉█▋▌█▋▇ ▊▌▉▅█ ▇▊▄▅ ▍▆▄ ▆▇██▅███▍▇, ▇▋▍▌ █▍▍▇▉▉▊ ▍▋▋██▊█▄ ▍▅▅▋▉▅ * ▉▄▄▉ █▄▆█▆▉ ▌▅▊▍▋▄ .▌█▊ █▇▊▋▍▋▋▄█ * ▄▆▅▄█▊▌▌ ; ▍▋ ▄▉▇█▉▅▉▆▍▉▆▌▇▋▄▄▌▍.▇▄▌ - ▊▄▌█▄▇▋▋▄▄▌ ▅▄▇ ▅▅▌▄▉██ ▌█▅▅▌█▄ █▋▍▉▌▌█▉▉▄ █▌▌▉▍█ * █▋▇█▌▍ ▄▌▋▊ █▌▉▊▆▅ ▍▋▇▆'▅ ▇▆▅▍ ▊▉▋▊ ▋▊ ▌▌▄▋▇▉▄ ▅█▋▄ ▋▆█▊▍▍ .▌▆▌▄▆▊▆▄▉
11 Months Ago
Shape surfaces should now be setup, including mesh per triangle
11 Months Ago
Document IsProxy Upload ignore sln files Fix error when clicking on invalid GameObject field When querying lobbies, do one at a time - because steam drops previous queries otherwise. Fixed player counts not working
11 Months Ago
Revert to shaders just before cascade/point light edge fix, needs a full compile which is already queued
11 Months Ago
Add PhysicsShape.Surfaces for mesh or heightfield per triangle materials
11 Months Ago
Add some exceptions to AddHeightFieldShape when dumb shit is passed in
11 Months Ago
Add support for materials on heightfield shape
11 Months Ago
Set substeps, adjust damping, enforce ball z velocity - try to lock balls to axis, collision start event for sounds later
11 Months Ago
Lightbinner Refactor (#1266) * Moved tiled rendering buffers to lightbinner, where it should belong * Remove members that have long been deprecated, start adding support for structured buffer lights * Move all cbuffer stuff to legacy, standard will only have structured buffer path * Start implementing structured buffer lights data structure * Remove all code for calculating mixed shadows, that'll be all allocated in the main light shadow function, iterate structured buffers * Iterate on new lightbinner, let all shadows render through a single rendering path, disregard legacy for now * Remove bMixed from LightEntry, it's complete bullshit, let static lights render only dynamic objects when doing shadows * Unified shadow casting, map indexed lights so we can fetch them easily and without needing to order sequentially, remove more deprecated stuff * Get rid of lightbinner_legacy completely * Eliminate legacy per view lighting constants, eliminate mixed shadows, add placeholder to some constants where they should belong * Cut more code from lightbinner light allocs, means only spots will alloc properly for now but cleans a lot of this, align cbuffers, add ComputeDirectLightingForLight to unify lighting calculation on shader * Remove CSunLightManager, used for old pre-hlvr sun rendering, a lot of code that's only used for dynamic sunlight different to everything else in light rendering * Remove more unused parameters from lightbinner * Remove remaining crumbs of old sun shadowing, remove unused shadow functions, add bBaked to ComputeDirectLightingForLight * Lightcookies and point lights * Remove multiview constants from lightbinner, these have been getting in my way, and we need to think a better way to handle instanced viewports, I'm leaving it to a bigger cleanup later * Start Envmap support on new lightbinner, remove unused environment_map.fxc * Start MATERIAL_LIGHT_DIRECTIONAL support for lightbinner, sets up frusta for lights * Fix conflicts from merge that added removed stuff * Fixup for directional lights, add dummy ambient lighting for fully dynamic scenes, implement flags properly * Fix merge ( g_nNumEnvMaps > NumEnvironmentMaps ) * Remove interface definition from Vfx ( It's fucked off from HLSL 2020+ ), add array support to members in classes in Vfx * Store multiple frusta on same light definition rather than using sequential lights, makes this simpler, point light shadows * Ambient light, new strategy for shadow frusta * Disable r_enable_high_precision_lighting, just ends up overcomplicating code, reevaluate if this actually affects much away from world origin, will make vPositionWithOffsetWs just become vPositionWs in shaders if fully removed * Take shadow frustra from BuildShadowFrustaForLight() that matches what's on the shadow map renderer, rather than rebuilding it with twice the code * Test of multiple frusta support for shadow maps on shader 🥳 * Support for cascaded shadow maps on new unified multi-frusta system, needs to backport old code * Backport directional CSM code to unified BuildShadowFrustraForDirectionalLight in lightdesc * Shadow filtering and dummy ambient lighting * Calculate spot light resolution proportionally based on light cone and do a LOD system for light shadows based on distance, both are meant to be perceptual https://files.facepunch.com/sam/1b1211b1/sbox_rl2LTOMdY4.mp4 * CSM Adjustments * Pass envmap data to GPU * Fixups for cubemaps on shader, add test for ambient light IBL support https://files.facepunch.com/sam/1b1311b1/ibl.png * We dont need start indexes for lights anymore, just remap the index for fog and baked, fixup envmap count to shader * Remove refs to CalculatePositionToCameraDirWsMultiview function call in new lightbinner shader code * Cleanup, remove a bunch of unused or deprecated shit, cleaned up a lot of variable in lightbinner structured buffer that ends up not being needed, document things a bit better * Rename lightconstants.hlsl to lightbinner.hlsl and call the data there BinnedLight/BinnedEnvMap, make baked lights only cast shadows if mixed lights are enabled on them * Fix flags on lightbinner gpu include, oops * Refactor tiled rendering builder to be compatible with new lightbinner, make it implicit under lightbinner.hlsl * Fog lights support, remove second buffer that's meant for fog lights, remove bullshit code to support old directional light from it that was just meant to be tools-only, all light types just works now https://files.facepunch.com/sam/1b2111b1/C3pY5Q7jq9.png * Fix directional light farz https://files.facepunch.com/sam/1b2111b1/Jn16Ruj0ub.png * Remove SetShadowCascadeResolution and SetShadowCascadeDistance, both pointless, cascades use shadow resolution, add SetCascadeDistanceScale, make number of cascade count actually work * Add g_vRandomFloats to replace oddly named ScreenSpaceDitherParams, fix reflections and volume fog using that * Rename Tiled Light Builder to Tiled Light Culling, do fixes for the new system and shrink tiles to 32x32 from 48x48, allowing us to just take a single fetch from depth buffer for GPU culling tests * Fix lightcookie support, add support for colors on indexed lights with lightcookies, remove lightcookie index from lightbinner.hlsl, just pass the transform https://files.facepunch.com/sam/1b2711b1/zTwJgEDa7N.jpg * Add unified Subsurface Scattering support for skin shadiing, previously every light type implemented this differently causing shading differences, now baked lights show this correctly too https://files.facepunch.com/sam/1b2711b1/k5L2Punaav.png * Readd SetShadowCascadeResolution and SetShadowCascadeDistance as stub obsolte methods to not break existing games * Finalize things, fix misc warnings, fix SSR and enable directional lightmaps * Unify Two Lobe Specular and normal Specular * Test: do full checkout with clean on shader.yml, delete debug_shaders.yml ( pointless ) * Pass skycolor of multiple lights to renderer, works with multiple lights, fixes skycolor attribute doing nothing, while it'd be nice to just pass envmap diffuse lighting for ambients right now it'd break some workflows * Fix typo on cloth shading combos * Remove references to removed files in shaders * CI: Use git checkout to remove stashed changes, shouldn't error if there are no changes to save & drop * debug_sunshadow_vis is gone, update all_shaders with what's actually there * Add LightSupportsTimeSlicedRendering and filter directional lights out of it, fixes cascades being fucked on hammer * Loop rather than unrolling CalculateLightingAtPoint, sucks for perfomance but this function shouldnt take start and end indexes of the light, focus on correctness first * Fix trunkation warning * Pass correct envmap index * Reenable high precision lighting, it's all fine now (but still considering removing it) * [ Pick ] remove specialized decal rendering path from skin * Fix cascade scale for maps that arent compiled with the new light attributes * Apply indirect transmissive lighting, previously would only be affectted by direct lighting * Migrate light api to new lightbinner system * Get light culling render buffer from rendercontext rather than from layer * Fix compilation of tiled_light_culling on vulkan (wtf?) * Transpose matrices on d3d11 * Support for multiple suns and fog on atmosphere_sky, code for this still sucks since this came from the first days of development * Remove decal references in skin shader, thought I had that sorted :S * Remove decal_renderer from allshaders.txt * Compile shaders * Refactor fog shader to take lights by index rather than by list, unroll loops still * Minor fixes, x.Load(i) and x[i] has different behaviour between vk and d3d11? Compiled lit user shaders * Shader CI: Do git clean before pull * Compile core shaders * Compile user shaders * Compiled light culling material * Add lightData.HasFrustumFeathering() for seamless fading between light cascades * Consider one texel from edge to be considered outside the shadow region so that multiple frusta won't do smooth sampling on edges * Consider cascade to always be squared * Compile shaders --------- Co-authored-by: Matt Stevens <matt@mattstevens.co.uk>
11 Months Ago
Add GameManager. Update physics props of ball / table. Set some sort of sensible angular and linear damping of balls for now
11 Months Ago
Set default render system to Vulkan 👌
11 Months Ago
Compile shaders
11 Months Ago
11 Months Ago
Add PoolCue component - do basic logic for cue shot
11 Months Ago
Leaderboard backup, run #8123
11 Months Ago
When joining a multiplayer game, it's permissive for the package to be invalid/missing Fix component list NRE after renaming/deleting component hotload InputSettings are sent to client via network table
11 Months Ago
player update. exported wip rocket launcher anims and populated rpg override controller
11 Months Ago
Scene view falls back to a set background color if we don't have a camera (and gives prefab editor a standard look)
11 Months Ago
Make 'em a bit translucent
11 Months Ago
PoolBallSpawn uses Gizmo to render in editor - add hitbox, set material group etc.
11 Months Ago
Fix yet another crash with func_rotating changes Fix some asserts Limit DAdjustableModelPanel FOV to 0-179
11 Months Ago
Fix yet another crash with func_rotating changes Fix some asserts Limit DAdjustableModelPanel FOV to 0-179
11 Months Ago
Fixed all treeviews being broken :dizzy_face:
11 Months Ago
Fixed DecalRenderer not creating its sceneobject when created programmatically
11 Months Ago
Clamp SceneCamera.Rect input so we can't crash the game Clamp camera width and height to always be non-zero to prevent crashing VectorControlWidget can pass RangeAttribute details to its fields CameraComponent.Viewport type change, use RangeAttribute to clamp in UI https://files.facepunch.com/tony/1b1411b1/sbox_g6X5TNg4fQ.png
11 Months Ago
Scene: add GameObject and Component querying to hierarchy - GameObject querying uses Contains - Component querying requires a full type match https://files.facepunch.com/tony/1b1411b1/sbox_XIfJhgo8Sb.mp4
11 Months Ago
Comment
11 Months Ago
Clear mouse Y input when cam is locked. Lerp cam to locked target position.
11 Months Ago
swing bridge whitebox - figuring out design
11 Months Ago
Added multiple camera rendering support and exposed camera viewports - Added CameraComponent properties - CameraComponent.Priority - CameraComponent.Viewport https://files.facepunch.com/tony/1b1311b1/sbox_hUq2v5P1Zx.mp4
11 Months Ago
Fixed not editing all cameras (viewported cameras, etc) when outside of play mode
11 Months Ago
Different approach to multiple cameras support. Camera.Main is set to the camera that has the "maincamera" tag Set default camera priority to 1 Give Camera prefab the "maincamera" tag by default Add "maincamera" tag to default editor scene Editor viewport camera shouldn't really care about render tags Render game viewport from tools if game isn't playing Clean up GameMenuDll.OnRender Docs Use IsMainCamera bool instead of a tag, documented all CameraComponent properties Don't continuously set Camera.Main Add CameraComponent.Viewport Couple more documented properties
11 Months Ago
Couple more documented properties
11 Months Ago
removed shadow proxies using colliders as source and some less precise proxies