17 Commits (e624b61ea528d0f4c739ca3569bafe908881af94)

Author SHA1 Message Date
Nico de Poel dafae40776 Further tweaks to camera jitter parameters and now IT'S WORKING!! 🥳 3 years ago
Nico de Poel 25f1742728 Fixes to jitter which at least produces a stable picture now. Still not actually right, but making progress. 3 years ago
Nico de Poel 1ca5a36f3e Cleanup and minor details 3 years ago
Nico de Poel 6b74532793 Some cleanup and a few small details 3 years ago
Nico de Poel 650e805af8 Combined color and depth into a single dispatch parameter, which makes it easier to follow what's going on at the various stages. 3 years ago
Nico de Poel c184748907 Separate out depth from the color buffer using RenderTextureSubElement, which does work now. 3 years ago
Nico de Poel c0a3b81d84 Simplified gathering of color, depth and motion vector RTs by using the game camera texture directly, and blitting just before dispatch. 3 years ago
Nico de Poel d607b1bf5a Apply jitter offset to dispatch parameters 3 years ago
Nico de Poel 34598f3900 Moved default exposure and reactive resources to Fsr2Context 3 years ago
Nico de Poel 934a3d60fa Implemented depth clip pass. Solved the problem of UAV/SRV name mismatch by monkey-patching the relevant shaders. Added default reactive mask. 3 years ago
Nico de Poel 2f5eaf48ba Bit of cleanup and moving stuff around 3 years ago
Nico de Poel b15e3b9c39 Use temporary render textures for storing color, depth and motion vectors copied from the game camera. 3 years ago
Nico de Poel 834c396321 Color, depth and motion vectors are now provided as regular texture inputs to the compute shaders, by blitting them from the game camera ahead of time. 3 years ago
Nico de Poel 1b41f6b2d7 Provide pipelines with the entire context description, which makes intiialization a bit simpler. Also provide it when registering resources so that the corrext *max* render size can be used. Started on the reconstruct depth pipeline. 3 years ago
Nico de Poel 9489a19cd8 Progress on managing resources. Compute luminance pyramid shader is starting to do something. 3 years ago
Nico de Poel 4d6a47a03c Reworked creation and dispatch to use description classes to pass parameters, designed similar to how the original FSR2 library does things, but adapted slightly to fit the Unity context. 3 years ago
Nico de Poel fc233b935f Moved all compute shader-related code to the Fsr2Context class, renamed FSR2Thing to Fsr2Controller and made the callbacks a static field in the Fsr2 class. 3 years ago