Skip to content

Commit

Permalink
Fix use of incorrect material for Sun
Browse files Browse the repository at this point in the history
  • Loading branch information
slothlife committed Aug 6, 2015
1 parent f2e51b0 commit 238ae41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/openmw/mwrender/sky.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ class Sun : public CelestialBody
osg::Texture::CLAMP);

stateset->setTextureAttributeAndModes(0, tex, osg::StateAttribute::ON);
stateset->setAttributeAndModes(createAlphaTrackingUnlitMaterial(),
stateset->setAttributeAndModes(createUnlitMaterial(),
osg::StateAttribute::ON | osg::StateAttribute::OVERRIDE);
}

Expand Down

0 comments on commit 238ae41

Please sign in to comment.