mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
Fix upside down rain particle texture
This commit is contained in:
parent
2da4de85be
commit
2368382ea5
@ -1329,7 +1329,7 @@ void SkyManager::createRain()
|
||||
mRainParticleSystem = new osgParticle::ParticleSystem;
|
||||
mRainParticleSystem->setParticleAlignment(osgParticle::ParticleSystem::FIXED);
|
||||
mRainParticleSystem->setAlignVectorX(osg::Vec3f(0.1,0,0));
|
||||
mRainParticleSystem->setAlignVectorY(osg::Vec3f(0,0,-1));
|
||||
mRainParticleSystem->setAlignVectorY(osg::Vec3f(0,0,1));
|
||||
|
||||
osg::ref_ptr<osg::StateSet> stateset (mRainParticleSystem->getOrCreateStateSet());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user