1 | // Copyright (C) 2023 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #ifndef QSSGLIGHTMAPPER_H |
5 | #define QSSGLIGHTMAPPER_H |
6 | |
7 | // |
8 | // W A R N I N G |
9 | // ------------- |
10 | // |
11 | // This file is part of the QtQuick3D API, with limited compatibility guarantees. |
12 | // Usage of this API may make your code source and binary incompatible with |
13 | // future versions of Qt. |
14 | // |
15 | |
16 | #include <QtQuick3DRuntimeRender/qtquick3druntimerenderexports.h> |
17 | |
18 | QT_BEGIN_NAMESPACE |
19 | |
20 | struct QSSGLightmapperOptions |
21 | { |
22 | float opacityThreshold = 0.5f; |
23 | float bias = 0.005f; |
24 | bool useAdaptiveBias = true; |
25 | bool indirectLightEnabled = true; |
26 | int indirectLightSamples = 256; |
27 | int indirectLightWorkgroupSize = 32; |
28 | int indirectLightBounces = 3; |
29 | float indirectLightFactor = 1.0f; |
30 | }; |
31 | |
32 | QT_END_NAMESPACE |
33 | |
34 | #endif // QSSGLIGHTMAPPER_H |
35 |