diff --git a/src/modules/graphic/osggraph/OsgCar/OsgCar.cpp b/src/modules/graphic/osggraph/OsgCar/OsgCar.cpp index 2788c97c6..3f306c479 100755 --- a/src/modules/graphic/osggraph/OsgCar/OsgCar.cpp +++ b/src/modules/graphic/osggraph/OsgCar/OsgCar.cpp @@ -225,7 +225,7 @@ osg::Node *SDCar::loadCar(tCarElt *car) this->shader = new SDCarShader(pCar.get(),this); - this->reflectionMappingMethod = REFLECTIONMAPPING_STATIC; + this->reflectionMappingMethod = REFLECTIONMAPPING_OFF; this->reflectionMapping = new SDReflectionMapping(this); diff --git a/src/modules/graphic/osggraph/OsgFX/OsgReflectionMapping.cpp b/src/modules/graphic/osggraph/OsgFX/OsgReflectionMapping.cpp index 58fe3a84e..27d8c2e5c 100755 --- a/src/modules/graphic/osggraph/OsgFX/OsgReflectionMapping.cpp +++ b/src/modules/graphic/osggraph/OsgFX/OsgReflectionMapping.cpp @@ -131,8 +131,11 @@ SDReflectionMapping::SDReflectionMapping(SDCar *c):car(c){ } - SDScreens * screens = (SDScreens*)getScreens(); - screens->registerViewDependantPreRenderNode(this->getCamerasRoot()); + + + //ACTIVATE to enable Environment MApping <= temporary hack. + //SDScreens * screens = (SDScreens*)getScreens(); + //screens->registerViewDependantPreRenderNode(this->getCamerasRoot()); //cameras[4]->setNodeMask(1);