From 593864be5cbfa270968492309c39fdea408fcd0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 22 Oct 2013 16:07:08 +0200 Subject: [PATCH] Shaders: doc++ --- src/Shaders/Phong.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Shaders/Phong.h b/src/Shaders/Phong.h index 728bca52d..801c585ef 100644 --- a/src/Shaders/Phong.h +++ b/src/Shaders/Phong.h @@ -39,9 +39,9 @@ namespace Magnum { namespace Shaders { /** @brief Phong shader -Uses ambient, diffuse and specular color or texture. You need to provide -@ref Position and @ref Normal attributes in your triangle mesh and call at -least @ref setTransformationMatrix(), @ref setNormalMatrix(), +Uses ambient, diffuse and specular color or texture. For colored mesh you need +to provide @ref Position and @ref Normal attributes in your triangle mesh and +call at least @ref setTransformationMatrix(), @ref setNormalMatrix(), @ref setProjectionMatrix(), @ref setDiffuseColor() and @ref setLightPosition(). If you want to use texture instead of color, you need to provide also