mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-28 09:35:40 +01:00
fix banner items not rendering alpha
This commit is contained in:
1 parent
37e09526e5
commit
c929dbb44a
1 file changed
+3
-1
@@ -145,7 +145,9 @@ void BannerRenderer::renderModelColoured(int baseColor, const std::vector<Banner
|
||||
{
|
||||
bindTexture(&BANNER_LOCATION);
|
||||
|
||||
glDisable(GL_BLEND);
|
||||
glEnable(GL_BLEND);
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
applyBannerColor(baseColor, alpha);
|
||||
bannerModel->bannerSlate->render(1.0f / 16.0f, false);
|
||||
|
||||
|
||||
Reference in new issue
Block a user