Sphere bump mapping

Hello everybody,

I’ve started on learning JOGL and I’ve stumbled upon a problem regarding bump mapping. Basically what I want to do is to generate a bump mapping effect on a sphere, but the algorithms elude me…

If anyone of you has any hints on how to do it I’ll appreciate it a lot :slight_smile:

Thanks,
Gabriel