summaryrefslogtreecommitdiffstats
path: root/src/api/studio3d/doc/src/building-opengl-runtime.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/studio3d/doc/src/building-opengl-runtime.qdoc')
-rw-r--r--src/api/studio3d/doc/src/building-opengl-runtime.qdoc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/api/studio3d/doc/src/building-opengl-runtime.qdoc b/src/api/studio3d/doc/src/building-opengl-runtime.qdoc
index f33715c..30822bb 100644
--- a/src/api/studio3d/doc/src/building-opengl-runtime.qdoc
+++ b/src/api/studio3d/doc/src/building-opengl-runtime.qdoc
@@ -75,6 +75,16 @@ Log format is: \c {(n) [task name] - [time] = [cumulative time]} where:
\note \c QT3DS_ENABLE_PERF_LOGGING should not be enabled in release builds as logging increases performance overhead.
+\section2 Shadows and Lights
+To optimize the supported shadows and lights amount, you can define QT3DS_MAX_NUM_LIGHTS and QT3DS_MAX_NUM_SHADOWS.
+
+\section2 Legacy ASTC
+To enable legacy ASTC which means that ASTC files are not loaded until needed for texture creation, define LEGACY_ASTC_LOADING.
+
+\section2 Premultiplied ASTC
+To force all ASTC compressed images to be treated as premultiplied, you can enable this. Alternatively if you want
+to do this at runtime, set QT3DS_ALL_ASTC_PREMULTIPLIED as an environment variable.
+
\section1 Build Instructions
\list