Are they any good examples to learn from or tutorials for this?

thanks in advance

There are a few examples floating around on the web, but I still haven’t seen one good repository. For now, you can look in the advanced forum on this site. Download the demos in the “Realtime soft shadow volumes” and “better bump mapping” threads. You’ll find some decent examples in those.