Archived
1
Fork 0
Commit graph

57 commits

Author SHA1 Message Date
3229c4fa2c Another big WebGPU compatibility patch
All specialization constants are removed (they cause trouble in
WebGPU, since they don't support array sizing, and it was a pain
in Metal anyway) - they are now macro defined. WebGPU now runs, although
push constant emulation is not implemented yet.
2022-03-07 00:33:44 -05:00
e03d0eceac Add ability to load console commands from a cfg file 2022-02-21 17:37:27 -05:00
bc67dcce17 Make most render options accessible from console 2022-02-21 17:17:55 -05:00
b0d875832d Add [[nodiscard]] to some more methods 2022-02-21 00:14:47 -05:00
6935f85351 Start work on converting GFXMetal to metal-cpp 2022-02-15 11:25:13 -05:00
25ccd18595 Add keybind to toggle all imgui ui off 2022-02-15 09:01:52 -05:00
e15d1c68f8 Add ability to select directory through imgui file picker 2022-02-01 20:53:47 +00:00
redstrate
e79a98c7d2 Some minor code refactoring 2021-10-14 08:51:58 -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
5a046ee27a Some changes to make gcc stop complaining 2021-10-12 10:27:03 -04:00
redstrate
5ba4285776 Add string handling to console arguments 2021-10-12 10:22:38 -04:00
redstrate
c6bc56d033 Change window handles into opaque pointers 2021-10-12 10:22:16 -04:00
redstrate
182fbe195a Add imgui open/save dialog 2021-10-11 13:39:15 -04:00
redstrate
9c8c257c43 Add new console debug window, handle text input under sdl 2021-10-07 17:46:28 -04:00
redstrate
626e314ec2 Completely remove the defunct UI system 2021-09-13 23:10:26 -04:00
redstrate
b61eb98648 Fixes some clang-tidy warnings, remove fpermissive 2021-09-13 22:53:42 -04:00
redstrate
18bf9902e0 Reduce shadow and probe generation delay from 5->1 frames 2021-06-01 12:34:32 -04:00
redstrate
eab8a265f4 Add probe refresh timer (similiar to how shadows work) to generate probes correctly on scene load 2021-05-12 10:33:38 -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
2ddc1e1794 Fix up SDL2 mouse and key handling for imgui 2021-05-11 17:05:29 -04:00
redstrate
cbb731f68c Disable Linux and Windows debug menu by default 2021-05-11 16:04:24 -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
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
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
069cf3e84c Delay static shadowmap generation by five frames to prevent them from "sticking" 2021-04-18 22:14:19 -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
aac44f763c Fix multiviewports crashing on Linux 2021-02-24 14:18:51 -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
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
e8032b8cf2 Move platform headers into their own interface target 2021-02-16 17:09:54 -05:00
redstrate
86efe2abf9 Fix up IBL stuff on Vulkan 2021-02-15 19:01:17 -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
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
96758b8b3e Fix windows build 2020-09-23 08:44:14 -04:00
redstrate
83b47b31b4 Add console variable support 2020-09-22 22:43:30 -04:00
redstrate
807cf7ba86 Add detection for light/dark theme 2020-09-22 12:27:41 -04:00
redstrate
2ffd1a421e Remove even more includes 2020-09-21 09:37:52 -04:00
redstrate
29633020c9 Remove unnecessary includes 2020-09-20 23:31:03 -04:00
redstrate
dc3cbfeab8 Merge branch 'master' of https://github.com/redstrate/prism into master 2020-09-20 22:39:16 -04:00
redstrate
afefd9b1da Add framework for console commands 2020-09-20 22:37:15 -04:00
redstrate
af3993abbd Move some file utility into seperate header, update vulkan backend to compile fine 2020-08-27 20:36:24 -04:00