From f69644936e06839b6200e4d050ba05e6a11e3a39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 8 Sep 2020 12:52:31 +0200 Subject: [PATCH] Shaders: reference the normal mapping docs from relevant APIs. --- src/Magnum/Shaders/Phong.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Shaders/Phong.h b/src/Magnum/Shaders/Phong.h index af3eea238..77bb29cbb 100644 --- a/src/Magnum/Shaders/Phong.h +++ b/src/Magnum/Shaders/Phong.h @@ -658,7 +658,7 @@ class MAGNUM_SHADERS_EXPORT Phong: public GL::AbstractShaderProgram { * Expects that the shader was created with @ref Flag::NormalTexture * enabled. If @ref lightCount() is zero, this function is a no-op, as * normals don't contribute to the output in that case. - * @see @ref bindNormalTexture(), + * @see @ref Shaders-Phong-normal-mapping, @ref bindNormalTexture(), * @ref Trade::MaterialAttribute::NormalTextureScale */ Phong& setNormalTextureScale(Float scale); @@ -672,7 +672,8 @@ class MAGNUM_SHADERS_EXPORT Phong: public GL::AbstractShaderProgram { * enabled and the @ref Tangent attribute was supplied. If * @ref lightCount() is zero, this function is a no-op, as normals * don't contribute to the output in that case. - * @see @ref bindTextures(), @ref setNormalTextureScale() + * @see @ref Shaders-Phong-normal-mapping, + * @ref bindTextures(), @ref setNormalTextureScale() */ Phong& bindNormalTexture(GL::Texture2D& texture);