Skip to content
a vulkan post processing layer
C++ C GLSL Makefile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config don't use a seperate env variable for 32 bit Nov 10, 2019
shader do not include th console fxaa code Nov 10, 2019
src use more than one effects Nov 9, 2019
.gitignore init build system Oct 15, 2019
LICENSE use zlib-license Oct 31, 2019
README.md Add FXAA to README Nov 1, 2019
makefile Pass make options to makefiles in subdirectories Oct 20, 2019

README.md

vkBasalt

A Vulkan post processing layer. Currently, the only effects are Contrast Adaptive Sharpening and Fast Approximate Anti-Aliasing.

Disclaimer

This one of my first projects ever. Look at the code at your own risk.

Build

You need the Vulkan SDK to build this, and glslangValidator to compile the shader.

On Arch-based distributions, they can be installed with:

pacman -Syu glslang vulkan-headers vulkan-tools vulkan-validation-layers

On Fedora, they can be installed with:

sudo yum install vulkan-headers vulkan-tools vulkan-validation-layers

On Solus, they can be installed with:

sudo eopkg it vulkan-headers vulkan-tools vulkan-validation-layers

Simply use

make

Install

make install

Usage

Enable the layer with the environment variable. First, check if the game is 64-bit or 32-bit.

For 64-bit:

ENABLE_VKBASALT=1 yourgame

For 32-bit:

ENABLE_VKBASALT32=1 yourgame

with Steam, edit your launch options, e.g.:

ENABLE_VKBASALT=1 %command% 

Configure

The sharpening strength can be changed in ~/.local/share/vkBasalt/vkBasalt.conf for all games. If you want to make changes for one game only, you can create a file named vkBasalt.conf in the working directory of the game and change the value there.

You can’t perform that action at this time.