I'm working on a 3d terrain. I tried out some existing GLSL implementations for bump mapping using normal maps from a Procedural Infinite 3D Cave Generation tutorial.
Note that this shader uses tri-planar texturing.
The problem is that I'm getting the following artifacts - black spots:
Does anyone have a clue why this is happening?