VLM is not handled when rebasing.
The following workaround works.
void SetupPrecomputedVolumetricLightmapUniformBufferParameters(const FScene* Scene, FEngineShowFlags EngineShowFlags, FViewUniformShaderParameters& ViewUniformShaderParameters) { ... ViewUniformShaderParameters.VolumetricLightmapWorldToUVScale = InvVolumeSize; ViewUniformShaderParameters.VolumetricLightmapWorldToUVAdd = ( -VolumeBounds.Min + FVector( Scene->World->OriginLocation ) ) * InvVolumeSize; // workaround // ViewUniformShaderParameters.VolumetricLightmapWorldToUVAdd = ( -VolumeBounds.Min ) * InvVolumeSize; ViewUniformShaderParameters.VolumetricLightmapIndirectionTextureSize = FVector(VolumetricLightmapData->IndirectionTextureDimensions); ViewUniformShaderParameters.VolumetricLightmapBrickSize = VolumetricLightmapData->BrickSize; ViewUniformShaderParameters.VolumetricLightmapBrickTexelSize = InvBrickDimensions; } else {
In Editor
[Image Removed]
PIE
[Image Removed]
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-115879 in the post.
1 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.26 |
Created | May 17, 2021 |
---|---|
Updated | Oct 13, 2023 |