Enabled the specular color of the sun light source.

ver1_5_1
Chris Laurel 2002-01-09 01:13:24 +00:00
parent 35ab5d838e
commit 5c0f564df6
1 changed files with 1 additions and 0 deletions

View File

@ -1858,6 +1858,7 @@ void Renderer::renderPlanet(const Body& body,
if (useRescaleNormal)
{
glLightColor(GL_LIGHT0, GL_DIFFUSE, ri.sunColor);
glLightColor(GL_LIGHT0, GL_SPECULAR, ri.sunColor);
}
else
{