1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 10:53:51 +00:00

Fix use of incorrect material for Sun

This commit is contained in:
slothlife 2015-08-05 22:02:54 -05:00
parent f2e51b0579
commit 238ae419a3

View file

@ -377,7 +377,7 @@ public:
osg::Texture::CLAMP); osg::Texture::CLAMP);
stateset->setTextureAttributeAndModes(0, tex, osg::StateAttribute::ON); stateset->setTextureAttributeAndModes(0, tex, osg::StateAttribute::ON);
stateset->setAttributeAndModes(createAlphaTrackingUnlitMaterial(), stateset->setAttributeAndModes(createUnlitMaterial(),
osg::StateAttribute::ON | osg::StateAttribute::OVERRIDE); osg::StateAttribute::ON | osg::StateAttribute::OVERRIDE);
} }