summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscrawl <scrawl@baseoftrash.de>2016-03-22 19:32:17 +0100
committerscrawl <scrawl@baseoftrash.de>2016-03-22 19:32:17 +0100
commitdd2e0c6eaf6ef7325a9870802e3426cd32bf06af (patch)
tree2a1258463292074b6291a9560a4ce0f1ec1bac50
parente8e3407062caad86c3e0c9dc3af0ae7ad7921434 (diff)
Fix terrain parallax mappingopenmw-36
-rw-r--r--files/materials/terrain.shader2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/materials/terrain.shader b/files/materials/terrain.shader
index f20fce5063..101320d30b 100644
--- a/files/materials/terrain.shader
+++ b/files/materials/terrain.shader
@@ -384,7 +384,7 @@ float2 blendUV = (UV - 0.5) * (16.0 / (16.0+1.0)) + 0.5;
thisLayerUV += TSeyeDir.xy * ( normalTex.a * PARALLAX_SCALE + PARALLAX_BIAS );
#endif
- diffuseTex = shSample(diffuseMap@shIterator, layerUV);
+ diffuseTex = shSample(diffuseMap@shIterator, thisLayerUV);
#if !@shPropertyBool(use_specular_@shIterator)
diffuseTex.a = 0.0;
#endif