mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Fix sun quad visibility, minimap opacity, audio scaling, and rename music toggle
- Tighten celestial glow falloff and edge fade to eliminate visible quad boundary - Add opacity support to minimap display shader, synced with UI opacity setting - Fix audio double/triple-scaling by removing redundant master volume multiplications - Rename "Original Soundtrack" toggle to "Enable WoWee Music" - Add About tab with developer info and GitHub link
This commit is contained in:
parent
a250c20d84
commit
5cfb0817ed
7 changed files with 23 additions and 8 deletions
|
|
@ -30,7 +30,8 @@ struct MinimapDisplayPush {
|
|||
float arrowRotation;
|
||||
float zoomRadius;
|
||||
int32_t squareShape;
|
||||
}; // 40 bytes
|
||||
float opacity;
|
||||
}; // 44 bytes
|
||||
|
||||
Minimap::Minimap() = default;
|
||||
|
||||
|
|
@ -529,6 +530,7 @@ void Minimap::render(VkCommandBuffer cmd, const Camera& playerCamera,
|
|||
push.arrowRotation = arrowRotation;
|
||||
push.zoomRadius = zoomRadius;
|
||||
push.squareShape = squareShape ? 1 : 0;
|
||||
push.opacity = opacity_;
|
||||
|
||||
vkCmdPushConstants(cmd, displayPipelineLayout,
|
||||
VK_SHADER_STAGE_VERTEX_BIT | VK_SHADER_STAGE_FRAGMENT_BIT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue