Skip to content

Use full size mipmaps for reflections when in high-quality mode#62362

Merged
akien-mga merged 1 commit into
godotengine:masterfrom
clayjohn:VULKAN-halo
Jul 27, 2022
Merged

Use full size mipmaps for reflections when in high-quality mode#62362
akien-mga merged 1 commit into
godotengine:masterfrom
clayjohn:VULKAN-halo

Conversation

@clayjohn
Copy link
Copy Markdown
Member

Fixes: #61511

As suspected the issue was caused by using a 64x64 mipmap (introduced in #58177). This bug also caused high-quality skies to look worse than realtime skies again. With this PR, they are back to looking about the same.

High Quality mode is now slightly slower than it was after merging #58177, but it is still significantly faster than before #58177. (On my device this PR adds about 150 us for the calculation of high-quality reflections out of ~5 ms for the full sky update).

Before
Screenshot from 2022-06-23 14-32-14

After
Screenshot from 2022-06-23 14-32-43

@clayjohn clayjohn added this to the 4.0 milestone Jun 23, 2022
@clayjohn clayjohn requested a review from a team as a code owner June 23, 2022 21:42
@clayjohn
Copy link
Copy Markdown
Member Author

@lyuma I'd appreciate it if you could test this out in your project as you were the one to first notice the issue and it was most obvious in your project

@akien-mga akien-mga merged commit a7335b0 into godotengine:master Jul 27, 2022
@akien-mga
Copy link
Copy Markdown
Member

Thanks!

@clayjohn clayjohn deleted the VULKAN-halo branch July 27, 2022 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vulkan: Low-roughness reflections from reflection probes look blocky

3 participants