diff options
author | Jonas Karlsson <jonas.karlsson@qt.io> | 2024-01-22 13:04:01 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-01-29 21:02:23 +0000 |
commit | 2eb060f841de446c9230966a68e302aef15fecf3 (patch) | |
tree | 14aea0fcacd164ecb89f44ebc179a98808694039 | |
parent | e5f16f58458282c46b77fe54424d7254f81dfc0d (diff) |
[docs] SpecularGlossyMaterial: put value and description together
Amends 575232910d1c1896332b6dde1c528f621da5173e.
Pick-to: 6.5
Change-Id: Ic072d3c11191879c9b88ffcea827006321a8958c
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 9aeba34e1611ca2600368d79e6d39bb8f30b402f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 3c6fda92eba52533fe401cf226b8ddbe3ae88e89)
-rw-r--r-- | src/quick3d/qquick3dspecularglossymaterial.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/quick3d/qquick3dspecularglossymaterial.cpp b/src/quick3d/qquick3dspecularglossymaterial.cpp index dfa800fe..b164c581 100644 --- a/src/quick3d/qquick3dspecularglossymaterial.cpp +++ b/src/quick3d/qquick3dspecularglossymaterial.cpp @@ -66,18 +66,15 @@ QT_BEGIN_NAMESPACE The default value is \c SpecularGlossyMaterial.FragmentLighting - When using \c SpecularGlossyMaterial.FragmentLighting, diffuse and specular lighting is + \value SpecularGlossyMaterial.FragmentLighting Diffuse and specular lighting is calculated for each rendered pixel. Certain effects (such as a Fresnel or normal map) require \c SpecularGlossyMaterial.FragmentLighting to work. - When using \c SpecularGlossyMaterial.NoLighting no lighting is calculated. This + \value SpecularGlossyMaterial.NoLighting No lighting is calculated. This mode is (predictably) very fast, and is quite effective when image maps are used that you do not need to be shaded by lighting. All other shading properties except albedo values, alpha values, and vertex colors will be ignored. - - \value SpecularGlossyMaterial.NoLighting - \value SpecularGlossyMaterial.FragmentLighting */ /*! |