If a scene file contains lights, their color attributes won't be loaded.
In egLight.cpp LightNode::parsingFunc:
Code:
itr = attribs.find( "col_r" );
if( itr != attribs.end() ) lightTpl->col_R = (float)atof( itr->second.c_str() );
itr = attribs.find( "col_r" );
if( itr != attribs.end() ) lightTpl->col_G = (float)atof( itr->second.c_str() );
itr = attribs.find( "col_r" );
if( itr != attribs.end() ) lightTpl->col_B = (float)atof( itr->second.c_str() );
Should be:
Code:
itr = attribs.find( "col_R" );
if( itr != attribs.end() ) lightTpl->col_R = (float)atof( itr->second.c_str() );
itr = attribs.find( "col_G" );
if( itr != attribs.end() ) lightTpl->col_G = (float)atof( itr->second.c_str() );
itr = attribs.find( "col_B" );
if( itr != attribs.end() ) lightTpl->col_B = (float)atof( itr->second.c_str() );