From c82a34c157f2f37dcac6ad9248dc3c2c362cf103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 21 Mar 2020 17:48:33 +0100 Subject: [PATCH] Shaders: doc++ --- src/Magnum/Shaders/Phong.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Shaders/Phong.h b/src/Magnum/Shaders/Phong.h index b40b3bd23..134b3670f 100644 --- a/src/Magnum/Shaders/Phong.h +++ b/src/Magnum/Shaders/Phong.h @@ -472,8 +472,8 @@ class MAGNUM_SHADERS_EXPORT Phong: public GL::AbstractShaderProgram { * @brief Set normal matrix * @return Reference to self (for method chaining) * - * The matrix doesn't need to be normalized, as the renormalization - * must be done in the shader anyway. You need to set also + * The matrix doesn't need to be normalized, as renormalization is done + * per-fragment anyway. You need to set also * @ref setTransformationMatrix() with a corresponding value. Initial * value is an identity matrix. If @ref lightCount() is zero, this * function is a no-op, as normals don't contribute to the output in