Commit Graph

6 Commits

Author SHA1 Message Date
Nick Darnell
a7a6176be2 Gamma Correction - Changing the way all FColors are converted into FLinearColor by default. Previously all sRGB textures coming into the engine along with all other usage of FColor -> FLinearColor used a lookup table that assumed the final gamma correction would simply be pow(color, 1/DisplayGamma). However, that's not the case, we use the IEC 61966-2-1 standard on most platforms for both the scene renderer, as well as for gamma correction in Slate. In Slate you should now see an image matching Photoshop instead of being slightly darker in the lower ranges. However, because we don't want to invalidate all existing textures that users have authored, all existing UTextures have a UseLegacyGamma flag set to true, all new textures will be set to false. The flag is part of the DDC key calculation, but steps were taken so that when legacy is true, keys match existing keys to prevent universally invalidating all games DDCs just to make this change.
To summarize,

Old Pipeline: sRGB-Pow(2.2) -> Linear -> sRGB-IEC 61966
New Pipeline: sRGB-IEC 61966 -> Linear -> sRGB-IEC 61966

#codereview gil.gribb, nick.penwarden, martin.mittring

[CL 2571070 by Nick Darnell in Main branch]
2015-05-29 16:03:43 -04:00
Michael Noland
91d2f31c48 Rendering: Add support for padding textures out to a power of 2 and/or replacing a specified color with transparent black (simple compress-time chroma keying)
#codereview martin.mittring

[CL 2391531 by Michael Noland in Main branch]
2014-12-17 14:47:40 -05: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
Sangwoo Lee
11d4381e24 Texture : Added Texture property to change maximum resolution limitation (MaxTextureSize), especially for HDR cubemap (which is limited by 512)
[CL 2184435 by Sangwoo Lee in Main branch]
2014-07-09 23:01:47 -04:00
Martin Mittring
caad305974 * fixed TTP 340094 FIXIF: CRITICAL: ElementalDemo: XboxOne: Some particle corruption
also get CL2182557

[CL 2182500 by Martin Mittring in Main branch]
2014-07-09 18:56:15 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00