mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-08 03:41:11 -04:00
Node mask fix
This commit is contained in:
parent
9c503cbd8c
commit
02148a43f5
@ -1317,6 +1317,7 @@ namespace MWRender
|
||||
{
|
||||
mGlowLight = new SceneUtil::LightSource;
|
||||
mGlowLight->setLight(new osg::Light);
|
||||
mGlowLight->setNodeMask(Mask_Lighting);
|
||||
osg::Light* light = mGlowLight->getLight();
|
||||
light->setDiffuse(osg::Vec4f(0,0,0,0));
|
||||
light->setSpecular(osg::Vec4f(0,0,0,0));
|
||||
|
Loading…
x
Reference in New Issue
Block a user