summaryrefslogtreecommitdiffstats
path: root/src/extras/defaults/qskyboxentity.cpp
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2017-01-09 16:00:07 +0100
committerPaul Lemire <paul.lemire@kdab.com>2017-01-11 07:26:43 +0000
commit168df684faec35dd8422c03d53dc6954805c7425 (patch)
tree2bdeb0198cdc482aa7656fa3933f78bb1fefed68 /src/extras/defaults/qskyboxentity.cpp
parenta4ab9962239c692b302f0d75cfdec96359a8d33e (diff)
Skybox: add documentation about issues with frustum culling
Also fix the examples to not perform frustum culling Task-number: QTBUG-57989 Change-Id: If3755cad71158b62fffebdaeba41ba32e2b1d1ff Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/extras/defaults/qskyboxentity.cpp')
-rw-r--r--src/extras/defaults/qskyboxentity.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/extras/defaults/qskyboxentity.cpp b/src/extras/defaults/qskyboxentity.cpp
index e81c6ad91..32e68e6fc 100644
--- a/src/extras/defaults/qskyboxentity.cpp
+++ b/src/extras/defaults/qskyboxentity.cpp
@@ -201,7 +201,10 @@ void QSkyboxEntityPrivate::reloadTexture()
*
* By default the extension defaults to .png.
*
- * \note Please note that you shouldn't try to render skybox with an
+ * Be sure to disable frustum culling in the FrameGraph through which the
+ * skybox rendering happens.
+ *
+ * \note Please note that you shouldn't try to render a skybox with an
* orthographic projection.
*
* \since 5.5