I'm writing a program that sends colors to RGB wifi lamps (MiLight to be exact) based on certain criteria. I'm hoping to release a first version this month.
You can see about it here:http://kostasv.bitbucket.org/
It started its life as an ambilight style app. What this does is calculate the colors visible on the screen and send an average to the lamps. It works great on videos and games running in non-exclusive mode. I am investigating the possibility of using reshape for color capture of those other cases and i had some questions.
Is it possible to write a shader for reshape that will just calculate some colors, without actually applying anything back to the screen?
I also need to read some values from the registry and send UDP packets. Is there any way to get that kind of thing going? I can compile some external libs in c# or c++ to help me with that but i don't know if i can call then from inside the shader...
Yes , you can create a vertex or pixel shader that samples the screen colors and calculates the color that each lamp needs.
You can output this to a texturebuffer, which you don't have to output to the screen - we already do this to calculate intermediate results for the effects.
But from there it needs to be grabbed off the GPU and sent to the CPU so you can do something else with it than draw on the screen.
ReShade does not currently have any features that does this, so it will require that Crosire implements support specifically for this.
So this is more a feature request for ReShade than for the shaders,
The administrator has disabled public write access.