I am doing gray scale transitions between different images and have an idea that i can do it by doing some blending but can any body please help me how to actually implement it.
Thanks
This has been done language-agnostically here
It seems it can be done in a pixel shader, but speed concerns require precomputing blending ratios.