Fix use of incorrect material for Sun

sceneinput
slothlife 10 years ago
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…
Cancel
Save