Welcome, Guest.
Username: Password: Remember me

TOPIC: Custom shader to display shader devices

Custom shader to display shader devices 9 months 2 weeks ago #1

Hey there, first of all many thanks for ReShade and SweetFX, they both work great!

My question is this, is it possible to write a custom shader (or by any other means) which could display ingame the names of the currently loaded shaders in front of me? I wanna see the name of a specific shader which scrolls under a water shader.

Many thanks for any pointer!
The administrator has disabled public write access.

Custom shader to display shader devices 9 months 2 weeks ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2437
  • Thank you received: 1384
You mean all active ReShade shaders?
Cheers, crosire =)
The administrator has disabled public write access.

Custom shader to display shader devices 9 months 2 weeks ago #3

  • Kleio420
  • Kleio420's Avatar
  • Offline
  • Posts: 213
  • Thank you received: 28
crosire wrote:
You mean all active ReShade shaders?
to me it sounds like he means , if you point a object it will tell you what shaders are being applied to said object in game
The administrator has disabled public write access.

Custom shader to display shader devices 9 months 2 weeks ago #4

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2437
  • Thank you received: 1384
It's possible to display active ReShade shaders. Adding a "#pragma message "[SHADERNAME]"" to each shader file inside the "#if USE_[SHADERNAME] ... #endif" and a list is printed out each time ReShade reloads them.
It's impossible to display which shaders of the game are applied to specific objects. They don't have names, they are just binary blobs.
Cheers, crosire =)
The administrator has disabled public write access.