Archived
1
Fork 0
Commit graph

475 commits

Author SHA1 Message Date
368b033929 Add stanford bunny model
* Acquired from McGuire computer archive
2022-02-08 10:19:19 -05:00
b94a82b1e1 Add normal map importing to model compiler 2022-02-08 10:18:31 -05:00
9ee41d01b6 Remove some old and unused render pipelines 2022-02-08 09:37:39 -05:00
833046aed0 Remove old shader files 2022-02-08 09:33:18 -05:00
aac9e673ad Overhaul lighting and render debug menus 2022-02-08 09:17:44 -05:00
998c6f8bc2 Mark the material budget bar as an estimation 2022-02-08 09:11:22 -05:00
c6ab95f87c Restore mip map functionality in Vulkan 2022-02-08 09:09:37 -05:00
2c75d51278 Add parameters for metallic and roughness back
This also makes them modifiable in the debug menu at runtime
2022-02-08 08:50:10 -05:00
c6ccedb970 Add environment probe controls to debug menu 2022-02-08 08:32:58 -05:00
a773efdc35 Properly size environment probe in example scene 2022-02-08 08:32:49 -05:00
03c0f3100a Print the name of the chosen Vulkan GPU 2022-02-08 08:28:19 -05:00
70c18ac169 Remove ImGui metrics window from showing on startup 2022-02-08 08:21:35 -05:00
6b10ae96f8 Add more point lights to the example scene 2022-02-07 18:36:36 -05:00
78078e92cd Fix multiple point light shadows on Vulkan
Light locations had to be padded properly, that ended up being the ultimate fix. Leading to this bug though I ended up patching a lot of stuff that was mysteriously missing from the Vulkan backend like specialization constants and
2022-02-07 18:36:23 -05:00
2f30a9e18e Support base instance parameter on Vulkan's DrawInstanced command 2022-02-07 18:17:58 -05:00
c732a86df8 Improve debug light interface 2022-02-07 15:52:21 -05:00
8816d64e42 Don't render shadows unless it's actually enabled on the light 2022-02-07 15:52:11 -05:00
ad29cf3174 Add shader constant support for Vulkan 2022-02-07 15:15:09 -05:00
4e0f92014a Remove obsolete MSL ShaderLanguage option
This is no longer relevant now that Metal is a unsupported GFX backend, the MSL conversion is now handled by MoltenVK
2022-02-07 13:07:30 -05:00
ea93df18dd Remove all push constant binding declarations
This was a leftover from sharing GLSL with Metal and OpenGL, this is now a warning with modern SPIR-V compilers anyway.
2022-02-07 10:11:19 -05:00
374d8f7b63 Use SDL_GetBasePath() on macOS 2022-02-07 09:58:13 -05:00
48348ac09f Fix two Vulkan validation errors for texture loading
* Now TransferSrc and TransferDst are defined for asset textures, specifically for loading image data into it and generating mipmaps from it.
2022-02-07 09:57:54 -05:00
aa8968625b Add sibenik scene to example app
* Sourced from McGuire Computer Graphics Archive
* New compiled materials from models are pointed to the textures directory by default
* New models are given a "material hint" for easier authoring, will be an seperate option later on
* Introduced model version 7
2022-02-03 10:49:02 -05:00
c821575ea4 Write new materials from model editor
This now uses the same saving function as the regular editor, so now it's no
longer constantly out of date with the new material changes.
2022-02-03 10:02:26 -05:00
fbf46e223c Update material editor for new system 2022-02-03 10:01:37 -05:00
8502521934 Rip out the material node system
This was over engineered, and it's blocking progress in the model compiler. Now it's
simpler, but not all features are implemented back.
2022-02-03 10:00:59 -05:00
61a173e635 Update gitignore to ignore CLion files 2022-02-03 09:16:32 -05:00
420e8cbea9 Fix ninja multiple dummy generation error 2022-02-03 09:15:04 -05:00
812ce3046b Generate normals in model compiler if not available 2022-02-01 20:53:58 +00:00
e15d1c68f8 Add ability to select directory through imgui file picker 2022-02-01 20:53:47 +00:00
5572f3aef4 Fix up model compiler appearance 2022-02-01 19:32:59 +00:00
33e60bfba6 Fix model compiler errors 2022-02-01 19:29:40 +00:00
060111dc4f Update doctest to latest stable version 2022-02-01 19:20:49 +00:00
redstrate
acb6c5306c Add a disclaimer in the README that the Metal backend is removed 2021-11-14 17:35:35 -05:00
redstrate
ef15b62af1 Fix window sizing not working under SDL 2021-10-14 17:30:04 -04:00
redstrate
d8cf9bd734 Use SDL's relative mouse mode when capturing the mouse 2021-10-14 17:15:11 -04:00
redstrate
ab814b7c78 Improve the look of console 2021-10-14 17:07:39 -04:00
redstrate
1ba5d8f8f3 Remove explicit Matrix constructor 2021-10-14 16:42:37 -04:00
redstrate
0bb96b1747 Fix viewports not rendering in cutscene editor 2021-10-14 11:33:13 -04:00
redstrate
ff0115ed7a Remove portaudio 2021-10-14 08:59:04 -04:00
redstrate
072298f4f1 Remove some extra debug messages 2021-10-14 08:58:53 -04:00
redstrate
e79a98c7d2 Some minor code refactoring 2021-10-14 08:51:58 -04:00
redstrate
c6d699a130 Stop reallocating new render targets when DPI isn't exactly a integer value 2021-10-13 11:10:44 -04:00
redstrate
5226aa1200 Add hidden window flag, to be in line with how imgui's sdl backend works 2021-10-13 10:55:20 -04:00
redstrate
3f2be1e26a Fix viewports not rendering when index == nullptr 2021-10-13 10:38:10 -04:00
redstrate
9c83375ed0 Enable VK_KHR_portability_subset 2021-10-13 07:39:16 -04:00
redstrate
ff53532b55 Bump to Vulkan 1.2 2021-10-13 07:35:33 -04:00
redstrate
238650aa8d Enable 1.1 shader draw parameters feature 2021-10-13 07:33:30 -04:00
redstrate
a78a18a99a Set scissor for imgui commands 2021-10-13 07:25:18 -04:00
redstrate
878ef9c5da Only enable viewports on multimodal apps (like the editors)
* Dragging out windows on games and stuff is pointless and just adds complexity
2021-10-12 11:47:13 -04:00