Updated Vulkan example binaries (and vkQuake for Android) ?>

Updated Vulkan example binaries (and vkQuake for Android)

Finally found some time to update the binaries for my open source ++ Vulkan examples. Since the last binaries have been a few months old these contain lots of changes and new examples. So if you just want to run Vulkan examples (to e.g. test your device) you can grab these pre-built binaries instead of compiling from vulkan.gpuinfo.org :  Windows Note : The windows binaries require the media pack (see below) to be present for loading shaders, meshes and textures. 64-Bit…

Read More Read More

SPIR-V Extension for Visual Studio ?>

SPIR-V Extension for Visual Studio

Source (C#) and download (VSIX for VS2015) can be found at https://github.com/SaschaWillems/SPIRV-VSExtension With the launch of Vulkan, SPIR-V has been introduced as it’s binary shader format, replacing text based shader formats in favor of an intermediate representation. To make life a bit easier I have just released a Visual Studio (2015) extension that adds SPIR-V related commands to the context menu of shader files (and folders containing shader files): This allows you got generate binary SPIR-V files from GLSL right out of…

Read More Read More

Vulkan tip on rendering a fullscreen quad without buffers ?>

Vulkan tip on rendering a fullscreen quad without buffers

Rendering a fullscreen quad is a common task in 3D realtime graphics, especially with shaders making post processing a common functionality and other techniques like deferred shading also relying on having a quad with uv coordinates cover the whole screen. While doing some refactoring on my Vulkan examples I removed some code that used vertex and index buffers for rendering such a quad and replaced it with a simple way that generates vertices and uvs in the vertex shader, saving…

Read More Read More

Porting (Vulkan)Quake to Android ?>

Porting (Vulkan)Quake to Android

Axel Gneiting from iD software recently ported Quake to Vulkan (based on the QuakeSpasm OpenGL port) and released the sources at github with support for windows and Linux. With Vulkan also being available on Android, I decided to use the knowledge gained while porting my Vulkan examples and Demos over to Android and add it to his Vulkan Quake port. I have tested with the registered and full .pak files of the original Quake and both are fully playable. The Android…

Read More Read More

New Vulkan example: Indirect drawing ?>

New Vulkan example: Indirect drawing

I have added another example to my open source C++ Vulkan examples. The new one is about indirect drawing (including multi draw if supported). Contrary to their non-direct counterparts, the indirect drawing commands in Vulkan take their draw calls from a buffer that is ideally stored in device local memory. So instead of running single draw commands that get their index base, index count and instancing numbers passed by the host upon getting called, the indirect commands are backed by…

Read More Read More

New Vulkan example: Deferred shading and shadows ?>

New Vulkan example: Deferred shading and shadows

Based on the recently updated deferred shading example, I have added a new example to my open source C++ Vulkan samples. This example adds dynamic shadows from multiple light sources, showcasing a few technologies that can be used to make rendering of multiple shadows more efficient. To achieve this, the example uses a layered depth attachment with one layer per light source that is sampled in the final scene composition. Traditionally one would do multiple passes to render the depth…

Read More Read More

Updated Vulkan deferred shading example video ?>

Updated Vulkan deferred shading example video

Over the past few weeks and months I’ve been constantly working on my Vulkan examples, enhancing existing demos, adding new ones, fixing bugs reported and merging pull requests (thx to anyone that has contributed!). I even found some time to work on a Vulkn deferred shading playground using Crytek’s famous Sponza model. You can find the repository for it here. This Sunday I decided to visually upgrade the deferred shading example included in my samples repository. Deferred shading is commonly…

Read More Read More

Khronos Chapter Munich Vulkan Slides ?>

Khronos Chapter Munich Vulkan Slides

I’ve been speaking about my Vulkan launch day contributions and my experiences moving from OpenGL to Vulkan at the Khronos Munich Chapter Grand Opening last friday at the AMD offices. This was a great event, and finally getting to know some of the people in real was an awesome personal experience. So at this point I’d like to thank all the people that helped make this event happen and all these that attended, had a real blast talking and discussing…

Read More Read More

Vulkan Examples update ?>

Vulkan Examples update

The last few weeks since the Vulkan launch (one month ago) have been pretty busy. I’ve been adding new examples to to my github repository (almost at 30), fixed some bugs (thanks to everyone that has contributed!) and finally added Android support to all examples (removing the few separate Vulkan Android samples). I also provide pre-built binaries for Windows, Linux and Android (only ARM right now) if you just want to try out the examples at vulkan.gpuinfo.org :  Windows Note : The…

Read More Read More