mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-16 16:20:53 +00:00
Fix use of incorrect material for Sun
This commit is contained in:
parent
f2e51b0579
commit
238ae419a3
@ -377,7 +377,7 @@ public:
|
||||
osg::Texture::CLAMP);
|
||||
|
||||
stateset->setTextureAttributeAndModes(0, tex, osg::StateAttribute::ON);
|
||||
stateset->setAttributeAndModes(createAlphaTrackingUnlitMaterial(),
|
||||
stateset->setAttributeAndModes(createUnlitMaterial(),
|
||||
osg::StateAttribute::ON | osg::StateAttribute::OVERRIDE);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user