Text appears as white rectangles on my custom vulkan renderer #5491
eladmaimoni
started this conversation in
New Users Build/Link/Run issues ONLY!
Replies: 1 comment
-
|
Without looking at the code just yet (on mobile) I'm assuming you don't have the blend state set up correctly for alpha blending on your ImGui pso |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am following Sascha Willems example on how to integrate imgui with a Vulkan renderer.
Trying to render this simple window:
Yields the following:
Unfortunately text appears as white rectangles.
I examined the rendering process against Sascha Willem code using Renderdoc but haven't yet found what went wrong.
Here is a link to the renderdoc file and relevant code files.
From my examination, it seems that vertex data and textures are loaded correctly. but the two samples have a slightly different font texture and as a result, slightly different uv coordinates per vertex. But nothing to explain why the textured text quads appear completely white. I guess the difference in the font texture emanate from the fact that I use a different imgui version (latest docking branch from vcpkg).
Does anyone have an idea what could lead to such result?
I would be happy to share more info if you think it is relevant (code, renderdoc files) but I wish to avoid clutter this post with too much code.
Beta Was this translation helpful? Give feedback.
All reactions