Rebel Fork Framework
|
Lightmap chart allocation settings. More...
#include <Urho3D/Graphics/LightBakingSettings.h>
Public Attributes | |
unsigned | lightmapSize_ { 512 } |
Size of lightmap chart. | |
unsigned | padding_ { 1 } |
Padding between individual objects on the chart. | |
float | texelDensity_ { 10 } |
Texel density in texels per Scene unit. | |
float | minObjectScale_ { 1.0f } |
unsigned | defaultChartSize_ { 16 } |
Default chart size for models w/o metadata. Don't rely on it. | |
Lightmap chart allocation settings.
float Urho3D::LightmapChartingSettings::minObjectScale_ { 1.0f } |
Minimal scale of object lightmaps. Values below 1 may cause lightmap bleeding due to insufficient padding. Values above 0 may cause inconsistent lightmap density if object scale is too small.