Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulkan HDR Image present #392

Open
littecarlcai opened this issue Oct 16, 2024 · 0 comments
Open

Vulkan HDR Image present #392

littecarlcai opened this issue Oct 16, 2024 · 0 comments

Comments

@littecarlcai
Copy link

littecarlcai commented Oct 16, 2024

Hello
I want to use Vulkan to Present the HDR Image on HDR display device,but I found the result is not corret.
the left side is vulkan result, the right side is a compared application result.
image
the SwapSurface Format used is:
availableFormat.format == VK_FORMAT_R16G16B16A16_SFLOAT && availableFormat.colorSpace == VK_COLOR_SPACE_HDR10_ST2084_EXT
the Image is pfm format, Use VK_FORMAT_R32G32B32_SFLOAT ImageFormat.
createImage(texWidth, texHeight, VK_FORMAT_R32G32B32_SFLOAT, VK_IMAGE_TILING_OPTIMAL, VK_IMAGE_USAGE_TRANSFER_SRC_BIT|VK_IMAGE_USAGE_TRANSFER_DST_BIT | VK_IMAGE_USAGE_SAMPLED_BIT, VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT, textureImage, textureImageMemory);
Do you have interesting to add a tutorial about how to render HDR image In Vulkan?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant