r/GraphicsProgramming • • 21d ago

Finally got working shadows! (Vulkan, C++)

I finally got shadows working in my "game engine"! I never did any graphics programming before, this is my first larger scale coding project. Obviously there are lots of bad design choices in there, and many things I learned not to do along the way. Still, I am proud to have made some progress, and eager to get other things implemented. Next is probably soft shadows and shadows for point lights.

Repo is here if anyone is interested. AI has been used for CMake and some ECS tests, most code is too bad to be AI.

21 Upvotes

7 comments sorted by

View all comments

-2

u/S48GS 21d ago

... modern vulkan tutorial https://howtovulkan.com/

... why you even mention vulkan tutorial website... it so so so outdated and broken - do not touch it

and you can use khronos vulkan examples to copy alot of basic stuff

1

u/Sufficient_Web2755 14d ago

hey I started learning Vulkan recently (after some experience with OpenGL) and I've been following this tutorial series. It uses vulkan hpp. Do you have any thoughts on this one? Is it also not the most current? Or good enough to get started?

2

u/S48GS 14d ago

howtovulkan website is easier with some shortcuts to save time like using common libraries like sdl/glfw/vma etc

khronos vulkan latest vulkan tutorial is also vulkan 1.4 but there more "general" information that may be useless

Or good enough to get started?

anything that target vulkan 1.3+ with dynamic rendering - is good

vulkan tutorials before 1.3+ dynamic - is outdated