From 71f57b5378856de4c1c815cb415c6c840c23d725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 10 Oct 2016 13:28:24 +0200 Subject: [PATCH] Shaders: fixed default Phong light color in ES builds. The cause was careless coding in da2ac0047867d4a3fa9383236d8c61e1e05b256b. I desperately need those shader output tests :/ --- src/Magnum/Shaders/Phong.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Shaders/Phong.cpp b/src/Magnum/Shaders/Phong.cpp index bf0c5d2b9..5431be52c 100644 --- a/src/Magnum/Shaders/Phong.cpp +++ b/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 }