This along with other misc fixes by listening to the validation layers
"fixes" specular, but just for the skin. I need to do some more work to
figure out why it doesn't work for character shaders yet.
Also introduces new helper functions to Device to easily transition
textures and name them.
At least on my machine, the AMD Windows Vulkan driver is way more strict
compared to Linux.
* The correct device features are now enabled.
* Image usage flags for offscreen textures are corrected.
This now splits up the rendering system into sensible parts, and makes
it easier to switch between the simple renderer and the new experimental
one. Lots of refactors I needed to do for a while are now done, too.
2024-04-21 17:35:51 -04:00
Renamed from renderer/src/rendersystem.cpp (Browse further)