mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-02 15:53:51 +00:00
Fix character preview facing and add 4x MSAA to preview render target
Character was facing stage-left (yaw 180) instead of toward camera; corrected default yaw to 90. Added MSAA support to VkRenderTarget with automatic resolve attachment, and enabled 4x MSAA for the character preview off-screen pass.
This commit is contained in:
parent
d65b170774
commit
9a1b78bffd
6 changed files with 229 additions and 108 deletions
|
|
@ -89,7 +89,7 @@ private:
|
|||
bool modelLoaded_ = false;
|
||||
bool compositeRequested_ = false;
|
||||
bool compositeRendered_ = false; // True after first successful compositePass
|
||||
float modelYaw_ = 180.0f;
|
||||
float modelYaw_ = 90.0f;
|
||||
|
||||
// Cached info from loadCharacter() for later recompositing.
|
||||
game::Race race_ = game::Race::HUMAN;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue