How to change the Lightmap step distance for the indirect lighting cache ?
On my current project the default distance of Lightmass for generating the Indirect Lighting Cache samples doesn't suit my level ( https://docs.unrealengine.com/latest/INT/Engine/Rendering/LightingAndShadows/IndirectLightingCache/index.html ). The samples are too far away from each other producing incorrect lighting interpolation on my dynamic actors.
I dug a bit inside the source code but unfortunately I didn't found something that could have helped me. Is there an hardcoded distance somewhere of maybe a console variable to change this default step distance ?
asked May 18 '14 at 04:00 PM in Rendering
Nevermind, I found it ! :)
The values that I was looking for were stored inside the BaseLightmass.ini file (I suggest creating a custom DefaultLightmass.ini file inside your project).
Those are my edited values, the variables names are mostly self-explanatory. FirstSurfaceSampleLayerHeight define the first sample height from the ground, then SurfaceSampleLayerHeightSpacing the incremented step size for the number of additional samples (defined by NumSurfaceSampleLayers).
For the horizontal spacing, you simply need to change SurfaceLightSampleSpacing.
answered May 18 '14 at 04:24 PM
In 4.5 there will be a new property VolumeLightSamplePlacementScale in the world settings to do this, so you don't have to edit ini's.
answered Sep 16 '14 at 02:09 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here