Is it possible to introduce shader INSTANCES in reshade 3.0?
Let's say a shader.fx file has three main parts:
Maybe there's a way for reshade to read the Shader.fx file and load first the SETTINGS and SHADER CODE. Store those parts somehow and then the PIPELINE.CFG should only stipulate the execution of the TECHNIQUES portion of the shaders. So you should be able to have shader INSTANCES, meaning to execute the technique of a shader multiple times at different steps in the pipeline.
That would offer a whole new level of freedom and creativity to users. And, perhaps for reshade 4.0, if you find a way to pass custom #defines/Settings to different INSTANCEs of a shader you're close to performing a miracle. Saint Crosire, the pixel healer maybe?
Does it make sense?
The administrator has disabled public write access.
manually, you can totally duplicate the file and change the namespace to have the same effect multiple times.
or with something like this to readdress namespace of same effect file.
#define effect_namespace name0
#define effect_namespace name1
to allow fast setup.