r/GraphicsProgramming • • Oct 15 '26

Video After many days of learning, finally.

After many days of learning and scratching my head around, I was finally able to render a triangle on a screen. I am using Vulkan 1.4 for this. Although I learned this from a youtube channel called constref, but this is a very valuable lesson for me, even if it is a first step to Vulkan.

212 Upvotes

24 comments sorted by

View all comments

2

u/StrangeADT Oct 16 '26

Now build and run it in release mode. I was wondering what was taking so long...

1

u/Chungunu Oct 16 '26 edited Oct 16 '26

Actually the shaders are compiling via shaderc API at runtime, so it was taking time. Maybe I should cache SPIR-V shaders next time. I don't know whether it will be right or wrong to cache those things.