Hello,
i am trying to compare to textures to get a spread of values telling me, how many pixels are the same to find out, if two textures are the same and toggle an action if this is true.
I use Pipet to compare an representative amount of pixels of both textures and if a given percent of pixels are the same, i assume, that the textures are the same.
This worked out quite well and took me just some minutes. My question is: would this be possible in a way using shadertechnologies (be it pixel or vertex) to achieve a better performance, as i will have to compare the textures about 10 to 60 times a second and for now don´t know if this would be possible at all.
I didn´t find any possibility to give back values to vvvv from out a shader for now (well, didn´t research too much right now…) and was wondering, if this would be doable.
See attached Patch for my now working cpu- based solution.
Cheers, Chris
TexturVergleich.v4p (14.0 kB)