mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Fixing water <-> waterfall blending issues (Sort of... the second part will follow later)
This commit is contained in:
parent
bd8d793fec
commit
b8c6f6640b
@ -48,7 +48,6 @@ Water::Water (Ogre::Camera *camera, RenderingManager* rend, const ESM::Cell* cel
|
||||
|
||||
mWater = mSceneManager->createEntity("water");
|
||||
mWater->setVisibilityFlags(RV_Water);
|
||||
mWater->setRenderQueueGroup(RQG_Water);
|
||||
mWater->setCastShadows(false);
|
||||
|
||||
mWaterNode = mSceneManager->getRootSceneNode()->createChildSceneNode();
|
||||
@ -324,7 +323,11 @@ void Water::applyRTT()
|
||||
mReflectionTarget = rtt;
|
||||
|
||||
sh::Factory::getInstance ().setTextureAlias ("WaterReflection", mReflectionTexture->getName());
|
||||
|
||||
mWater->setRenderQueueGroup(RQG_Water);
|
||||
}
|
||||
else
|
||||
mWater->setRenderQueueGroup(RQG_Alpha);
|
||||
}
|
||||
|
||||
void Water::applyVisibilityMask()
|
||||
|
Loading…
x
Reference in New Issue
Block a user