Commit Graph

231 Commits

Author SHA1 Message Date
marc audy
28c077e1f9 Fix non-unity issues
#rnx

[CL 33614058 by marc audy in ue5-main branch]
2024-05-13 20:49:19 -04:00
aleksander netzel
516b4f2e96 Lightmass: fix potentially uninitialized variable warning
#jira UE-212896

[CL 33150083 by aleksander netzel in ue5-main branch]
2024-04-22 16:23:20 -04:00
dominic couture
cf540eab4c Fixed Landscape not casting shadows in ForceVolumetricLightmap mode
#rb aleksander.netzel

[CL 31870632 by dominic couture in ue5-main branch]
2024-02-28 09:46:31 -05:00
dominic couture
0434847b6f -Make Landscape use LightMapType setting
-Added a new type of mappping, FLandscapeStaticLightingGlobalVolumeMapping (akin to FStaticLightingGlobalVolumeMapping) that makes Lightmass use the exported Landscape mesh as a surface for caching but then discards the lightmaps

#rb jonathan.bard
#jira UE-194661

[CL 31818485 by dominic couture in ue5-main branch]
2024-02-26 17:04:01 -05:00
steve robb
f43fc1d782 Fixed up more bool-taking calls to take EAllowShrinking instead.
[CL 30894388 by steve robb in ue5-main branch]
2024-01-25 14:09:12 -05:00
steve robb
83fe932303 Removed TAnd on variadic function argument checks.
#rb danny.couture

[CL 29087205 by steve robb in ue5-main branch]
2023-10-25 09:42:42 -04:00
steve robb
c55771729f Fixed compile error caused by CL# 28346339.
#rb trivial

[CL 28357313 by steve robb in ue5-main branch]
2023-09-29 17:27:20 -04:00
steve robb
a84e22104b Replaced GET_VARARGS* macros with GET_TYPED_VARARGS*.
#rb james.hopkin
#jira UE-194628

[CL 28346416 by steve robb in ue5-main branch]
2023-09-29 13:00:07 -04:00
sebastien hillaire
967b35ea3e Substrate - final renaming
#rb none

[CL 27593845 by sebastien hillaire in ue5-main branch]
2023-09-05 08:52:06 -04:00
james singer
01b924ffbc Ensure that PostDefault state gets set in UnrealLightmass so that lighting can be built on Mac and Linux
#jira UE-190175
[REVIEW] [at]zack.neyland
[FYI] [at]jason.walter,[at]brandon.schaefer

[CL 27127296 by james singer in ue5-main branch]
2023-08-15 19:46:37 -04:00
david harvey
bdb4199eeb Remove unnecessary WindowsHWrapper.h & MinWindows.h include - both files will be automatically included by AllowWindowsPlatformTypes.h
#jira UE-152863
#rnx
#rb Josh.Adams

[CL 26912096 by david harvey in ue5-main branch]
2023-08-08 05:50:53 -04:00
tiantian xie
86d73e2f9c fix conditon error: '&&' within '||' for TextureMapping.cpp
#jira UE-190374
#rb aleksander.netzel

[CL 26415419 by tiantian xie in ue5-main branch]
2023-07-17 15:45:27 -04:00
joe kirchoff
f5a125d1b9 UnrealLightmass: Fix c++20 warning operator '*': deprecated between enumerations and floating-point types
#rnx

[CL 25747880 by joe kirchoff in ue5-main branch]
2023-06-01 19:05:04 -04:00
ionut matasaru
3d7c0e8440 UBT: Removed deprecated TargetInfo::bUseMallocProfiler toggle in Source/Programs.
#jira UE-141779
#rb Joe.Kirchoff
#rb Johan.Berg
#preflight 64380aea7a00790bfd116430

[CL 25101875 by ionut matasaru in ue5-main branch]
2023-04-19 04:15:59 -04:00
jonathan bard
445819563c Lightmass build fix
#rb trivial
#rnx
#jira UE-178458

[CL 24409453 by jonathan bard in ue5-main branch]
2023-02-24 16:39:19 -05:00
jonathan bard
9f597de169 * Fixed bad tangent space computations for various landscape utilities (static lighting, Nanite...) : mimic what is done in the vertex shader when reconstructing the normal's Z in order to avoid quantization issues
* Also factorized lots of redundant code in landscape for accessing weightmap/heightmap data

