revert alpha map minFilter

This commit is contained in:
lvlong 2015-04-02 15:10:51 +08:00
parent c3cc8b917c
commit 60bed4f461
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ Terrain * Terrain::create(TerrainData &parameter, CrackFixedType fixedType)
terrain->_alphaMap->initWithImage(image); terrain->_alphaMap->initWithImage(image);
texParam.wrapS = GL_CLAMP_TO_EDGE; texParam.wrapS = GL_CLAMP_TO_EDGE;
texParam.wrapT = GL_CLAMP_TO_EDGE; texParam.wrapT = GL_CLAMP_TO_EDGE;
texParam.minFilter = GL_LINEAR_MIPMAP_LINEAR; texParam.minFilter = GL_LINEAR;
texParam.magFilter = GL_LINEAR; texParam.magFilter = GL_LINEAR;
terrain->_alphaMap->setTexParameters(texParam); terrain->_alphaMap->setTexParameters(texParam);
delete image; delete image;