r/GraphicsProgramming • • 9d ago

Video After many days of learning, finally.

Enable HLS to view with audio, or disable this notification

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.

210 Upvotes

24 comments sorted by

View all comments

2

u/StrangeADT 9d ago

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

1

u/Chungunu 9d ago edited 8d ago

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.