Archived
1
Fork 0
Commit graph

28 commits

Author SHA1 Message Date
78078e92cd Fix multiple point light shadows on Vulkan
Light locations had to be padded properly, that ended up being the ultimate fix. Leading to this bug though I ended up patching a lot of stuff that was mysteriously missing from the Vulkan backend like specialization constants and
2022-02-07 18:36:23 -05:00
8816d64e42 Don't render shadows unless it's actually enabled on the light 2022-02-07 15:52:11 -05:00
redstrate
e79a98c7d2 Some minor code refactoring 2021-10-14 08:51:58 -04:00
redstrate
e63caf1a83 Fix some more image transition bugs related to vulkan dispatch 2021-06-01 11:49:27 -04:00
redstrate
181d2fda06 Fix sampling modes on shadow maps 2021-05-12 10:52:57 -04:00
redstrate
9951ffa58e Rename vecX -> floatX 2021-05-12 09:56:44 -04:00
redstrate
fa65e99094 Rename Path -> path 2021-05-12 09:05:56 -04:00
redstrate
01966c1d81 Rename File -> file and move under the prism namespace 2021-05-12 08:50:02 -04:00
redstrate
ee2771f45f Add compute pipeline support for Vulkan
* Image transition layouts are not handled correctly yet, so auto exposure does not work
* Image usage and guessed image layout is redone to remove some errors
2021-05-11 19:16:54 -04:00
redstrate
87f15b2007 Completely redo the CMake shader compilation system
* Now shader recompilation happens only when it needs to. Hurray for faster compiles!
* Changes to constructors for ShaderSource to make it more explicit.
* The version of SPIRV-Cross is updated, and now the glslang version pulled correctly matches what SPIRV-Cross needs. This fixes the annoying "cannot parse built-ins" bug.
2021-05-09 19:10:23 -04:00
redstrate
069cf3e84c Delay static shadowmap generation by five frames to prevent them from "sticking" 2021-04-18 22:14:19 -04:00
redstrate
e8fc757d99 Add basic shader editing system
POC, only registered shader is the sky shader
2021-02-16 17:10:37 -05:00
redstrate
86efe2abf9 Fix up IBL stuff on Vulkan 2021-02-15 19:01:17 -05:00
redstrate
6d77396b4d Support CopyTexture command on Vulkan 2021-02-15 17:59:54 -05:00
redstrate
ae599ba744 Make fragment shader stage optional
Removes the fragment on (normal) shadow pass
2021-02-04 09:36:06 -05:00
redstrate
93b55e7022 Add debug names for textures
Also changes pipeline barrier behavior, disable project window on Windows, and change window resizing behaviour to get around Windows-specific bug
2021-02-04 08:21:40 -05:00
redstrate
b3ecbab352 Last changes to make Vulkan backend work
Now it renders with IBL and shadows off! yay!
2020-09-30 19:18:17 -04:00
redstrate
505934fae8 Fix last few vulkan errors
Vulkan backend now renders! (albiet incorrectly)
2020-09-23 11:54:59 -04:00
redstrate
1ba9222a43 Add labels for render passes and framebuffers 2020-09-23 10:17:24 -04:00
redstrate
482c7ef748 Fix vulkan backend validation errors 2020-09-23 09:53:45 -04:00
redstrate
5d93616e03 Add functions to dispatch compute workloads 2020-09-22 16:09:25 -04:00
redstrate
2ffd1a421e Remove even more includes 2020-09-21 09:37:52 -04:00
redstrate
5fa5ae32bf Fix spot shadows being used upside down 2020-08-19 17:19:20 -04:00
redstrate
56cfc02816 Fix look_at, and stop scene capture from creating cubemap seams 2020-08-19 17:15:00 -04:00
redstrate
b2deff18aa Remove correction_matrix, produce left-handed transforms, and fix PCSS shadowing 2020-08-18 00:35:49 -04:00
redstrate
2181611c2e Remove extraneous debug messages 2020-08-17 10:11:58 -04:00
redstrate
80fd8a375b Unify standalone and runtime shader compiler, rename old ShaderCompiler to MaterialCompiler 2020-08-15 20:09:16 -04:00
redstrate
4b642fcb66 Add initial files 2020-08-11 12:07:21 -04:00