From: Frederic Bouvier Date: Fri, 13 Jul 2012 15:53:00 +0000 (+0200) Subject: Precipitation don't cast shadows X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ddfdbd75b87b62b831e899821795c2f735c0dbda;p=simgear.git Precipitation don't cast shadows --- diff --git a/simgear/environment/precipitation.cxx b/simgear/environment/precipitation.cxx index d22bbfd8..3f57afc7 100644 --- a/simgear/environment/precipitation.cxx +++ b/simgear/environment/precipitation.cxx @@ -29,6 +29,7 @@ #include #include +#include /** * @brief SGPrecipitation constructor @@ -79,6 +80,8 @@ osg::Group* SGPrecipitation::build(void) group->addChild(_precipitationEffect.get()); } + group->setNodeMask( ~simgear::CASTSHADOW_BIT ); + return group; }