Browse Source

Shaders: fixed default Phong light color in ES builds.

The cause was careless coding in
da2ac00478. I desperately need those
shader output tests :/
pull/187/head^2
Vladimír Vondruš 10 years ago
parent
commit
71f57b5378
  1. 2
      src/Magnum/Shaders/Phong.cpp

2
src/Magnum/Shaders/Phong.cpp

@ -119,7 +119,7 @@ Phong::Phong(const Flags flags): transformationMatrixUniform(0), projectionMatri
if(flags & Flag::DiffuseTexture) setDiffuseColor(Color4{1.0f});
setSpecularColor(Color4{1.0f});
setLightColor(Color4{.0f});
setLightColor(Color4{1.0f});
setShininess(80.0f);
#endif
}

Loading…
Cancel
Save