Original Post
I've tried searching Google for this, but with no joy, I keep getting conflicting answers (plus it seems whenever I search for anything normal map related on Google the results are never great) Anyway. I have my terrain normal map, which is based on the height map. Then I have my normal map for the texture I'm applying to the terrain. How do I combine these in the pixel shader for my terrain so that the normals for the texture are offset by the correct angle due to the slopes of the terrain?