r/vulkan • u/PeterBrobby • 13h ago
4
Upvotes
r/vulkan • u/R3DKn16h7 • 12h ago
Why no 32DUnorm depth formats
3
Upvotes
It seems very odd for GPU vendors not to have a 32DUnorm depth format. Is even worse that amd has no 24bit depth buffer.
To be honest, it does not seem to me that using floats for depth buffers is better than just using integers. For one, it makes working with polygon offsets quite weird. For second, is easier to make mistakes, and if you don't use reversed clip planes, is actually similar to 24bit unorm, while using (technically) 33% more data (even though I know 24bit would waste 8 bits, but 32bit unorm wouldn't).
r/vulkan • u/PlanktonDue9300 • 9h ago
Nice to meet you. I've completed the Hello Triangle steps.
66
Upvotes
I've started learning about rendering using Rust and Vulkan (ash), and as a first step, I tried creating a “Hello Triangle.”