Archived
1
Fork 0
Commit graph

219 commits

Author SHA1 Message Date
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
0d75b4f47e Properly report cubemap array support on Vulkan 2021-05-11 17:41:45 -04:00
redstrate
fe81222ea7 SDL backend now provides an accurate delta time 2021-05-11 17:38:09 -04:00
redstrate
fcc3917155 Fix crash when trying to load scene editor on Vulkan 2021-05-11 17:05:43 -04:00
redstrate
2ddc1e1794 Fix up SDL2 mouse and key handling for imgui 2021-05-11 17:05:29 -04:00
redstrate
401961be5a Remove unused Lua CMake find module 2021-05-11 16:41:34 -04:00
redstrate
465297442a Copy shader files properly on SDL2 apps 2021-05-11 16:32:59 -04:00
redstrate
f539ddcc3f Add system theme detection on Windows/SDL2 2021-05-11 16:11:23 -04:00
redstrate
cbb731f68c Disable Linux and Windows debug menu by default 2021-05-11 16:04:24 -04:00
redstrate
3e0f294d0c Enable IBL by default on Windows 2021-05-11 16:04:13 -04:00
redstrate
35786ac117 Fix Metal backend to use new shader naming format 2021-05-11 15:58:29 -04:00
redstrate
5546c88cba IBL now works on Vulkan!
* Image transitions are handled more correctly, reducing errors
* Cubemaps are now transitioned properly when using the CopyTexture command
* Cubemap image views are created correctly
2021-05-11 15:57:14 -04:00
redstrate
dba0541376 Fix BRDF integration
* I guess I changed this somehow and never fixed it??
2021-05-11 14:34:31 -04:00
redstrate
fea83fc2e3 Fix macOS build 2021-05-10 07:58:22 -04:00
redstrate
39838aec0f Fix weird GCC log bug in vulkan backend 2021-05-09 20:32:04 -04:00
redstrate
4a96a02da9 Add -fpermissive to Linux compile options for now
* Just to see if CI will work
2021-05-09 20:21:29 -04:00
redstrate
e9e505da61 Add find_package for SDL2 on Linux (oops) 2021-05-09 20:11:12 -04:00
redstrate
100d0b1632 Add search paths for SDL2 2021-05-09 20:10:29 -04:00
redstrate
d27db2b71c Add SDL2 dev lib to Linux CI 2021-05-09 20:06:32 -04:00
redstrate
eb32b03de3 Remove weird files in shader directory 2021-05-09 20:05:28 -04:00
redstrate
f963da80f3 Add shaders back (sorry) 2021-05-09 20:04:41 -04:00
redstrate
5fb213db7e Remove descriptor set cache mesage on Vulkan 2021-05-09 19:49:10 -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
7b23fdfa09 Rename Renderer to renderer, move it to prism namespace, and rename last of member variables 2021-04-20 13:53:38 -04:00
redstrate
ff8e52ed90 Rename Renderer member variables and remove some unused b its 2021-04-20 13:25:59 -04:00
redstrate
b07e1a2e12 Editor windows are now centered by default 2021-04-20 12:59:31 -04:00
redstrate
4cd63997ce Specifying -1 in your window positions will make SDL center the window 2021-04-20 12:57:59 -04:00
redstrate
0935528d76 Make example app window resizable 2021-04-20 12:48:40 -04:00
redstrate
7d0d81c385 Add simple sky scene to example 2021-04-20 12:45:55 -04:00
redstrate
4a46786db0 Update example app to compile again 2021-04-20 12:17:49 -04:00
redstrate
99c033ea35 Remove useless const from math header 2021-04-20 12:07:00 -04:00
redstrate
43a98b0889 Move ray class to it's own file 2021-04-20 11:53:49 -04:00
redstrate
653d5bb6ca Rename Input to input_system and move to prism namespace 2021-04-20 11:53:38 -04:00
redstrate
bae6d05184 Move console and log namespaces to prism 2021-04-20 11:23:53 -04:00
redstrate
8370dfb6d6 Rename ImGuiLayer to imgui_backend 2021-04-20 10:37:56 -04:00
redstrate
b918d9fd85 Make cutscene editor compile again 2021-04-20 10:28:55 -04:00
redstrate
6655dab7a6 Delete the old Windows and Linux backends, which are now replaced by SDL 2021-04-20 10:03:12 -04:00
redstrate
28dbc34d51 Add more SDL keycodes, fix focus issue when using imgui viewports 2021-04-20 01:14:33 -04:00
redstrate
e46e6f512b Fix multiple windows on SDL 2021-04-20 00:48:42 -04:00
redstrate
e01a31eb13 Use new SDL backend on Windows, fix numerous SDL problems as well 2021-04-20 00:23:14 -04:00
redstrate
a324821fe1 The unorm render pass is now created again 2021-04-19 23:39:34 -04:00
redstrate
59ee7faddd Fix debug asset paths not appearing correctly on Windows 2021-04-19 12:38:33 -04:00
redstrate
4b9754fa03 Fix some clang-tidy warnings 2021-04-19 12:35:52 -04:00
redstrate
3827bede6d Renames engine member variables to fix bad naming conventions 2021-04-19 12:29:49 -04:00
redstrate
4abf4b4ab8 Rename Engine to engine 2021-04-19 12:23:18 -04:00
redstrate
744123763f Begin work on converting to the new class naming scheme and the new prism namespace 2021-04-19 12:06:44 -04:00
redstrate
2552398aff Rename some Renderer functions to make their intent clearer 2021-04-19 11:40:10 -04:00