Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 1.23 KB

README.md

File metadata and controls

56 lines (43 loc) · 1.23 KB

vkBasalt

A Vulkan post processing layer. Currently, the only effect is Contrast Adaptive Sharpening.

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.