1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-29 22:20:33 +00:00

dont ignore tested objects in postpass

This commit is contained in:
glassmancody.info 2022-08-03 07:55:56 -07:00
parent caf971b979
commit 5d6a26c10f

View File

@ -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<const osg::Material*>(ss->getAttribute(osg::StateAttribute::MATERIAL));
if (mat->getDiffuse(osg::Material::FRONT).a() < 0.5)