#rb don.boogert
#preflight 63f8b80aa134e0b05998c7a3

[CL 24403600 by jonathan bard in ue5-main branch]
2023-02-24 12:42:35 -05:00
christopher waters
6a4206d490 Removing bad Launch include paths from programs.
[CL 24328631 by christopher waters in ue5-main branch]
2023-02-20 17:39:13 -05:00
christopher waters
58121254d2 Fixing various compilation issues.
[CL 24326753 by christopher waters in ue5-main branch]
2023-02-20 16:45:58 -05:00
josh adams
1610c3bee3 UnrealArch/UnrealArchitectures changes
- Creates the UnrealArchitectures class, which wraps a list of UnrealArch objects
 - UnrealArch is a single architecture, expandable enum-like struct
 - There is no more concept of "no/default architecture", there is always a valid active architecture when building
 - Most uses of "string Architecture" are replaced with one of the two above, depending if multiple architectures are supported or not
 - UnrealArch has some platform-extensions for platform-specific naming (like Linux adds in LinuxName that turns, for instance, Arm64 -> aarch64-unknown-linux-gnueabi, which is used in folder names, etc)
 - UnrealArch has bIsX64 which can be used determine intel instruction set (as opposed to arm)
 - TargetRules class has an "Architecture" accessor that will return a single architecture if the active architectures is a single architecture, or throw an exception if multiple. This is useful in a majority of the cases where a paltform can only have a single architecture active in TargetRules (microsoft platforms, for instance, will create separate targets when compiling multiple architectures at once)
 - Added UnrealArchitectureConfig class, which contains all the architecture information for a platform (what architectures are supported, what ones are currently active for given project, etc)

#preflight 63c81fb5b065224750a1759e
#rb mike.fricker,roman.dzieciol,joe.kirchoff,dmytro.vovk,brandon.schaefer [various parts]
#p4v-preflight-copy 23562471

[CL 23829977 by josh adams in ue5-main branch]
2023-01-24 09:30:28 -05:00
Tim Smith
b8ba7e3884 Change mention of "UnrealHeaderTool" to "This app" in comment.
#rb self
#rnx
#preflight 63c57ab02e714f64ade3bbab

[CL 23730156 by Tim Smith in ue5-main branch]
2023-01-16 11:43:11 -05:00
Charles deRousiers
338b5c153b Merge BlendMode and BlendModeStrata to reduce code divergence, and ease maintenance.
#rb sebastien.hillaire
#jira none
#preflight 63c03173c77f50e3b47ed2bd

[CL 23683231 by Charles deRousiers in ue5-main branch]
2023-01-13 14:19:13 -05:00
Yujiang Wang
0b34e55bfc CPULM: Put the hash of UnrealLightmass executable into Swarm channel names to avoid getting stale Swarm cache content from a different build
#preflight 639ce69e0a671525500c9eeb

[CL 23542019 by Yujiang Wang in ue5-main branch]
2022-12-16 16:57:03 -05:00
Charles deRousiers
9f9607a23f Add IsThinSurface on root node for flagging surface with thin shell (i.e., hollow interrior).
The defines a clear semantic for how thickness of a bottom layer should be handled with Strata. This CL only pipes the data for the various parts. A following CL will add a thickness property on the root node.

#rb none
#jira none
#preflight 638672dd4004f73f62ea9600
#fyi sebastien.hillaire

[CL 23324261 by Charles deRousiers in ue5-main branch]
2022-11-30 02:10:42 -05:00
joe kirchoff
3ed2a97d33 Remove full path to public Core headers
#rnx
#rb bryan.sefcik
#preflight 63644885c53af2f47f8c4e82

[CL 22977768 by joe kirchoff in ue5-main branch]
2022-11-04 00:01:26 -04:00
David Lesage
94436c29d9 #jira UE-168041: fix comments in UnrealLightmass
#9696
#rb none
#preflight 6356ea940313c24974f85c7a

[CL 22734719 by David Lesage in ue5-main branch]
2022-10-24 15:58:06 -04:00