Archived
1
Fork 0
Commit graph

405 commits

Author SHA1 Message Date
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
redstrate
4696ba53a5 Allow shader hot reloading to work regardless of the API used 2021-04-18 22:27:05 -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
0861278ae5 Fix running out of descriptor sets very early when resizing editor viewports 2021-04-18 21:40:09 -04:00
redstrate
6a26ab4bef Move current frame counting to rendering instead of during the imgui pass 2021-04-18 21:39:53 -04:00
redstrate
c47f54992f Add flag for apps like an editor who doesn't render any scene in the main window. 2021-04-18 21:38:57 -04:00
redstrate
9d3eb24d23 Add missing platform methods on Windows backend 2021-04-18 19:54:06 -04:00
redstrate
f0a1dc2f20 Add experimental SDL backend for Linux 2021-03-01 14:40:02 -05:00
redstrate
aac44f763c Fix multiviewports crashing on Linux 2021-02-24 14:18:51 -05:00
redstrate
c7efea5258 Add more windowing stuff to Linux backend, fix some other clang-analyze bugs 2021-02-18 08:31:36 -05:00
redstrate
bf192cd23a Begin work for multiviewport support on Linux 2021-02-17 09:15:35 -05:00
redstrate
1a324e61af Remove dynamic data system, replace it on the renderer level 2021-02-17 08:51:47 -05:00
redstrate
97adca57d8 Report platform feature support on Linux 2021-02-17 07:51:41 -05:00
redstrate
bb00009041 Put imgui buffers into render targets
Makes imgui multiviewports work now!
2021-02-17 01:32:46 -05:00
redstrate
77c9561868 Re-enable multiviewport
Also fixes a bunch of stuff to make multiviewport way more stable
2021-02-17 01:09:12 -05:00