Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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.

The actual code that I used is in the Cave3D repository, not the one in the post. Here's their vertex shader and their fragment shader. The textures can be found on the same repository.

Note that this shader uses tri-planar texturing.

The problem is that I'm getting the following artifacts - black spots:

enter image description here

Does anyone have a clue why this is happening?

share|improve this question
    
From a look at their sample images it might just be by design, and those are little peaks you're seeing the (black) back of. –  doppelgreener Aug 20 '12 at 0:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.