Files
UnrealEngineUWP/Engine/Source/Runtime/AppFramework
Jamie Dale 2c059a6a68 Fixed some shadow offset issues
UE-4766 - Text actors don't render on mobile devices

Fixed places where the baseline was being converted between signed and unsigned values. Baselines are typically negative, and there was a case where arithmetic was being performed on an unsigned baseline value that was causing the text to be entirely clipped on mobile platforms.

The baseline adjustment was also the wrong way around, and were letting positive shadow offsets clip the text off the top of its clipping region. This should only be done for negative shadow offsets (to move the baseline to compensate for the shadow). This was causing noticable clipping issues in UMG.

Shadow offsets also weren't repecting scale, which was most noticable when zooming in UMG. The shadow offset now takes scale into account so that it remains consistent at different zoom levels.

ReviewedBy Justin.Sargent

[CL 2345276 by Jamie Dale in Main branch]
2014-10-30 17:05:23 -04:00
..
2014-10-30 17:05:23 -04:00