Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qssglightmapper.h
Go to the documentation of this file.
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#include <QString>
18
19QT_BEGIN_NAMESPACE
20
21struct QSSGLightmapperOptions
22{
23 float opacityThreshold = 0.5f;
24 float bias = 0.005f;
25 bool useAdaptiveBias = true;
26 bool indirectLightEnabled = true;
27 int indirectLightSamples = 256;
28 int indirectLightWorkgroupSize = 32;
29 int indirectLightBounces = 3;
30 float indirectLightFactor = 1.0f;
31 QString source = QStringLiteral("lightmaps.bin");
32 float sigma = 8.f;
33 float texelsPerUnit = 1.f;
34};
35
36QT_END_NAMESPACE
37
38#endif // QSSGLIGHTMAPPER_H