From c8fbe26c7d0a3034cb9c47f9486cf7b8b3c9be4a Mon Sep 17 00:00:00 2001 From: Hat Kid <6624576+Hat-Kid@users.noreply.github.com> Date: Mon, 15 Jul 2024 21:39:44 +0200 Subject: [PATCH] jak3: fix texture anim alpha (#3587) --- game/graphics/opengl_renderer/TextureAnimator.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/game/graphics/opengl_renderer/TextureAnimator.cpp b/game/graphics/opengl_renderer/TextureAnimator.cpp index 3b939ae5b4..355391bfc7 100644 --- a/game/graphics/opengl_renderer/TextureAnimator.cpp +++ b/game/graphics/opengl_renderer/TextureAnimator.cpp @@ -2531,6 +2531,7 @@ void TextureAnimator::run_fixed_animation(FixedAnim& anim, float time) { if (true) { // todo glColorMask(true, true, true, false); glUniform1f(m_uniforms.alpha_multiply, 2.f); + glUniform1i(m_uniforms.set_alpha, 0); glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); glColorMask(false, false, false, true); if (anim.def.set_alpha) {