24 Commits over 61 Days - 0.02cph!
Make FocusRange use world coords, expose quality, simplify coc algo
Start fixing up dof https://files.facepunch.com/sam/1b2211b1/ombChoX97P.png
Iterate DoF
Smooth fade DoF from composite shader
Iterate dof, needs cleanup, almost perfect
Wave intrinsics to do early out for far dof
DoF2 Downsample with bias based on depth, cleanup
https://files.facepunch.com/sam/1b0211b1/sbox-dev_rXaN2wxsmC.mp4
Front blur, tweaks
Final tweaks, add depth gap for adding an area where u might want more focus
https://files.facepunch.com/sam/1b0211b1/sbox-dev_VBIoPeaBWP.mp4
Depth Resolve writes to both channels correctly
Final cleanups for dof2
Fill up _renderTarget on Graphics Scope so that we can fetch the immediate color/depth textures also without a copy
Fetch depth and color directly for DoF so that we can do pixel perfect fetches, start making near dof not shit
Iterate, higher quality downsampling
Disable front blurs for now
Add internal Graphics.NativeLayerRenderTarget, This should be set on start of scope, left here for advanced usage.
Final adjustments to dof
Fix CoC pass on any quality level, increase blur size to 200
https://files.facepunch.com/sam/1b2511b1/Recording%202024-10-25%20143224.mp4
Remove unused GrabOutputColorDepth
Adjust focal length with sensor size
https://files.facepunch.com/sam/1b2511b1/Recording%202024-10-25%20144814.mp4
Focus Gap in world units and outside the shader
Tex2DBicubic uses generic hlsl, make DoF compositing use bicubic filtering, makes it look nice even at lowest quality
https://files.facepunch.com/sam/1b2811b1/jXqgNeXnCK.png
Explicit quality level for DoF
Final adjustments to DoF
Hide quality level until O(n^3) downsample issue is solved on shader
Front DoF wip, still keep it hidden until it looks good
Mark that these things are in world units
Front DoF wip, still keep it hidden until it looks good
Mark that these things are in world units
Hide quality level until O(n^3) downsample issue is solved on shader
Tex2DBicubic uses generic hlsl, make DoF compositing use bicubic filtering, makes it look nice even at lowest quality
https://files.facepunch.com/sam/1b2811b1/jXqgNeXnCK.png
Explicit quality level for DoF
Focus Gap in world units and outside the shader
Remove unused GrabOutputColorDepth
Adjust focal length with sensor size
https://files.facepunch.com/sam/1b2511b1/Recording%202024-10-25%20144814.mp4
Fix CoC pass on any quality level, increase blur size to 200
https://files.facepunch.com/sam/1b2511b1/Recording%202024-10-25%20143224.mp4
Start fixing up dof https://files.facepunch.com/sam/1b2211b1/ombChoX97P.png
Iterate DoF
Smooth fade DoF from composite shader
Iterate dof, needs cleanup, almost perfect
Wave intrinsics to do early out for far dof
DoF2 Downsample with bias based on depth, cleanup
https://files.facepunch.com/sam/1b0211b1/sbox-dev_rXaN2wxsmC.mp4
Front blur, tweaks
Final tweaks, add depth gap for adding an area where u might want more focus
https://files.facepunch.com/sam/1b0211b1/sbox-dev_VBIoPeaBWP.mp4
Depth Resolve writes to both channels correctly
Final cleanups for dof2
Fill up _renderTarget on Graphics Scope so that we can fetch the immediate color/depth textures also without a copy
Fetch depth and color directly for DoF so that we can do pixel perfect fetches, start making near dof not shit
Iterate, higher quality downsampling
Disable front blurs for now
Add internal Graphics.NativeLayerRenderTarget, This should be set on start of scope, left here for advanced usage.
Final adjustments to dof
Add internal Graphics.NativeLayerRenderTarget, This should be set on start of scope, left here for advanced usage.
Final adjustments to dof
Disable front blurs for now
Iterate, higher quality downsampling
Start fixing up dof https://files.facepunch.com/sam/1b2211b1/ombChoX97P.png
Iterate DoF
Smooth fade DoF from composite shader
Iterate dof, needs cleanup, almost perfect
Wave intrinsics to do early out for far dof
DoF2 Downsample with bias based on depth, cleanup
https://files.facepunch.com/sam/1b0211b1/sbox-dev_rXaN2wxsmC.mp4
Front blur, tweaks
Final tweaks, add depth gap for adding an area where u might want more focus
https://files.facepunch.com/sam/1b0211b1/sbox-dev_VBIoPeaBWP.mp4
Depth Resolve writes to both channels correctly
Final cleanups for dof2
Fill up _renderTarget on Graphics Scope so that we can fetch the immediate color/depth textures also without a copy
Fetch depth and color directly for DoF so that we can do pixel perfect fetches, start making near dof not shit
Fill up _renderTarget on Graphics Scope so that we can fetch the immediate color/depth textures also without a copy
Fetch depth and color directly for DoF so that we can do pixel perfect fetches, start making near dof not shit
Fix Depth::GetLinear, be expressive about it for correctness before all, precompute these values later
Start fixing up dof https://files.facepunch.com/sam/1b2211b1/ombChoX97P.png
Iterate DoF
Smooth fade DoF from composite shader
Iterate dof, needs cleanup, almost perfect
Wave intrinsics to do early out for far dof
DoF2 Downsample with bias based on depth, cleanup
https://files.facepunch.com/sam/1b0211b1/sbox-dev_rXaN2wxsmC.mp4
Front blur, tweaks
Final tweaks, add depth gap for adding an area where u might want more focus
https://files.facepunch.com/sam/1b0211b1/sbox-dev_VBIoPeaBWP.mp4
Depth Resolve writes to both channels correctly
Final cleanups for dof2
Fix Depth::GetLinear, be expressive about it for correctness before all, precompute these values later
Start fixing up dof https://files.facepunch.com/sam/1b2211b1/ombChoX97P.png
Iterate DoF
Smooth fade DoF from composite shader
Iterate dof, needs cleanup, almost perfect
Wave intrinsics to do early out for far dof
DoF2 Downsample with bias based on depth, cleanup
https://files.facepunch.com/sam/1b0211b1/sbox-dev_rXaN2wxsmC.mp4
Front blur, tweaks
Final tweaks, add depth gap for adding an area where u might want more focus
https://files.facepunch.com/sam/1b0211b1/sbox-dev_VBIoPeaBWP.mp4
Depth Resolve writes to both channels correctly
Final cleanups for dof2
Depth Resolve writes to both channels correctly
Final cleanups for dof2
Final tweaks, add depth gap for adding an area where u might want more focus
https://files.facepunch.com/sam/1b0211b1/sbox-dev_VBIoPeaBWP.mp4
DoF2 Downsample with bias based on depth, cleanup
https://files.facepunch.com/sam/1b0211b1/sbox-dev_rXaN2wxsmC.mp4
Wave intrinsics to do early out for far dof
Smooth fade DoF from composite shader
Iterate dof, needs cleanup, almost perfect
Fix Depth::GetLinear, be expressive about it for correctness before all, precompute these values later
Start fixing up dof https://files.facepunch.com/sam/1b2211b1/ombChoX97P.png
Iterate DoF