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
redstrate
f3f6a219f6
Bring Metal backend up to speed
2021-02-17 01:08: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
9b0404dff7
Remove unused HdotV in rendering.glsl
2021-02-17 00:16:11 -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
e8032b8cf2
Move platform headers into their own interface target
2021-02-16 17:09:54 -05:00
redstrate
fe05ba1101
Don't link against GLX under Linux
2021-02-15 20:31:09 -05:00
redstrate
9db944deb2
Remove unused GL and GLX headers from linux
2021-02-15 20:22:40 -05:00
redstrate
0a24bfce43
Ooops, ubuntu-latest is NOT Ubuntu 20.04
2021-02-15 20:08:20 -05:00
redstrate
394a8378c6
Attempt to fix unmet dependencies message
2021-02-15 20:06:17 -05:00