Welcome, Guest.
Username: Password: Remember me

TOPIC: Reshade 3.0: Custom settings for shaders

Reshade 3.0: Custom settings for shaders 2 months 1 week ago #1

  • Sunesha
  • Sunesha's Avatar
  • Offline
  • Posts: 101
  • Thank you received: 7
I was messing about and converting my settings to the new Reshade 3, when I discovered that some settings are not present any longer. Though in the case of the excellent MXAO I found my settings in the .fx file. Where found the AO Fade settings. Is there a another way to edit this settings?

In the case of the Ambient Light shade, I couldn't find settings for the bloom and flare shaders.

It is not super big deal, but I maybe just overlooked where you can change those settings. Or maybe they just not relevant any longer ?
The administrator has disabled public write access.

Reshade 3.0: Custom settings for shaders 2 months 1 week ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2457
  • Thank you received: 1393
Some settings cannot be implemented as uniform variables and therefore are not exposed to the GUI and cannot be changed in realtime. However, they can be set in the "Preprocessor Definitions" field on the settings tab.
For example in the case of MXAO you can add the line "AO_FADE____START=0.5" and hit "Reload" to set the fading start distance. Any values that are prefixed with a "#define" in the effect files can be changed that way (if they are encapsuled between #ifndef...#endif). I just fixed MXAO so this works. You can either use the setup tool to redownload all shaders or grab the fixed MXAO file from github.com/crosire/reshade-shaders/blob/master/Shaders/MXAO.fx.
Cheers, crosire =)
Last Edit: 2 months 1 week ago by crosire.
The administrator has disabled public write access.
The following user(s) said Thank You: Sunesha

Reshade 3.0: Custom settings for shaders 2 months 1 week ago #3

  • Sunesha
  • Sunesha's Avatar
  • Offline
  • Posts: 101
  • Thank you received: 7
Thank you, that is a excellent solution. I worked so much with the framework so I find the defines I want =)

Cool, I keep eye on the shader site. I must say I was pleasantly surprised how easy it was for me to getting going even with all new stuff.
The administrator has disabled public write access.

Reshade 3.0: Custom settings for shaders 2 months 1 week ago #4

  • Sunesha
  • Sunesha's Avatar
  • Offline
  • Posts: 101
  • Thank you received: 7
Cool, I just messed about with the settings. It works great, I really prefer not mess with .fx files so this works great.
The administrator has disabled public write access.