Class LightmapSettings
Describes lightmap generation options
Inheritance
System.Object
LightmapSettings
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class LightmapSettings : ValueType
Fields
AtlasSize
Single lightmap atlas size (width and height in pixels)
Declaration
[EditorOrder(30)]
public LightmapSettings.AtlasSizes AtlasSize
Field Value
LightmapSettings.AtlasSizes
|
BounceCount
Amount of indirect light GI bounce passes
Declaration
[EditorOrder(40)]
[Limit(1F, 16F, 0.1F)]
public int BounceCount
Field Value
System.Int32
|
ChartsPadding
Amount of pixel space between charts in lightmap atlas
Declaration
[EditorOrder(20)]
[Limit(0F, 16F, 0.1F)]
public int ChartsPadding
Field Value
System.Int32
|
CompressLightmaps
Enable/disable compressing lightmap textures (3 textures per lightmap with RGBA data in HDR)
Declaration
[EditorOrder(45)]
public bool CompressLightmaps
Field Value
System.Boolean
|
GlobalObjectsScale
Global scale for objects in the lightmap to increase quality
Declaration
[EditorOrder(10)]
[Limit(0F, 100F, 0.1F)]
public float GlobalObjectsScale
Field Value
System.Single
|
IndirectLightingIntensity
Controls how much all lights will contribute to indirect lighting.
Declaration
[EditorOrder(0)]
[Limit(0F, 100F, 0.1F)]
public float IndirectLightingIntensity
Field Value
System.Single
|
Quality
GI quality (range [0;100])
Declaration
[EditorOrder(60)]
[Limit(0F, 100F, 0.1F)]
public int Quality
Field Value
System.Int32
|
UseGeometryWithNoMaterials
Enable/disable rendering static light for geometry with missing or empty material slots
Declaration
[EditorOrder(50)]
public bool UseGeometryWithNoMaterials
Field Value
System.Boolean
|
Properties
Default
The default LightmapSettings.
Declaration
public static LightmapSettings Default { get; }
Property Value
LightmapSettings
|