1,312 Commits over 1,216 Days - 0.04cph!
Re-compute the projection to world to ensure it is an accurate inverse of the world to projection, fixes projection matrices being wrong when you modify it with managed
Don't try to CPU write to tiled light buffer, that's all handled by GPU, hopefully fix undefined behaviour in Intel/Snapdragon, I'll do some testing on my surface duo
Fix some pathes
Remove CompileTarget from vfx, we always compile for the shader models we want to target
Delete vfx_c so that we can do a clean compile on server of new ABI for vfx_c
Correct null check for OpenVCSFromVfxKV3
Remove deprecated targets and remove shader fallbacks
remove deprecated compile targets from met, fix shader loading on met
Make MET use our sexy asset picker
https://i.imgur.com/Mzzmynk.png
Strip extension from file to avoid bullshit, make shaders load from absolute path properly from MET
Allow compiled-only GameResources to appear on asset browser
Compile shader assets with our managed function
Add assignable categories to GameResources
Remove MET shader browser, let's make it sexy using asset system and our UI
Strip extension from file to avoid bullshit, make shaders load from absolute path properly from MET
Make MET hints and shader select button intuitive
https://i.imgur.com/BgHsRKI.png
Let's work on expanding GameResources much better than the previous attempt, let GameResource handle it's own loading rather than Asset, load which type of gameresource we want to load directly
Allow shaders to be used as resource, add stub ShaderResource
Managed compile for GameResource
Proper decal shader descriptor for skin
Border image and background image are better to be combos since they describe samplers
Delete all VCS files
Remove .ini files as well
remove sbox_ prefix from stock materials
Remaining tools core shaders get their vr_ suffix yanked
Disable requirement for semantics when setting VertexInput on VFX
Sample fixed level to ignore hardware gradient mipmapping in dof, fixes warnings
Remaining code to use attributes rather than combos for cssbox features
Use decal_renderer instead of vr_decal_renderer for skin, remaining vmat files without referencing vr_ shaders
Remove hacks for appending vr_ when shader not found, remove functions for looking to VCS files
Remove vr_ prefix on all materials that still referenced it
D_SCISSOR isn't a combo anymore
remove any remaining references to vr_ prefix
Outright remove vr_ prefix from shaders
Add remainder of addon vfx_c shaders
Replace core vcs shaders as vfx_c
Replace core vcs shaders as vfx_c
Save raw data inside our vfx_c container
Unserialize from vfx_c
Unserialize combo properly too
Some more cleanup, get base shaders in, let's compile the rest of the shaders now
Let's try it again and decimate from the top to bottom rather than rebuilding it from bottom to top, serialize multiple VCS programs in KV3 as is and we build from that
Pass the compiled info to the loaded vfx rather than reading the vfx again and expecting to have the results serialized
Put both worker and receive units into a single function
Remove all work unit stuff, strip shadercompile to it's basics
More cleanup
Need to set a CUtlBuffer to READONLY to read non null terminated data
Serialize blob data of feature
Cleanup
Remove CompileTarget from vfx, we always compile for the shader models we want to target
Remove vfx targets we'd never ever support, remove fallback table, deprecate d3d9 registers from shader
Nicely unserialize shader features
Remove VMPI stuff from vfxcompile
Print memory in decimals for verbose shader compiling
Cleanup more stuff, remove all dependency of mod path from vfx, comment out all VCS Load/Save code paths
Remove more stuff that we don't even use from vfx, change from DevShader to hidden
Better serialize shader modes
Finish vfx_c serialization
Start writing vfx_c support
WriteCompiledVfxFile Cleanup
Add CreateFromCompiledVfx stub instead of CreateFromVcs, remove more bullshit
Right click compile shaders, set GameResource load function as sealed
Add shader asset type and empty resource compiler for it
Allow vfx and hlsl as assets on IgnoreNewPossibleAssetFile
Make HVfx be HShader, start adding shader handle from C# side
Fix perspective on ui shader
Iterate on shaders as assets
Get boilerplate for managed asset compile
Add used shader as material dependency
Don't use error.vfx if we are not on tools mode (Issue 415)
Don't do Shader assets on C++, it's awful
Remove TryManagedCompile
Cleanup GameResource and Resource, let GameResource handle it's loading rather than Asset, let managed core Resourced be created
Get target resource type from asset
Gameresource load doesn't need to be templated, still needs cleanup
Make CustomResource for internal managed resources that use custom decoding
And shader uses CustomResource instead of GameResource
Split GameResource to be a child of CustomResource, remove Shader assettype since it's all managed
Start work for child hlsl include files to recompile parents that use it
Add stub custom load methods for shader
ManagedResource is a better name
Remove MET shader browser, let's make it sexy using asset system and our UI
Make MET use our sexy asset picker
https://i.imgur.com/Mzzmynk.png
Strip extension from file to avoid bullshit, make shaders load from absolute path properly from MET
Make MET hints and shader select button intuitive
https://i.imgur.com/BgHsRKI.png
Revert "Remove TryManagedCompile"
This reverts commit a1912f3d31bd1b3b7f1e99e22932103e487337cd.
Managed resource compiles sanely
Create a managed resource of any inherited type without explicitly assigning it, start moving Shader resource to game code
Mark these as abstract, don't let children methods of GameResource override load, remove Shader from tools
Fix some sanity checks
Forgot this, pass asset name as string for now
Simplify how we load shaders, managed resource types shouldn't handle loading from cached dict at all, just have load method itself
ShaderResource in game code
Simplify how we load shaders, managed resource types shouldn't handle loading from cached dict at all, just have load method itself
ShaderResource in game code
Disable seamless fade for dof, better to keep the nice translucent sorting for now
Put DoF autofocus a bit behind the subject
Tweak backfacing value a bit
Double the dof resolution, fix massive slowdown on zooming in backfacing samples
Fix DoF plane
readd smooth mask
Merge branch 'post-processing-sucks' of sbox into post-processing-sucks
Return DofPanel far point to 10k units, but will get to fix focal plane reprojection
Limit DoF ray since our focus is more physically accurate now, fix collision on it
Front blur support, reduce artifacts
Correct orientation space for dof, more adjustments
Merge branch 'post-processing-sucks' of sbox into post-processing-sucks
Adjustments to adaptive dof, gets blurrier the closer you focus, use another formula for calculating downsample
Discard backfacing samples
Fix alpha plane on dof
Don't remap to viewport depth range, we need the absolute values
Mask alphatest while keeping the cool fade
Remove debug crap and push the shader objects
Front blur support, reduce artifacts
Correct orientation space for dof, more adjustments
Rewrite 99% of dof
Adaptive downsample dof
Any size blur kernel, more cleanup
Some more dof cleanup, am going to wrap up in the morning
Forgot this, pass asset name as string for now