How to make texture emboss at the time of game play.

I am making Jigsaw puzzle game in 2D and 3D both. In that i want emboss effect in image pieces. I need an emboss effect as same as http://www.jigsawplanet.com. can any one help me to get emboss effect by using shader or any other thing.

Thank you. Hakuna Matata

Do you have fixed shapes for the pieces?
Then could just create bewel/emboss image in photoshop and overlay/draw it into the piece textures…

Or, have to look for how bevel/emboss algorithm works and use SetPixels to draw it to your pieces…

Yes, i have make emboss image for one shape in photoshop and overlay it into the piece textures.
But, Actually i have more than 5 shapes and each shape have 250 piece variation.
For that i have to make more than 1250 emboss images.
So, i am finding any other way to do that.

Now, i am looking for new idea use “SetPixels”.
Thanks for new one.

I think this could be solved with some shader. It helps modify your texture and makes what called material.

I have tried it by using shader also by giving it normal map.
But, at the border of image i m not getting the result. specially at the cut portion of the image.

Screenshots of your efforts would help.

Show us your normal map. Do you use Unity import settings and convert a greyscale image?