Archived
1
Fork 0
Commit graph

502 commits

Author SHA1 Message Date
4cfc73362f Remove mirror links 2022-06-23 14:02:51 -04:00
ca2c2c9d3d Move all engine-specific models, materials etc. to a new base directory
This is a huge change, and basically breaks everything (as per usual!)

First of, this includes stuff like shaders so anything involving those
are broken and then fixed. A new BuildAssets cmake file is added to
aid in running AssetCompiler, and it seems to work fine on the engine
base assets.

The File API will eventually be revamped to handle this new way of
organizing the files and domains will eventually be gotten rid of all
together since I probably will replace it with game directory
priorities. As it stands right now, there isn't a way to easily
replace say - render_options.cfg with your own game-specific version.

Apple builds are probably broken by this commit (since I'm moving
around content and shader directories) to be fixed later.
2022-05-21 18:28:48 -04:00
526f35d953 Add asset pipeline tool to aid in converting to compiled game formats
This isn't invoked automatically (yet) but right now already compiles
non-existent models from the "content" directory to the game directory.
2022-05-21 17:52:24 -04:00
a6a712cd0c When invoking the model compiler in "no ui" mode, specify absolute path
This is going to be used in the future "asset pipeline" tool. The auto
export animations and materials flags are also turned off in "no ui"
mode.
2022-05-21 17:50:55 -04:00
cbf1246e2f Change some references to "data" to the new "game" directory
This isn't comprehensive, but will get some things to work.
2022-05-21 17:49:24 -04:00
2f7cc31cc1 Rename "data" directory to "game" 2022-05-21 17:48:40 -04:00
6645549da4 Fix bug in SDL platform code that could result in things crashing
The current app is now properly set, which is used in the model compiler
for example in its app_main.
2022-05-21 17:47:53 -04:00
5db6f02742 Actually use SKIP_DATA variable when adding platform executable 2022-05-21 17:47:15 -04:00
d9d2d5b85d Fix editor common code failing to compile due to recent changes 2022-05-21 17:46:27 -04:00
b1966a9eaf Fix some README grammatical errors 2022-05-21 16:44:07 -04:00
c60c4992f6 Add some missing wiki content back to the README
The GitHub links also now point to sourcehut.
2022-05-21 16:32:28 -04:00
94b83f4996 Remove duplicate std::filesystem::path hash function
Recent c++ std implementations now provide this (like they should've
from the beginning...)
2022-05-21 16:27:07 -04:00
55fea3e31c Output console commands into console output 2022-04-07 11:19:31 -04:00
6cabf90aef Remove some unnecessary cmake logging 2022-04-07 11:16:15 -04:00
ecea7f990e Seperate exposure pass from the rest of post processing
This prevents gamma-weirdness with SMAA
2022-04-04 12:15:15 -04:00
b5655efe0e Fix more stuff in SMAA pass
Now it's no longer flipped for some reason, gamma correction soon to follow
2022-04-04 11:06:39 -04:00
37866a9470 Fix implicit render pass dependencies and some more validation warnings 2022-04-04 10:38:08 -04:00
7a53ce8db4 Don't use a dummy vulkan window when initializing SDL backend 2022-04-04 09:36:11 -04:00
b605685f7a Fix renderdoc crash 2022-04-04 09:35:43 -04:00
f036198bb9 Fix SMAA border color and nearest filter on search texture 2022-04-04 08:35:02 -04:00
b80aa8ccf2 Add min/mag filter to texture creation info 2022-04-04 08:34:26 -04:00
eecc88ddcc Remove some debug messages 2022-04-04 08:22:25 -04:00
e6c227ca6b Give up and pull glslang from master 2022-04-04 07:58:35 -04:00
7cc9ea06a8 Fixup Metal GFX backend 2022-04-04 07:58:16 -04:00
14e2847849 Add mirror links 2022-03-22 10:13:25 -04:00
80a74c15cd Goodbye, WebGPU
The web backend however, is being kept - for the future in case WebGPU gets added back or WebGL support is added
2022-03-10 10:26:59 -05:00
239ecc8d56 Revert "Another big WebGPU compatibility patch"
This reverts commit 3229c4fa2c.
2022-03-10 10:21:09 -05:00
dbc03078de Revert "Start to separate combined image samplers"
This reverts commit a0d92be759.
2022-03-10 10:21:03 -05:00
71d0eff8dc Revert "Next big changes to make WebGPU work"
This reverts commit 0a95ee2fa8.
2022-03-10 10:20:50 -05:00
d219f0c85b Handle data directories for games not named example, and also support out of tree builds 2022-03-09 18:17:04 -05:00
0a95ee2fa8 Next big changes to make WebGPU work
Dynamic buffers are removed, since that's now the renderer's job. Texture usage and buffer usage has changed too.
2022-03-07 11:11:17 -05:00
a1955ae479 Final attempt to appease MSVC 2022-03-07 09:49:31 -05:00
df4a5781d9 Making vcpkg work please 2022-03-07 09:42:55 -05:00
37fe1a21db Attempt to fix vcpkg issues 2022-03-07 09:41:00 -05:00
ea8daa2397 Remove old FindSDL2 find module 2022-03-07 09:34:47 -05:00
45cc8d9f72 Include vcpkg toolchain file in CMake configure step 2022-03-07 09:28:25 -05:00
8cafbdbaae Install SDL2 through vcpkg on Windows CI 2022-03-07 09:24:16 -05:00
cb3c787db0 Install SDL2 through homebrew on macOS CI 2022-03-07 09:17:42 -05:00
334f677a86 Remove old Windows CI 2022-03-07 09:12:36 -05:00
04f0138b95 Enable macOS and Windows CI builds
These will most likely break
2022-03-07 09:11:09 -05:00
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
a52cd3d71c Fix WebGPU compile error due to last commit 2022-03-06 22:51:56 -05:00
a0d92be759 Start to separate combined image samplers
This is to be in line with requirements from HLSL/DX12 and WebGPU,
both of which do not support this. It's probably better to get
started removing our usage of them now :-)
2022-03-06 22:45:08 -05:00
e1767e9363 Add more WebGPU draw commands 2022-03-06 21:40:58 -05:00
088fe9875c Fill alpha on default clear color 2022-03-06 21:40:00 -05:00
3e08319684 Add support for more GFX texture usages to WebGPU 2022-03-06 19:38:17 -05:00
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