Archived
1
Fork 0
Commit graph

68 commits

Author SHA1 Message Date
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
redstrate
0c3c879497 More vulkan fixes 2021-02-03 06:55:46 -05:00
redstrate
8572149697 Remove implicit path conversions in the editor
Makes MSVC happy again
2020-12-28 15:44:54 -05:00
redstrate
19a60a7a06 Make tools compile successfully under MSVC 2020-12-28 15:22:38 -05:00
redstrate
83b47b31b4 Add console variable support 2020-09-22 22:43:30 -04:00
redstrate
5d93616e03 Add functions to dispatch compute workloads 2020-09-22 16:09:25 -04:00
redstrate
41ef1c33f5 Add framework for compute shaders 2020-09-22 15:39:20 -04:00
redstrate
e1bcb7085c Fix light mode issues 2020-09-22 14:21:56 -04:00
redstrate
174b50d1ba Reorganize cmake folders 2020-09-22 12:54:08 -04:00
redstrate
bbd5b81de9 Small CMake improvements 2020-09-21 09:58:42 -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
redstrate
0664ec66b1 Fix MSVC compiler errors 2020-08-27 20:28:16 -04:00
redstrate
b242f5b2cf Fix bug in transform handles only allowing Y axis to function 2020-08-19 17:35:02 -04:00
redstrate
e1205662ec Insert float epsilon to prevent NaN and other artifacts in infinite perspectives 2020-08-18 00:46:16 -04:00
redstrate
b2deff18aa Remove correction_matrix, produce left-handed transforms, and fix PCSS shadowing 2020-08-18 00:35:49 -04:00
redstrate
fc7a528310 Correctly orientate sphere in material thumbnails 2020-08-17 10:51:54 -04:00
redstrate
72229d43c6 Improve default material editor preview 2020-08-17 10:50:20 -04:00