Archived
1
Fork 0
Commit graph

506 commits

Author SHA1 Message Date
45a33c55a2 Fixup Web build to handle new data and shader locations 2022-03-06 19:38:04 -05:00
3545d852fd Add KDE directory files to gitignore 2022-03-06 19:17:56 -05:00
1c8e563e10 Static cast to float in ShadowPass::render_sun 2022-03-06 19:17:32 -05:00
f49ef792ab Remove old macro'd render options 2022-03-06 19:17:09 -05:00
0d0a37e315 Use unsigned integers in more places 2022-03-06 19:16:54 -05:00
00193bbae8 Hint at usages of the engine in README 2022-03-06 19:16:20 -05:00
570df75a55 Add actual options for disabling compilation of the example and tooling 2022-03-06 19:13:14 -05:00
926b97db10 Remove UWP build support 2022-03-06 19:08:41 -05:00
46f9e99b94 Revert changing buffer index locations
This appeases Metal again
2022-03-06 17:23:01 -05:00
9dc43d9502 Add material path to pipeline debug name 2022-03-06 17:22:45 -05:00
982ef5090c Fixup MoltenVK support
This makes MoltenVK work on iOS again if you
have #1539 applied :-)
2022-03-06 17:22:15 -05:00
33680efe7b Appease MSVC 2022-03-04 19:17:07 -05:00
f87143eb13 Checkout glslang and spirv-cross correctly 2022-03-04 19:06:45 -05:00
f82174cf95 Add shrt repo to README 2022-02-28 21:32:02 -05:00
065f2d9333 Update license year 2022-02-28 21:31:14 -05:00
7f479b0e0b Properly copy data on macOS
This also fixes cfg init failing on macOS
2022-02-22 09:34:00 -05:00
5d0f629ca7 Remove hardcoded path (wow)
great programming only happens here
2022-02-22 09:28:45 -05:00
312de5312c Attempt to fix CI build 2022-02-21 18:18:19 -05:00
e1c688bea7 Completely overhaul shader generation, again
Now it's even simpler, and it now generates multiple
shader languages at once! The copying mechanism is now
much simpler on non-mac platforms as well. HLSL is also now a supported shader target language.
2022-02-21 18:07:22 -05:00
e03d0eceac Add ability to load console commands from a cfg file 2022-02-21 17:37:27 -05:00
4f75d09eaf Move data folder into example directory 2022-02-21 17:37:10 -05:00
bc67dcce17 Make most render options accessible from console 2022-02-21 17:17:55 -05:00
bbff84eb61 Actually disable normal shadowing 2022-02-21 17:09:32 -05:00
a456dcb41a Disable expensive normal self-shadowing by default 2022-02-21 17:05:41 -05:00
8361590294 Don't call new every frame on Vulkan 2022-02-21 17:05:30 -05:00
5d7e98c4be Enumerate devices on DX12 2022-02-21 16:32:05 -05:00
a039d43d2e Fix a stupid typo in materialcompiler.cpp 2022-02-21 15:57:38 -05:00
e5fddf2c67 Fixup merge 2022-02-21 15:55:11 -05:00
5c8b690d66 Merge remote-tracking branch 'origin/master' 2022-02-21 15:54:17 -05:00
6be0616d1e Use DX12 by default on Windows 2022-02-21 15:53:42 -05:00
ba4d15886f Protect against MinGW including Windows RT 2022-02-21 15:41:42 -05:00
83acffbf5c Fill out DX12 backend 2022-02-21 15:40:27 -05:00
8e360fa971 Fix MinGW compiler error 2022-02-21 15:29:32 -05:00
7b67ed73d8 Use fmt::memory_buffer in material compiler 2022-02-21 13:20:55 -05:00
5401188196 Allow overriding the gfx backend at runtime
You can now specify -vulkan, -metal, etc to the SDL backend.
2022-02-21 12:27:29 -05:00
138cbf3f4b Now try Metal, Vulkan and then finally Dummy in that order
This only applies to the SDL backend though, this will be expanded
upon though.
2022-02-21 12:09:43 -05:00
ca57de8f99 Support GFX dummy a little better
There's now more checks to prevent crashing when the
mapped buffer is actually null, like when running with the dummy
backend.
2022-02-21 12:09:14 -05:00
f932f83b89 Output GLSL from shader compiler
This should be optimized later :-)
2022-02-21 12:08:27 -05:00
d31715526a Add file::seek method 2022-02-21 12:07:30 -05:00
477ea95905 Fix metal not getting drawable correctly 2022-02-21 12:07:16 -05:00
9b507aa79a Fix up macOS build 2022-02-21 11:47:23 -05:00
54c95b9ddd Link against SDL2::SDL2 if found 2022-02-21 11:09:55 -05:00
a9e7a46edc Fallback to find module on Linux if SDL2 isn't found yet 2022-02-21 11:07:09 -05:00
a3704eb7a9 Improve surface and gfx context creation
This is laying some groundwork for a much better way
of determining the best GFX api to use at runtime, and
making it easier to support more GFX backends in the future.
2022-02-21 11:03:34 -05:00
f0a72530b7 Remove some unnecessary cruft from CMakeLists.txt 2022-02-21 10:13:47 -05:00
be0c0a80a7 Restore imconfig.h again 2022-02-21 10:13:29 -05:00
482baf2624 Fix CI build
Now I just picked a latest commit tag from SPIR-V cross and glslang
2022-02-21 09:54:57 -05:00
96207d814c Remove some old cmake find modules 2022-02-21 09:01:57 -05:00
846293bd0f Update stb 2022-02-21 08:58:38 -05:00
b996c7a1e4 Add missing shell file 2022-02-21 08:56:29 -05:00