Archived
1
Fork 0
Commit graph

88 commits

Author SHA1 Message Date
5572f3aef4 Fix up model compiler appearance 2022-02-01 19:32:59 +00:00
33e60bfba6 Fix model compiler errors 2022-02-01 19:29:40 +00:00
redstrate
ab814b7c78 Improve the look of console 2021-10-14 17:07:39 -04:00
redstrate
0bb96b1747 Fix viewports not rendering in cutscene editor 2021-10-14 11:33:13 -04:00
redstrate
e79a98c7d2 Some minor code refactoring 2021-10-14 08:51:58 -04:00
redstrate
c6d699a130 Stop reallocating new render targets when DPI isn't exactly a integer value 2021-10-13 11:10:44 -04:00
redstrate
878ef9c5da Only enable viewports on multimodal apps (like the editors)
* Dragging out windows on games and stuff is pointless and just adds complexity
2021-10-12 11:47:13 -04:00
redstrate
a2f81d7ca7 Allow better DPI handling under SDL, handle external resize events in imgui 2021-10-12 11:06:59 -04:00
redstrate
8ea112e26c Fix some cutscene bugs 2021-10-12 10:26:40 -04:00
redstrate
7a526a4cab Merge remote-tracking branch 'origin/master' 2021-10-12 10:22:51 -04:00
redstrate
c6bc56d033 Change window handles into opaque pointers 2021-10-12 10:22:16 -04:00
redstrate
2772553e2c Merge remote-tracking branch 'origin/master' 2021-10-12 10:13:33 -04:00
redstrate
182fbe195a Add imgui open/save dialog 2021-10-11 13:39:15 -04:00
redstrate
529bc27702 Replace old logging and format system with fmt 2021-09-13 23:41:54 -04:00
redstrate
626e314ec2 Completely remove the defunct UI system 2021-09-13 23:10:26 -04:00
redstrate
45977b4ac1 Emit SPIR-V shaders on macOS 2021-09-13 13:51:36 -04:00
redstrate
078b66fc68 Use the app domain to load scene 2021-07-19 07:16:55 -04:00
redstrate
8015c52f78 Use new open_asset function to select scene in cutscene editor 2021-07-19 07:15:50 -04:00
redstrate
b22447a931 Add scene asset type to editor 2021-07-19 07:15:34 -04:00
redstrate
4ce486b0bc Make cutscene editor dock properly 2021-07-18 19:00:36 -04:00
redstrate
b20235a731 Update macOS and Metal backends for the new changes 2021-05-12 10:59:30 -04:00
redstrate
381c463a1d Make light size more reasonable for the default material scene 2021-05-12 10:47:44 -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
fea83fc2e3 Fix macOS build 2021-05-10 07:58:22 -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
b07e1a2e12 Editor windows are now centered by default 2021-04-20 12:59:31 -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
b918d9fd85 Make cutscene editor compile again 2021-04-20 10:28:55 -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
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
c7efea5258 Add more windowing stuff to Linux backend, fix some other clang-analyze bugs 2021-02-18 08:31:36 -05:00
redstrate
bb00009041 Put imgui buffers into render targets
Makes imgui multiviewports work now!
2021-02-17 01:32:46 -05:00
redstrate
1f98e19819 Fix compile issues on Vulkan, make render targets work in editor 2021-02-17 00:47:05 -05:00
redstrate
8e781f3b5c Support new render target api in editor 2021-02-17 00:15:59 -05:00
redstrate
a6a46abb36 Begin transition to new render target system
Things are definitely broken now
2021-02-16 19:22:32 -05: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
c37a8471c9 Add support for editor under GCC/Linux 2021-02-15 15:18:21 -05:00
redstrate
bc5c400129 Change Recompile button into menu item 2021-02-08 20:24:13 -05:00
redstrate
e53206e906 Improve the look of material nodes 2021-02-08 20:21:42 -05:00
redstrate
f5f107b0b4 Disable IBL on Windows
There isn't enough features on the Vulkan backend to prevent it from crashing :V
2021-02-05 20:21:25 -05:00
redstrate
461fb98a8c Quit early if cannot write to thumbnail cache 2021-02-05 19:50:31 -05:00
redstrate
63f844a20d Batch viewport render commands with main render commands
I don't know why I did it the other way...?
2021-02-05 19:35:13 -05:00
redstrate
e9bb4bc82c More debug label changes 2021-02-05 19:17:13 -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