Enabled the specular color of the sun light source.
parent
35ab5d838e
commit
5c0f564df6
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue