Reduce minimum required OpenGL version from 3.3.0 to 2.1.0, and other fixes #3

Merged
xavi merged 3 commits from gl-renderer into main 2025-01-08 00:48:26 +01:00
Showing only changes of commit 8f230211bb - Show all commits

View file

@ -644,6 +644,7 @@ osg::ref_ptr<osg::Node> SDCar::loadCar(tCarElt *Car, bool tracktype, bool subcat
else
this->reflectionMappingMethod = REFLECTIONMAPPING_OFF;
if (_carShader > 0)
this->shader = new SDCarShader(car_shaded_body.get(), this);
this->reflectionMapping = new SDReflectionMapping(this);