Commit Graph

158 Commits

Author SHA1 Message Date
Yujiang Wang
94e777dcf0 Fix Lightmass backface detection to also consider two sided materials
#rb none
#jira none

[CL 12131786 by Yujiang Wang in 4.25 branch]
2020-03-11 12:22:48 -04:00
Yujiang Wang
3f01c41fd5 Lightmass: revert the lighting cache sample radius change as it is causing entries in thin walls to leak outside due to their radius being larger than the thickness of the wall
#rb none
#jira none

[CL 11938419 by Yujiang Wang in 4.25 branch]
2020-03-05 12:01:56 -05:00
danny couture
20d1fe37be All thirdparties are also using latest IntelTBB binaries on all platforms
- Removed all IntelTBB binaries from thirdparties
 - Compiled missing binaries in official IntelTBB folder

Tested on Linux/Mac/Windows

#rnx
#jira UEENT-3378
#rb Jean-Michel.Dignard

[CL 11858075 by danny couture in 4.25 branch]
2020-03-03 07:23:08 -05:00
JeanMichel Dignard
84facd6d15 Copy from dev-enterprise cl 11097196
#rb none
#rnx

[CL 11099277 by JeanMichel Dignard in Dev-Tools-Staging branch]
2020-01-23 16:28:59 -05:00
Ryan Durand
74c879d5f3 Updating copyrights for Engine Programs.
#rnx
#rb none
#jira none

#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869242 in //Fortnite/Release-12.00/... via CL 10869536
#ROBOMERGE-BOT: FORTNITE (Main -> Dev-EngineMerge) (v613-10869866)

[CL 10870960 by Ryan Durand in Main branch]
2019-12-26 23:06:02 -05:00
yujiang wang
acfd436b8b Account for texel size to avoid creating tiny irradiance cache entries and post-aliasing issues
#rb none
#jira UE-80036
#lockdown cristina.riveron

#ROBOMERGE-SOURCE: CL 10482502 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v606-10482310)

[CL 10482504 by yujiang wang in Main branch]
2019-12-02 08:13:54 -05:00
yujiang wang
14c67a5c3d Improve dark corner mitigation by storing backfacing hits fraction inside irradiance cache records and marking texels as unmapped when their interpolated backfacing fraction > 0.5
#jira UE-80036
#rb none

#ROBOMERGE-SOURCE: CL 9763259 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v545-9751379)

[CL 9763270 by yujiang wang in Main branch]
2019-10-23 16:26:50 -04:00
Ben Marsh
3ce2712400 Fix lightmass dependencies not being copied to output directory.
#rb none
#rnx
#jira

[CL 9566788 by Ben Marsh in 4.24 branch]
2019-10-14 08:43:25 -04:00
Ben Marsh
175649846c Merging CIS fix.
#rb none
#jira
#rnx

[CL 9564604 by Ben Marsh in 4.24 branch]
2019-10-13 14:36:40 -04:00
Stefan Boberg
1f813eb516 Copying //UE4/Dev-Core to Main (//UE4/Main)
#rb many

[CL 9405827 by Stefan Boberg in Main branch]
2019-10-03 16:26:48 -04:00
Steve Robb
5ce580cbbb More UE_ARRAY_COUNT fixes.
#rb none
#jira none

[CL 9281326 by Steve Robb in Main branch]
2019-09-28 09:14:52 -04:00
steve robb
14cab21e0c Deprecating ARRAY_COUNT and changing it to UE_ARRAY_COUNT.
Replicated from CL# 7924370.

#rb none


#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 9279060 via CL 9279063
#ROBOMERGE-BOT: (v443-9013191)

[CL 9279836 by steve robb in Main branch]
2019-09-28 08:19:35 -04:00
Marcus Wassmer
6517c68ef5 Copying //UE4/Dev-RenderPlat-Staging@8684824 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 8684840 by Marcus Wassmer in Main branch]
2019-09-14 09:45:25 -04:00
Joakim Lindqvist
d26625d39d Updated module build configurations to follow our updated guidelines on using a library, you should always specify the full path to the library if you know it (in PublicAdditionalLibraries). This allows UBT to do up to date checking of the module and is faster.
If you still need to old behavior of searching for a library we use the new PublicSystemLibraries instead (used very sparingly).

