From 5d6a26c10f7e88b25539f0b5f447cfbe5945973c Mon Sep 17 00:00:00 2001 From: "glassmancody.info" Date: Wed, 3 Aug 2022 07:55:56 -0700 Subject: [PATCH] dont ignore tested objects in postpass --- apps/openmw/mwrender/transparentpass.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/openmw/mwrender/transparentpass.cpp b/apps/openmw/mwrender/transparentpass.cpp index facd271643..eee7d72ecd 100644 --- a/apps/openmw/mwrender/transparentpass.cpp +++ b/apps/openmw/mwrender/transparentpass.cpp @@ -109,9 +109,6 @@ namespace MWRender if (rl->_drawable->getNodeMask() == Mask_ParticleSystem || rl->_drawable->getNodeMask() == Mask_Effect) continue; - if (ss->getAttribute(osg::StateAttribute::ALPHAFUNC)) - continue; - if (ss->getAttribute(osg::StateAttribute::MATERIAL)) { const osg::Material* mat = static_cast(ss->getAttribute(osg::StateAttribute::MATERIAL)); if (mat->getDiffuse(osg::Material::FRONT).a() < 0.5)