diff --git a/engine/src/core-data/Common/ShaderLib/Parallax.glsllib b/engine/src/core-data/Common/ShaderLib/Parallax.glsllib index 61b9d4b8f..15fdea80c 100644 --- a/engine/src/core-data/Common/ShaderLib/Parallax.glsllib +++ b/engine/src/core-data/Common/ShaderLib/Parallax.glsllib @@ -36,10 +36,10 @@ #ifdef NORMALMAP_PARALLAX //parallax map is stored in the alpha channel of the normal map - fCurrHeight = texture2DLod( parallaxMap, vTexCurrentOffset,1.0).a; + fCurrHeight = texture2D( parallaxMap, vTexCurrentOffset).a; #else //parallax map is a texture - fCurrHeight = texture2DLod( parallaxMap, vTexCurrentOffset,1.0).r; + fCurrHeight = texture2D( parallaxMap, vTexCurrentOffset).r; #endif fCurrentBound -= fStepSize;