Also updated conventions on importing Android libraries to use the newly introduced Android Architecture instead, which is always set to a valid architecuture (unlike Target.Architecture for the general case)

Lastly I updated some build.cs files that were doing filesystem enumeration or copying as they were being parsed, this is highly discouraged (partially because we cache filesystem operations but also it adds a cost to something we expect to be very fast). Any operations like this should be done as part of the build if they have to be done at all.

#rb none

[CL 7918851 by Joakim Lindqvist in Dev-Build branch]
2019-08-09 03:48:12 -04:00
yujiang wang
8b19fe293c Redo cherry-pick 7402145: Workaround for PolygonIrradiance() generating NaNs and got spreaded by other passes like final gathering.
#jira none
#rb none

#ROBOMERGE-SOURCE: CL 7408791 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7408799 by yujiang wang in Main branch]
2019-07-17 11:59:01 -04:00
yujiang wang
7b37b18a97 Cherry-pic 7402145: Workaround for PolygonIrradiance() generating NaNs and got spreaded by other passes like final gathering.
#jira none
#rb none

#ROBOMERGE-SOURCE: CL 7402536 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7402574 by yujiang wang in Main branch]
2019-07-17 11:04:24 -04:00
yujiang wang
e17312f971 Cherry pick 7223770: Fix TexelRadius being overriden before backface movement in AdjustRepresentativeSurfelForTexelsTextureMapping
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 7281203 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v369-7254125)

[CL 7281211 by yujiang wang in Main branch]
2019-07-11 16:58:08 -04:00
yujiang wang
a9cd08bdd8 Cherry-pick 7106438: Fix Lightmass crash introduced in CL 6805385
#jira
#rb none

#ROBOMERGE-SOURCE: CL 7106457 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7106458 by yujiang wang in Main branch]
2019-06-20 13:06:45 -04:00
Rolando Caloca
aa0d2303d6 Copying //UE4/Dev-Rendering to Dev-Main (//UE4/Dev-Main) @ 6944469
#rb none
#rnx

[CL 6944849 by Rolando Caloca in Main branch]
2019-06-11 18:27:07 -04:00
yujiang wang
53e171061e Fix mismatched zlib versions between UE4Editor and UnrealLightmass, which might be the reason of decompression failure in FLightmassProcessor::ImportLightMapData2DData().
#jira UE-62797
#rb none

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: yujiang.wang
#ROBOMERGE-SOURCE: CL 5307280 in //UE4/Release-4.22/... via CL 5314640
#ROBOMERGE-BOT: CORE (Main -> Dev-Core)

[CL 5328584 by yujiang wang in Dev-Core branch]
2019-03-06 18:29:08 -05:00
yujiang wang
c7c5708b64 Fix mismatched zlib versions between UE4Editor and UnrealLightmass, which might be the reason of decompression failure in FLightmassProcessor::ImportLightMapData2DData().
#jira UE-62797
#rb none

#ROBOMERGE-SOURCE: CL 5307280 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5314640 by yujiang wang in Main branch]
2019-03-06 12:44:11 -05:00
Rolando Caloca
732810a13b DR - Copying //UE4/Dev-Main@4785067 to //UE4-DevRendering
#rb none
#rnx
#lockdown Marcus.Wassmer

[CL 4790611 by Rolando Caloca in Dev-Rendering branch]
2019-01-23 17:01:56 -05:00
Marcus Wassmer
fee98d3ca5 Merging //UE4/Dev-Main@4729937 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none

[CL 4730169 by Marcus Wassmer in Dev-Rendering branch]
2019-01-15 18:30:06 -05:00
Yujiang Wang
3f9ceeb4bf Fix for Lightmass cannot utilize more than 64 logical cores
* This is a Windows-only problem related to how processor groups are handled

#jira UE-67567
#rb none
#fyi daniel.wright

[CL 4694924 by Yujiang Wang in Dev-Rendering branch]
2019-01-09 14:24:48 -05:00
Marcus Wassmer
cbfcbbb93b Merging //UE4/Dev-Main@4662404 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none
Should be just copyright updates

[CL 4680440 by Marcus Wassmer in Dev-Rendering branch]
2019-01-03 19:16:26 -05:00