diff --git a/cocos/3d/CCTerrain.cpp b/cocos/3d/CCTerrain.cpp index 5ce826308c..6ef9b5bdbf 100644 --- a/cocos/3d/CCTerrain.cpp +++ b/cocos/3d/CCTerrain.cpp @@ -35,7 +35,7 @@ Terrain * Terrain::create(TerrainData ¶meter, CrackFixedType fixedType) texture->generateMipmap(); terrain->_detailMapTextures[0] = texture; texParam.minFilter = GL_LINEAR_MIPMAP_LINEAR; - texParam.magFilter = GL_LINEAR_MIPMAP_LINEAR; + texParam.magFilter = GL_LINEAR; texture->setTexParameters(texParam); delete textImage; }else @@ -47,7 +47,7 @@ Terrain * Terrain::create(TerrainData ¶meter, CrackFixedType fixedType) terrain->_alphaMap->initWithImage(image); texParam.wrapS = GL_CLAMP_TO_EDGE; texParam.wrapT = GL_CLAMP_TO_EDGE; - texParam.minFilter = GL_LINEAR; + texParam.minFilter = GL_LINEAR_MIPMAP_LINEAR; texParam.magFilter = GL_LINEAR; terrain->_alphaMap->setTexParameters(texParam); delete image; @@ -65,7 +65,7 @@ Terrain * Terrain::create(TerrainData ¶meter, CrackFixedType fixedType) texParam.wrapS = GL_REPEAT; texParam.wrapT = GL_REPEAT; texParam.minFilter = GL_LINEAR_MIPMAP_LINEAR; - texParam.magFilter = GL_LINEAR_MIPMAP_LINEAR; + texParam.magFilter = GL_LINEAR; texture->setTexParameters(texParam); } }