update SDRender for good lightning

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5433 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5f91006c11238a109c77d1337b331a6ec933fc5e
Former-commit-id: 237a491476e3b669b2f1fd2eda59f9c3ef57309e
This commit is contained in:
torcs-ng 2013-05-09 13:34:35 +00:00
parent 319d420940
commit 8fb4ef3cf5

View file

@ -320,8 +320,8 @@ void SDRender::UpdateLight( void )
osg::Vec4f suncolor = thesky->get_sun_color();
//osg::Vec3f sun_color = osg::Vec3f(suncolor._v[0], suncolor._v[1], suncolor._v[2]);
osg::Vec3f sun_color = osg::Vec3f(0.7f, 0.7f, 0.7f); // For Test !!!
osg::Vec3f sun_color = osg::Vec3f(suncolor._v[0], suncolor._v[1], suncolor._v[2]);
//osg::Vec3f sun_color = osg::Vec3f(0.7f, 0.7f, 0.7f); // For Test !!!
GfOut("Sun Color in Render = %f R - %f V - %f B\n", sun_color._v[0], sun_color._v[1], sun_color._v[2]);
if (sol_angle > 1.0)