Took a look at the new terrain shader and noticed a bug.
This:
float3 texpart5 = tex2D(NormalMapSampler,IN.TexCoord)/4.0 ;
Should be:
float3 texpart5 = tex2D(NormalMapSampler,IN.TexCoord/4.0) ;
That bug will remove normals from all rock textures , wonder how long that has been there.
Also please decrease slope a little on rock texture , its nearly never visible on a normal terrain , this change make it look mush better:
From:
normalmap = lerp(texpart5, normalmap, clamp((Nn.y-0.3)*2.5, 0.0, 1.0) ); // rock
diffusemap = lerp(cXZ, diffusemap, clamp((Nn.y-0.3)*2.5, 0.0, 1.0) ); // rock
To:
normalmap = lerp(texpart5, normalmap, clamp((Nn.y-0.4)*2.5, 0.0, 1.0) ); // rock
diffusemap = lerp(cXZ, diffusemap, clamp((Nn.y-0.4)*2.5, 0.0, 1.0) ); // rock
best regards Preben Eriksen,