Initial work for tiled light sorter
Remove constant buffer transform code
Fire tiledlightbuilder compute shader on views
Iterate shader structure for tiled rendering, remove remaints of constant buffer transforms
Evaluate cubemaps and lights on compute shader
Allow for struct types in generic buffers in VFX
Properly index lighting and envmap info on tiled light buffer
https://i.imgur.com/5141J1x.png
Revert "Fix normals for valve standard shading"
This reverts commit 29c62c8422ec364a9acb104da4bc58a12e0ea8ae.
Tiled lighting for envmaps and lighting on standard shading model 🏃♂️💨
Use 128 lights for clustered instead of 256
Double the perfomance of tiled light build job
Pass radius of light to shader so we dont need a sqrt operation on culling
Sample shader to visualize tiled rendering
Revert "Pass radius of light to shader so we dont need a sqrt operation on culling"
This reverts commit 62ca1b89275c339f2db357781ab9cab0f6a8d525.
Fix driver crash on Nvidia
Fix 'LightSim_MaterialTint has inconsistent value' warning
Put tiled code on vr_lighting
Much simplify sphere and box intersection tests, add bounding area for nearby tiles
Tiled rendering for valve standard shading
tiled rendering for envmaps on valve standard shading
Correct box hit algorithm for tiled light builder
Fix shadow rescaler
Work on viewport level, optional single ratio, fixed bug with perfect fitting shadow maps
Fix shader compilation
Fix spritecard compilation
Initial work for VR Instancing for tiled light rendering
Fix glows in Vr while we're at it, still pending rewrite
Preliminary support for VR in tiled light builder, include objects
Remove magic number and reproject view for tiled light builder
Treat warnings as errors on shader compilation on internal builds
Make tile resolution proportional https://i.imgur.com/2knXfUw.png
Fix light typo on vr_lighting
Fix warnings on standard shading model
Iterate on tiled light builder
Fix data races on tiled light builder
Fix warnings from core shaders
Use 48 wide pixels for each tile
Fix Z-Fighting when cubemap bounds is the same as the geometry
Update tiled light builder shader objects
Fix warnings on blendable and commit shader objects
Simplify tiled rendering accessors, add runtime UseTiledRendering render attribute
Add r_tiled_rendering convar
Update shader objects
GPU driven Depth Culling for tiled rendering
Use half tile offset for tile coordinates
Update FloatSliderProperty Minimum and Maximum to be better coupled with the underlying FloatSlider's Minimum and Maximum
Add BindingFlags.NonPublic to SetPropertyObject
Depth prepass culling for envmaps too, cleanup
fix envmaps being fucked up
Return max depth for tile, update object files
Add r_tiled_rendering_depth_cull
Merge pull request #406 from Facepunch/tiled-rendering-merge 🟦🟦🟥🟧🟨🟦🟦
Tiled Rendering Support
Reduce queryable size of sphere, optimizes tile volume
skip backfacing queries on tiled light builder
Cleanup, dont pass depth on non depth prepass
Transform camera ray, fix typos when doing box intersection, oops
You should be seeing the good perf gains from tiled now
fix last cubemap not being sorted
Initial boilerplate
Merge branch 'hackweek-android-quest2' of sbox into hackweek-android-quest2