X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fenvironment%2Fprecipitation.cxx;h=073c06d81869012a6af592b737a949c6abdec7b6;hb=d4310a7f3b27b8403ba1ec030cfd3b4c6c565f24;hp=3f57afc7d513bb743785a7538a3d960447308c04;hpb=ddfdbd75b87b62b831e899821795c2f735c0dbda;p=simgear.git diff --git a/simgear/environment/precipitation.cxx b/simgear/environment/precipitation.cxx index 3f57afc7..073c06d8 100644 --- a/simgear/environment/precipitation.cxx +++ b/simgear/environment/precipitation.cxx @@ -80,7 +80,7 @@ osg::Group* SGPrecipitation::build(void) group->addChild(_precipitationEffect.get()); } - group->setNodeMask( ~simgear::CASTSHADOW_BIT ); + group->setNodeMask( ~(simgear::CASTSHADOW_BIT | simgear::MODELLIGHT_BIT) ); return group; }