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
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
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
e15d1c68f8
Add ability to select directory through imgui file picker
2022-02-01 20:53:47 +00: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
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
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
redstrate
fd4661088a
Fix HiDPI support
2021-10-12 11:42:10 -04:00
redstrate
1dfe03dc0b
Fix log messages not getting newlines in stdout
2021-10-12 11:25:58 -04:00
redstrate
5915d0bf2c
Fix imgui windows not resizing properly when undocked
2021-10-12 11:25:01 -04:00
redstrate
a2f81d7ca7
Allow better DPI handling under SDL, handle external resize events in imgui
2021-10-12 11:06:59 -04:00
redstrate
8205f65a8e
Clean up a bunch of pass/backend code for imgui
2021-10-12 10:52:29 -04:00
redstrate
5a046ee27a
Some changes to make gcc stop complaining
2021-10-12 10:27:03 -04:00
redstrate
68916bdee2
Increase number of Vulkan sets
2021-10-12 10:26:53 -04:00
redstrate
5ba4285776
Add string handling to console arguments
2021-10-12 10:22:38 -04:00
redstrate
2524213f01
Remove some unused includes
2021-10-12 10:22:24 -04:00
redstrate
c6bc56d033
Change window handles into opaque pointers
2021-10-12 10:22:16 -04:00
redstrate
182fbe195a
Add imgui open/save dialog
2021-10-11 13:39:15 -04:00
redstrate
6fde122401
Improve console interface
2021-10-07 17:55:14 -04:00
redstrate
9c8c257c43
Add new console debug window, handle text input under sdl
2021-10-07 17:46:28 -04:00
redstrate
529bc27702
Replace old logging and format system with fmt
2021-09-13 23:41:54 -04:00
redstrate
626e314ec2
Completely remove the defunct UI system
2021-09-13 23:10:26 -04:00
redstrate
b61eb98648
Fixes some clang-tidy warnings, remove fpermissive
2021-09-13 22:53:42 -04:00
redstrate
f6df3d23b3
Fix Vulkan queue creation on macOS
2021-09-13 13:47:42 -04:00
redstrate
4680579899
Remove macOS Cocoa and Metal backends
2021-09-13 13:47:29 -04:00
redstrate
71fe041691
Fix linux build issue
2021-07-18 18:29:30 -04:00
redstrate
18bf9902e0
Reduce shadow and probe generation delay from 5->1 frames
2021-06-01 12:34:32 -04:00
redstrate
5490b20769
Use VK_WHOLE_SIZE when mapping memory
2021-06-01 12:11:08 -04:00
redstrate
58d1868fbe
Default intiialize material float node values
2021-06-01 12:10:58 -04:00
redstrate
e8bf0a8371
Create presentation command buffers for each surface instead of sharing globally
...
* Fixes multi-window vulkan validation errors because surfaces would just keep overwriting each other's command buffers.
2021-06-01 12:05:48 -04:00
redstrate
2db8873f92
Fix imgui validation errors on Vulkan
...
* Eventually, get_buffer_contents() will be removed
2021-06-01 12:02:38 -04:00
redstrate
e63caf1a83
Fix some more image transition bugs related to vulkan dispatch
2021-06-01 11:49:27 -04:00
redstrate
f69d7c18fd
Fix image layout transistions for mipmap gen
2021-06-01 11:10:58 -04:00
redstrate
e55a71402f
Fix auto-exposure in Vulkan
...
* I forgot to bind the shader buffer again :-p (maybe we should change this functionality under Vulkan
to match Metal rules?)
2021-06-01 10:44:08 -04:00
redstrate
d999485325
Keep track of current texture layouts
...
* Fixes a few compute pipeline validation errors
2021-06-01 10:16:59 -04:00