Files
UnrealEngineUWP/Engine/Source/Programs/UnrealLightmass
Gareth Martin 6c25d46637 Fixed landscape holes not letting light through
Fixed landscape sometimes reflecting the wrong light colour
- both were due to lightmass assuming only one UV channel and 0-1 UVs (Landscape uses UV#3 for weightmap coords and it isn't 0-1) and incorrectly handling the expanded components (the landscape light mesh is expanded to fix seams in the light/shadow maps of adjacent components)
- the fix for holes doesn't use the material because of the expanded components, so would require rendering 9 materials to one output texture, which was too horrible to make work. Ideally we wouldn't expand the components at all :(

[CL 2545362 by Gareth Martin in Main branch]
2015-05-11 10:10:25 -04:00
..