skyrim-community-shaders icon indicating copy to clipboard operation
skyrim-community-shaders copied to clipboard

Changing shader macro from feature settings

Open Pentalimbed opened this issue 2 years ago • 1 comments
trafficstars

Akin to static switching in UE4, and preprocessor definitions from ReShade, allowing features to def or undef macros for specific shaders and recompile on the fly. Better performance, as opposed to having dynamic branches in shader code.

Pentalimbed avatar Jul 21 '23 15:07 Pentalimbed

There is some progress toward this with the ability to set global defines in Advanced. Some things to add.

  • [ ] Compute shader reloading.
  • [x] Framework to selectively define shaders based on types (lighting)
  • [ ] Framework for define configuration from features

alandtse avatar Aug 29 '23 00:08 alandtse