We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to Reproduce:
#17278 not fix the bug // etc1 support check whether alpha texture exists & load it auto alphaFile = vt->_fileName + TextureCache::getETC1AlphaFileSuffix(); Texture2D::PixelFormat oldPixelFormat = Texture2D::getDefaultAlphaPixelFormat(); reloadTexture(vt->_texture->getAlphaTexture(), alphaFile, vt->_pixelFormat);
//After reload alphaTexture, you should setAlphaTexture,Like: vt->_texture->setAlphaTexture(vt->_texture->getAlphaTexture());
//otherwise,ect1 texture will lost still
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Steps to Reproduce:
#17278 not fix the bug
// etc1 support check whether alpha texture exists & load it
auto alphaFile = vt->_fileName + TextureCache::getETC1AlphaFileSuffix();
Texture2D::PixelFormat oldPixelFormat = Texture2D::getDefaultAlphaPixelFormat();
reloadTexture(vt->_texture->getAlphaTexture(), alphaFile, vt->_pixelFormat);
//After reload alphaTexture, you should setAlphaTexture,Like:
vt->_texture->setAlphaTexture(vt->_texture->getAlphaTexture());
//otherwise,ect1 texture will lost still
The text was updated successfully, but these errors were encountered: