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:
parent
f2e51b0579
commit
238ae419a3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue