Commit Graph

6 Commits

Author SHA1 Message Date
Jack Porter
4a2d4cafbd Fix issues with landscape ES2 data being overwriting PC data causing issues with component weightmaps when launching or using the mobile previewer multiple times. (UE-10421 / UE-12441)
[CL 2529858 by Jack Porter in Main branch]
2015-04-29 03:18:59 -04:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Gareth Martin
63e5fff961 Fix Landscape cracks:
This was mostly caused by rounding to the nearest vertex on multiple LOD transitions, which wasn't stable (On one component in LOD 0, vertex A in LOD 0 would round to vertex B in LOD 1 and vertex C in LOD 2 (vertex C being the nearest to vertex A, not necessarily vertex B), but the next component would be in LOD 1 and so would start with vertex B, and round it to a different LOD 2 vertex)
Partly responsible was also the "DistLOD" hack, because it used different shader code for if LodValues.x (aka "DistLOD") was <1 or >1, so would cause a beautiful seam between components which hit each case

There will still be temporary seams between landscape components that are still streaming their heightmap textures, a solution to that is in the works.

Also:
Removed FLandscapeXYOffsetVertexFactoryVertexShaderParameters and merged it with FLandscapeVertexFactoryVertexShaderParameters to remove a large amount of code duplication, and did some cleanup of LandscapeRender.cpp/.h (e.g. autoformatting)

[CL 2377758 by Gareth Martin in Main branch]
2014-12-05 12:13:10 -05:00
Daniel Wright
b4c700abeb Removed DrawDynamicElements, PreRenderView and dependencies. These have been disabled since 11/04, and the GetDynamicMeshElements path is now the only path for dynamic mesh rendering.
[CL 2370254 by Daniel Wright in Main branch]
2014-11-25 17:56:43 -05:00
Rolando Caloca
2faf904e0c #UE4 - Crash fix for mobile landscape
#codereview Jack.Porter

[CL 2347634 by Rolando Caloca in Main branch]
2014-11-03 17:42:19 -05:00
Jaroslaw Palczynski
1b50963ccd Landscape module from Engine split out.
[CL 2331341 by Jaroslaw Palczynski in Main branch]
2014-10-16 05:16:44 -04:00