mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 22:45:15 -04: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…
x
Reference in New Issue
Block a user