Simple Custom Shaders
A few simple custom post process shaders I added to the game for fun now that they can be uploaded to the workshop.
You can find all of them in Post Process > Effects.
All of them can be configured if you click on the icons.
Some of these shaders are CC0/MIT licensed shaders I found on ShaderToy and converted from GLSL to HLSL. All of the credits for the original shaders go to their respective authors.
As of now contains:
- Vignette
- Fisheye
- Blur
- Depth Grayscale
- Depth Blur (This one is kinda bleh)
- Depth Blur 2 (Better but limited in quality by Shader Model 2.0b)
- Film Grain
- Posterize
- Chromatic Aberration
- Radial Blur
- VHS Shader №1 (Probably won’t be the only one)
- Video Glitch
An example addon to show how the shaders could be used by Lua developers:
https://steamcommunity.com/sharedfiles/filedetails/?id=3443685887
I intend to make some/most/all of these have their own respective draw functions, outside of the hooks, for use in other addons, so here’s the documentation for the functions. I will update it as I add more or if I change the functions.