Test project that i did with Vulkan graphics API to Simulate Barrel Distortion and Pincushion distortion that will be used in VR for correcting lens distortions.
1.LunarG® Vulkan™ SDK https://www.lunarg.com/vulkan-sdk/
2.GLFW for Cross Platform windows creation http://www.glfw.org/
3.GLM Mathematics Library https://glm.g-truc.net/0.9.9/index.html
4.STB Image loaders https://github.com/nothings/stb
5.Tiny Obj Loader https://github.com/syoyo/tinyobjloader
Build system is generated for VS2015
W - To increase distortion upto max of 1.0(Max Barrel Distortion)
S - To decrease distortion upto min of -1.0(Max Pincushion Distortion)
T - To toggle between Normal mode(0 Distortion) and default mode(0.5 distortion)