Archived
1
Fork 0
Commit graph

515 commits

Author SHA1 Message Date
e296b517e7 Update .clang-format, add .editorconfig 2022-08-15 10:54:14 -04:00
f453669439 Fix compilation errors in cutscene editor 2022-08-15 10:25:29 -04:00
f500fb2d33 Fix compilation errors in editor 2022-08-15 10:19:37 -04:00
4bb500d007 Fix stupid formatting warning, again 2022-08-15 10:17:31 -04:00
f787e04011 Remove unused camera exposure parameter 2022-08-15 10:14:37 -04:00
e7c157bb7b Choose 0.1 as a new reasonable default for camera near plane 2022-08-15 10:13:45 -04:00
c6da6e05ce Engine::create_empty_scene now returns the Scene it just created 2022-08-15 10:10:50 -04:00
2f0d1aace9 Fix typo, using Clang will not dramatically increase build times 2022-08-15 10:07:19 -04:00
e68d6bceeb Fix a ton of issues in the Metal backend
* Remaining push constant issues should be phased out, more changes to
come regarding declaring shader resources to make it less error-prone,.
* Sampler creation is restored for create_texture, for now.
* EndRenderPass command type is now supported, to partially reset render
state when needed.
2022-06-27 14:10:31 -04:00
f790b83c37 Fix up macOS SDL backend to accodomate the new engine base data 2022-06-27 10:09:07 -04:00
832e0efcc0 Add missing filesystem hash function... again 2022-06-27 10:08:20 -04:00
cf2cb655dc Fix errors in metal backend due to filesystem changes 2022-06-27 10:08:05 -04:00
7a738405cb Add asset pipelines a base dependency for now 2022-06-27 10:07:16 -04:00
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