userSam Pavloviccancel
branchsbox/mixed-shadows-reworkcancel

18 Commits over 0 Days - ∞cph!

1 Year Ago
Last final weighting adjustments
1 Year Ago
Do backface culling on ortho lights too
1 Year Ago
Ortho lights trace on backwards direction, do shadow queries from light's perspective
1 Year Ago
More cleanup
1 Year Ago
Tweak visibility testing, let directional lights go into test rather than just checking if sky is visible
1 Year Ago
Don't care at all for lights behind us that are not overlapping the player
1 Year Ago
Do a few visibility tests to see if the light is visibile to an entity and not fully shadowed
1 Year Ago
Cleanup, do shadow computations every .1 seconds rather than evecry frame
1 Year Ago
Disable water reflections until Water rework, it's look slowly degraded over time to a point where it's looking worse than if on and taking too much frametime. We'll do it better. ClothingContainer.DressEntity disable trace and queries on clothing entities If switches are defined in command line, respect them when creating a ConVar Ingame console doesn't use templates anymore GameSetting use razor Menu back to horizontal Servers Widget Games widget Don't lowercase texture path when loading (because http can be case sensitive!) Hotload textures in the menu properly Add MenuUtlity.OpenFolder NewsWidget Style tweaks Event widget Navbar cleanup PlayerWidget Navbar cleanup Clean main menu styles new & trending Refresh server list widget automatically Reload materials on shader resource reload Comment out unknown command or convar log Merge branch 'master' of github.com:Facepunch/sbox ui: add rounded corner scissoring (border-radius works with overflow: hidden) https://files.facepunch.com/matt/1b0811b1/sbox_gnbMdfYYuJ.png ui: scissor rects can have a transform matrix, scissor panels post transform position too - fixes lots of oddities with overflow: hidden and transforms before: https://files.facepunch.com/matt/1b0811b1/sbox_6te0egX6cg.png after: https://files.facepunch.com/matt/1b0811b1/sbox_BMeWLJ6w79.png ui test: transform rotated + border-radius scissor test ui: when rendering box-shadow never render under the box itself (using an inverse scissor rect) so transparent backgrounds look as they should before: https://files.facepunch.com/matt/1b0811b1/sbox_l0kQbIIJ1c.png after: https://files.facepunch.com/matt/1b0811b1/sbox_jVYco6DRg8.png Whitelist `System.Type.Equals( System.Type )` Whitelist compiler attributes required for C#11 required modifier Keep box-shadow within the original scissor so it doesn't overflow Package list sidebar glass style Dirty check PanelNode properly Add TreeNode.SetChildren Sidebar can be bigger now If the razor @ref is the wrong type then ignore it Fixup partydeck Merge pull request #712 from Facepunch/main-menu-sucks Main menu sucks Update yoga src to latest HEAD (adds gap support and some opt-in experimental fixes for making absolute positioning behave more like web) Get rid of old nuget yoga 1.5.0-pre1, replace with latest .net6 binary built from yoga#1207 Update yoga.vpc to build a DLL + build with /fp:precise otherwise the NaNs Yoga uses won't work Compile yoga with $NO_STANDARD_VALVE_CODE so we can use our yoga.dll in tests without tier0 dependency Fix Sandbox.UI.Test native dependency yoga.dll Yoga sanity unit test Fix Sandbox.UI.PositionMode not matching new YogaPositionType which has Static at the start now Might as well support `position: static` Default position is static and not relative, might break some ui where left/right/top/bottom have been misused w/o position: relative/absolute Hook up row-gap, column-gap and gap css properties Fix partydeck styles glass styles can use gap ! Delete yoga.dll now it's compiled Move Managed Tests to after native build - because we likely want some of the dlls to test Build native before managed Edited the wrong yaml New Clothing - Biker Jacket! https://files.facepunch.com/daniel/1b1011b1/sbox-dev_3rVxeZCbMB.jpg LODs and skinning adjustments coming ASAP Merge pull request #716 from Facepunch/update-yoga Gas cylinder fat refreshed gas cylinder model and bug fix Enable Yoga fixes for absolute position percentages not accounting for padding edges, and trailing column margin fat gas cylinder refined gibs Merge branch 'master' of sbox Store the filename and line number in StyleBlock Make PseudoClass available on IPanel Highlight panels with :hover in UI tree Hide a bunch of useless panel properties in inspector TabWidget can save its state Can see panel styles in inspector https://files.facepunch.com/garry/4a3983e5-f072-45ce-b746-b7b05234d8be.png Fix RenderTarget.GetTemporary not hashing properly, should fix UAV flag error Animgraph: Add warning when using model that has no animations Menu: Ignore #local in GameIcon, since we cache favourited packages, they were all returning as non-remote packages, and weren't able to be clicked to open their game front. Glass can now use any polygon shape https://files.facepunch.com/layla/1b1111b1/sbox_0025.mp4 updating materials/texture Add ServerInformation.MaxPlayers, fixed ServerInformation.ServerTitle being incorrect on client. Don't grab convars all the time for ServerInformation - do it properly in NetworkServer.FillInfo, so it's included in our manifest Stencil highlights (#701) * Initial work on stencil glows * Unbind SetStencilMode, not really needed, add clear with stencil support instead * Do custom blending to avoid overdraw and set render priority so outlines blend with eachother * Update shader * Bind pattern scroll scale to the shader and compile optimized shaer * Delete older highlight postprocess shader, actually bind clear with stencil support * Reduce number of iterations on thin lines * Remove pattern from being assignable in code, let it be done in material instead, * Use temporary depth-only rendertarget instead of clearing depth, there are effects that still depend on depth on screenspace postproecss stage, allow binding only depth * Remove standard shading code from highlight shader, doesn't need it at all * Put highlight shader on the same folder as highlightrenderer, put the old highlight shader on shaders folder so gamemodes that aren't updated don't break Fix edge vignietting on single pass gaussian blur Merge branch 'master' into mixed-shadows-rework
1 Year Ago
Cleanup, remove rest of old mixed shadows heuristics that is unused now
1 Year Ago
Extract importance calculation to CalculateMixedLightImportance, finish it
1 Year Ago
Recode all mixed light selection heuristics 🍷
1 Year Ago
Remove mixed shadow fading, it never worked properly, we can do it better, increase mixed light shadows limit to 4, remove light evaluation budget Support for point light evaluation, let sunlight always have highest evaluation score, debug cleanup Let directional AO have falloff that better approximates to inverse square law Use 8k shadow atlas by default so that we downsample less often, reenable not casting shadows on point lights, needs more thought Have adaptive resolution for mixed shadows
1 Year Ago
Have adaptive resolution for mixed shadows
1 Year Ago
Use 8k shadow atlas by default so that we downsample less often, reenable not casting shadows on point lights, needs more thought
1 Year Ago
Let directional AO have falloff that better approximates to inverse square law
1 Year Ago
Support for point light evaluation, let sunlight always have highest evaluation score, debug cleanup
1 Year Ago
Remove mixed shadow fading, it never worked properly, we can do it better, increase mixed light shadows limit to 4, remove light evaluation budget