252,159 Commits over 3,959 Days - 2.65cph!

10 Months Ago
merge from main
10 Months Ago
Added 'pipette' command: gives you the item you're looking at and places it in your hands If you already have it, swaps it with your currently selected item
10 Months Ago
Fix tiled rendering on multiple viewports, was taking the main viewport from view rather than the actual viewport from layer :S https://i.imgur.com/PCXh3hJ.png
10 Months Ago
Temp hack fix device lost error in NativeRenderingWidget.cs
10 Months Ago
Updated test scene file
10 Months Ago
Check if main camera is null for EnvmapProbe dynamic renders
10 Months Ago
player update. exported/ setup water pipe shotgun anims
10 Months Ago
Got wind working with LODing
10 Months Ago
Cubemapper (#1504) * 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 * 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 * ANTLR: Support any dimension arrays * Use fast envmap filtering even for static ones, looks as good if not better than brute forcing if using a few more taps, delete reference_ibl_lighting.fxc (byebye) * Run filtering in two passes to eliminate any fireflies, realtime filtering looks as good as baked filtering now https://files.facepunch.com/sampavlovic/1b2911b1/465thMK9Yq.jpg * Limit number of simultanious cubemap updates on first load to not overflow transform count in large scenes * Remove S_SPECULAR_CUBE_MAP, stupid define, should just be S_SPECULAR * Extra checks on HandlePendingSwapChainResize, should fix device lost issues when trying to draw subsequently * Adjust number of threads on envmap filtering to avoid collision on accessing same source cubemap on per frame cubemap rendering, doesn't really slow this down * Fix missing textures when trying to query cubemaps from skybox, default value for EnvironmentMap should be thrown from lightbinner, not renderingpipeline * Update shaders --------- Co-authored-by: Garry Newman
10 Months Ago
Update cubemap.dynamic.scene with actual dynamic cubemaps
10 Months Ago
Fixed a crash related to static props on map load for certain maps Not an ideal fix, but it works. If a spawnicon does not exist, try to look in addons as well This makes it so that you can still edit icon, but if you do not have a spawnicon rendered, and a workshop addon provides ones, the game will use the workshop one as a fallback.
10 Months Ago
Added ioentity.showflags editor only command to debug IO flags
10 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 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 ANTLR: Support any dimension arrays Use fast envmap filtering even for static ones, looks as good if not better than brute forcing if using a few more taps, delete reference_ibl_lighting.fxc (byebye) Run filtering in two passes to eliminate any fireflies, realtime filtering looks as good as baked filtering now https://files.facepunch.com/sampavlovic/1b2911b1/465thMK9Yq.jpg Limit number of simultanious cubemap updates on first load to not overflow transform count in large scenes Remove S_SPECULAR_CUBE_MAP, stupid define, should just be S_SPECULAR Extra checks on HandlePendingSwapChainResize, should fix device lost issues when trying to draw subsequently Adjust number of threads on envmap filtering to avoid collision on accessing same source cubemap on per frame cubemap rendering, doesn't really slow this down Fix missing textures when trying to query cubemaps from skybox, default value for EnvironmentMap should be thrown from lightbinner, not renderingpipeline Update shaders
10 Months Ago
Added realmed remove to water junkpiles. Ensures client and server versions are stripped appropriately
10 Months Ago
Added electricalbattery.charge and electricalbattery.deplete admin commands to respectively charge and deplete a battery easily
10 Months Ago
Cans branding update
10 Months Ago
▄█▅▇▋▅ ▄▇▉▋▌▅▇ ▆▊▉▍▆▌▅▇ ▇▄█▊▆▅▅▉▆
10 Months Ago
Footstep radius increased
10 Months Ago
Remove all my shitty HealthComponent/DamageInfo bullshit from gunfight, made AI move towards the player
10 Months Ago
Delete TestFPS.roguesta
10 Months Ago
Add a bunch of AI code from Opium Npcbase is an Agent Simple state machine for NPCs
10 Months Ago
merge from PingEstimatorRewrite
10 Months Ago
▍▊▍▄▄ ▍▇▇ ▌▉█ █▆ ▅█▋ █▉ ▊▌▉ ▌▄ ▇▄█▍▇▍█▄▉▉ ▇█ ▌▉██▌▇ ▄▋▍▉▌. ▊▋▇▄▍▊▌ ▅▄▄▊▊▍▊▍▍ ██ █▍▍▌▊▉▅ ▄▅ ▌█▉▅▅▋ ▆▌▅▄▌.
10 Months Ago
Player.PlayerStats -> Actor.Stats, fixed player prefab to match
10 Months Ago
Start porting Actor stuff in prep for NPCs
10 Months Ago
don't show damage numbers if off screen
10 Months Ago
▌▉▅▆▆█ ▉▇▇▅▉▇▉ ▄▊▆▋▄▉▆▄, ▌█▍▊▌▉▍▌▅▊█▍▆ ▄▊▆▋▋▊ ▆▍███▆▆▋ ▍█▉▌▍▆▆▍▅▆▉
10 Months Ago
merge from PingEstimatorRewrite
10 Months Ago
level updates
10 Months Ago
10 Months Ago
Merged main into electricity_power_fixes/2
10 Months Ago
Reduced electrical button press time from 5s to 1s Reduced power burst from 2 to 1 power (given that they now consume 0 power) Monument buttons unchanged
10 Months Ago
Reduced Electrical Branch minimum branch out power from 2 to 1
10 Months Ago
Push menu inputs when we don't have an input config to read
10 Months Ago
Same treatment to harbor 2
10 Months Ago
Extended build block area of harbor 1 to prevent cargo from crushing bases when docking Prevented barrels from spawning underwater near harbor 1
10 Months Ago
Remove IGameInstance.InputSettings (not used)
10 Months Ago
▄▆▉▌▆ ▋▊▋▍ ▄█▋▍
10 Months Ago
Remove unused code
10 Months Ago
GameManager -> Game Use input actions instead of now gone digital action state stuff
10 Months Ago
Add gamepad navigation support to main menu UI and game menu UI - Virtual cursor system - Panel traversal system Refactor: remove IVirtualCursor, IMenuSystem hook-ins, cursor razor component - add InputOverlaySystem which works in MenuDll and GameMenuDll, add RootPanel.Priority Demote some new stuff from being public Fixed overlay flicker when re-laying out (due to stuff being pressed on), don't set Style.Width|Height
10 Months Ago
▍▅▋ ▄█▇▌ ▋█▉█▊ ▆▆ ▅▍█▋▅ █▄▆ ▌▊▆▅▊▊▊▅▄█ ▌▌▌ ▄▌▉▅▄▋
10 Months Ago
player update. spas,m4 and pump shotgun holster position edits
10 Months Ago
player update. exported pump shotgun anim set edits
10 Months Ago
can mesh update
10 Months Ago
organise twitch drops scene alphabetically
10 Months Ago
merge from main
10 Months Ago
merge from HarborAudioFixFuture
10 Months Ago
merge from wavesofchange_monuments_fixes
10 Months Ago
Fall back to xbox glyphs (when using a controller) if we can't find one for our vendor Add a bunch of missing playstation glyphs, changed X/B/A/Y glyphs to white