243,633 Commits over 3,898 Days - 2.60cph!
Overhaul lobby creation page
Hide hooded player map position from team members
Fix NRE in UpdateMaterialOffset
DockManager only looks for types with DockAttribute.
Fixes "Inspector" dock not being created if you had another class named "Inspector", ect.
Prevents errors when loading a project that either doesn't have a startup scene set or has their startup scene deleted
Update sprite tool
Use new sprite tool features
Only get transform once in SpriteRenderer OnPreRender
Set SpriteRenderer bounds to max component of 2D size
ForceFlushGPU before Flush RenderSceneToPixmap - fixes pixmap assert
Delete rendersystem/dx code
Remove phoneme extractor code from the 90s
handcuff sounds
set correct inventory handling sounds on prisoner hood
Collision FX.
Color space fix on med explosion texture. (Unrelated)
merge from simulate_compile_errors -> main
Added `Switch/Test Compile Errors` menu option
- will run parallel dotnet build in background in CLIENT and SERVER mode even if you are in CLIENT + SERVER
- will output whether the build succeeded or failed (and include the errors)
- only runs on windows atm
Do draw opaque objects flagged with no depth prepass, also set correct behaviour for SCENEOBJECTFLAG_NO_Z_PREPASS on actual depth prepass layer
added SpriteComponent
export all spritesheet frames
reinstall sprite library
some player anims etc
aimer
cloud sprite
more sprite shit
Gave a few SpriteComponent properties "Visuals" Category. Removed FlashAmount in favour of FlashTint.
Fixed Opacity not working on Tint Property
Added SpriteFlags, starting with Horizontal Flip and Vertical Flip.
https://files.facepunch.com/CarsonKompon/2024/June/28_21-54-ShockingYearling.mp4
SpriteComponent doesn't draw backface by default. Added Draw Backface SpriteFlag.
https://files.facepunch.com/CarsonKompon/2024/June/28_22-54-InconsequentialBantamrooster.mp4
Use conservative alphatest discard for depth prepass in goback_material instead of opaquefade, fixes blue stripes in overlays
Damage effects for motorbikes.
Road FX tweaks.
Envmap Ambient Lighting + Sky Envmaps (#1568)
Envmap Ambient Lighting + Sky Envmaps (#1568)
Update shaders with legacy ambient lighting padding
Don't create a death marker
Add padding for LegacyAmbientLightColor, let's not make our lovely existing community games have red ambient color
https://files.facepunch.com/sam/1b2811b1/FLkIjvjdgH.png
Milder throttle exhaust.
Will get more pronounced with damage.
Merge Travelling Vendor -> Main (yet again!)
Added client check for editor script
Remove AmbientLightSH from lightbinner, Directional Light doesn't control ambient color anymore, this is a visually breaking change, I'll see to put a better replacement to existing things
Set skybox as global cubemap
Be able to sample cubemaps from any resolution, use diffuse cubemap as diffuse indirect illumination if no GI in scene
[Pick] Implement "GGXCubeMapBlur" filter on CPU, previously it did not work at all in CI since require RenderSystem which isn't ideal since it's the only thing that did so and is completely different from our Cubemapper GGX filter, this makes all filters consistent and much cleaner, remove Convolve Envmap shader
I want to start using GGX filtering on skyboxes but this wouldn't work on CI because of that requirement
Skyboxes compile wid GGXCubeMapBlur instead of Box filter, adjustments for GGXCubemapBlurHelper
Cubemap fog just takes material from current skybox
https://files.facepunch.com/sam/1b1511b1/sbox-dev_k6CScBsqcF.mp4
Make CubemapFog material still be configurable, take it straight from the skybox if it's null
Separate Ambient Light into it's own component from Directional Light, add upgrader for it
Use black cube if texture passed to lightbinner is invalid (eg non-sky material from SceneSkybox )
Fix World.AmbientLight, make flat ambient light lerp between IBL and what we have, make it artist accessible with ambientlight component
Delete these skybox vtexes
Remove convolve_environment_map.shader from shader ci
Don't change flTargetLuminanceOfCubemap, it's bullshit
Skybox envmap has lowest priority
https://files.facepunch.com/sam/1b1911b1/yipICq2VMI.jpg
Swap tools stuff that uses DirectionalLight.SkyColor to either IBL or AmbientLight
Better description of obsolecence
update shaders with IBL
Default ambient color on SceneThumbnails
Add padding to buffer
Fix IBL not applying to transmissive
Use faster Scene.GetAllComponents<SkyBox2D>() for fetching skybox texture on CubemapFog to not iterate over all gameobjects
Revert SkyColor to control ambient light on DirectionalLight again, but pipe it to scene's ambient light color
Sun prefab now comes with no skycolor ( Takes from IBL )
Travelling Vendor -> Main
Merge Travelling Vendor -> Main
Fixed override steering bug
Increased time between pullovers
Revert SkyColor to control ambient light on DirectionalLight again, but pipe it to scene's ambient light color
remove ambient sound from travelling vendor vending machines
TextureAtlas.FromSprites orders list by name so order doesnt matter
TextureAtlas.FromSpritesheet re-orders list so order doesn't matter
renderdevicevulkan: enable reverse depth
Reverse the DepthFunc on all shaders GREATER <-> LESS
gizmo_grid: reverse manual depth bias
We need to change the depth clear value from 1->0 (in 3 different places of course)
Recompiled core shaders
Fix r_depth_debug
Default RenderState DepthFunc to RS_CMP_GREATER_EQUAL, makes shaders without a RenderState set default to it
https://files.facepunch.com/sam/1b0711b1/tt3.png
Readjust depth bias on debug shaders for reverse depth
Fix shadow in reversed depth
https://files.facepunch.com/sam/1b0711b1/tt2.png
Adjust depth bias for gizmo shaders for the increased depth precision
Tiled light culling with reverse-z
SSR with inverted z ( Way more stable )
Fix (3D) Skybox with inverse depth range
Fix SSR backtracing on reverse depth
Remove shadow depth bias from shader, it should be controlled by shadow matrix on lightbinner
DoF with reverse depth
Shaders for reverse depth
Fix glass and decal overlays depth bias
Shaders with depth bias fixes
Add shadow depth bias on matrix
Compile UI shaders for inverse depth
Reverse depth comparison on the sampler rather than on the shader for shadows, makes this more lean
Fix SSR backtracing and confidence check ( and Depth::GetLinear() )
https://files.facepunch.com/sam/1b1111b1/cxXjDfQ2g5.png
Update shaders
Reverse-Z Compatibility: Serialize depth stencil state version and reverse the depth comparison of old shaders
Update shaders with stencil state versioning https://files.facepunch.com/sam/1b2111b1/ZCuq7swn9v.png
Fix hot air balloon immediately deflating after server transfers
Remove alphatest layers and unused attributes, all done in opaque pass
Depth Fast Path was fucked up with material overrides, disable depth fast path on that batch if we're using material overrides then, this whole system seems complicated to begin with too, additionally material flags were not being updated when you did a SetMaterialOverride
This fixes translucent material overrides rendering as if they were opaque
https://files.facepunch.com/sam/1b2811b1/UNobtq1Qnd.png
Handle translucency flags for material overrides in renderingpipeline
Nullcheck bMaterialOverride
Fix player's parent incorrectly being removed in BasePlayer.EndSleeping
Greatly improved the performance of vendor position pull over collider check
Merge from runtime_profiling_update_markers -> main
Simplify StartOfFrameHook as the first of FixedUpdate() or Update()
Rename "CPU" in perf 6 -> "SCRIPTS"
Estimate time taken to measure Physics.Update()
- time taken between `FixedUpdate()` and `yield WaitForFixedUpdate`
- include physics update time in server runtime profiler
- add to perf 8 alongside FixedUpdate ms
Wallpaper pickable using a hammer
Drive for a bit before switching off indicators
Removed another sphere
Fixed unset indicators on pull off
Fix RSS news blogs
Fix rating button selection
Fixed another bug with hazards
Commented out debug spheres