Giter Club home page Giter Club logo

Comments (2)

pchome avatar pchome commented on May 12, 2024

Very simple and basic hack (see reshadeEffectsPath part):
#45 (comment)

Will be implemented properly someday, maybe.

from vkbasalt.

Sporif avatar Sporif commented on May 12, 2024

I wrote a patch to simplify ReShade configuration while maintaining backwards compatibility. With it all you need to specify is the shader name in effects and the path to the reshade-shaders folder in reshadePath (the folder must contain "Shaders" and "Textures" subdirs).

You can specify the shaders with the .fx extension or not. If a conflict in name arises in the future the vkBasalt effect will take priority so using .fx is probably better, and it's clearer that it's a ReShade shader.

e.g.:

effects = monochrome
reshadePath = /usr/share/vkBasalt/reshade-shaders

Using reshadeIncludePath and reshadeTexturePath to specify the Shaders and Textures directories still works and are higher priority than reshadePath.
I also added a reshadeShaderPath option for specifying the Shaders dir because it's name makes more sense to me (it is lower priority than reshadeIncludePath though).

And you can still specify the shader with the full path i.e:

effects = monochrome 
monochrome = /usr/share/vkBasalt/reshade-shaders/Shaders/Monochrome.fx

This will use the monochrome option as the shader path if it begins with / and otherwise concatenate it onto the include path. (The include path being the "Shaders" dir you specify with either reshadeIncludePath, reshadeShaderPath or indirectly with reshadePath).

For all cases the effect path is also tried with .fx added on if it failed at first.

And finally the settings for reShade shaders are now specified using the shader name as the prefixes (so they don't clash + better readability) e.g:

effects = Technicolor
Technicolor_Strength = 1

from vkbasalt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.