GDi4K / unreal-openland

Landscape AutoMaterial for UnrealEngine with some related Tools for RVT, etc.
MIT License
277 stars 62 forks source link

RVT cache is not working correctly when using Open World Level or other World Partition Level #54

Open delebash opened 2 years ago

delebash commented 2 years ago

To Reproduce:

UE5 Preview 2 Windows 11

1) Create New Open World Landscape 2) Import Height Map following your procedures by adding material instance during import process 3) Setup RVT according to your instructions 4) Enable Rvt cache

The landscape will turn black when rvt cache is enabled even thougth rvt is setup correctly. If you disable rvt cache the landscape looks normal.

Test heightmap

https://1drv.ms/u/s!Aq4OgSZRh__uifpl5XL7TFiGsCnTYg?e=xH7XNn

Temporary Fix: Enable rvt cache on Material Instance before you import your heightmap. Then setup rvt using your rvt tools per your instructions.

Here is the result when I enable rvt cache before import

UnrealEditor_6LTTrq2uRO

Notice most of the landscape looks normal except for the top of the mountain. This is because the OpenLand_RVT_Widget Extend Bounds is not calculating correctly in this example.

To Fix: Increase the Z-scale of the RVT_Volume_Material

UnrealEditor_ZyedUQYRh9