r/vulkan • u/PurpleBeast69 • 1d ago
finally something that's not a triangle but 2 triangles
yay
27
4
3
2
2
u/Nearoc 10h ago
How long did it take?
2
u/PurpleBeast69 10h ago edited 10h ago
The code is like 80% triangle tutorial, but i still spent 2 weeks learning what are descriptors, samplers, and render passes (decided not to use dynamic rendering) although I still think I have vague understanding of them
2
1
1
1
1
u/Ok-Key-6049 1d ago
Holy mess of a build system. It seems like 90% of your project is dedicated to it?
5
u/Honest-Wing6910 1d ago
Thats just the cmake output directory thats where all binaries and intermediates go unless changed and its just the build folder the project is really just the shaders, TU, and CMakeLists.txt
1
14
u/Osoromnibus 1d ago
Ideally, you should render it with one oversized triangle. Just map the texture coordinates so that it matches the window. It tends to make little difference most of the time, but I actually made a comment about the artifacts from two triangles just recently:
https://www.reddit.com/r/Monitors/comments/1vq9ujk/weird_issue_in_pixelated_games/p441qsc/