Commit Graph

186 Commits

Author SHA1 Message Date
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
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
58121254d2 Fixing various compilation issues.
[CL 24326753 by christopher waters in ue5-main branch]
2023-02-20 16:45:58 -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
juan canada
6abdfed969 Replace references to UE4 with UE5
#rb yujiang.wang
#jira UE-111789
#preflight 6321984aa514fd1e3714da25

[CL 22008154 by juan canada in ue5-main branch]
2022-09-14 11:33:12 -04:00
Sebastien Hillaire
903239dd70 Fixed some checks for Strata and lightmass.
#rb none
#jira UE-161014
#preflight https://horde.devtools.epicgames.com/job/6308b7dc744536d79bb1ac8e
#fyi charles.derousiers, yujiang.wang

[CL 21588325 by Sebastien Hillaire in ue5-main branch]
2022-08-26 08:42:45 -04:00
fabian giesen
66608b8b78 Lightmass LightingMesh.cpp fix
The 2D tri/AABB intersect was using FMath::{Min,Max} to compute AABBs which doesn't actually work (needs componentwise min/max) and is now deprecated; update to use appropriate min/max.

#rb none
#preflight 62d89b4b185da2495f16c3b2

[CL 21197125 by fabian giesen in ue5-main branch]
2022-07-20 22:12:02 -04:00
bryan sefcik
06f6cf2700 Added IWYU pragmas.
#preflight 62d018faa6141b6adfe93e82

[CL 21090145 by bryan sefcik in ue5-main branch]
2022-07-14 09:41:39 -04:00
steve robb
dbe6f4a18d Allow formatting strings to be binary-compatible char types, not only exact types.
#jira UE-132142
#rb devin.doucette
#preflight 62bd5018a3568e30662ad3b4

#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 20890364 via CL 20890433 via CL 20890478
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20892157 by steve robb in ue5-main branch]
2022-06-30 07:58:27 -04:00
Wei Liu
72cb7559c9 Implement proper support for togglable stationary direct lighting on mobile and delete 'bake stationary as static' path.
This change makes HQ and LQ lightmaps to have unified lighting content and now they differ only in encoding.

#jira UE-154008, UE-151380

#rb Dmitriy.Dyomin, Yujiang.Wang
#preflight 62b5270d0a3bb5ca13d79900

[CL 20806454 by Wei Liu in ue5-main branch]
2022-06-23 23:24:24 -04:00
Juan Canada
960c9cd2fb Fixed Lightmass wrong string formatting
#jira UE-151144
#GitHub 9153
#rb yujiang.wang
#9153
#preflight 627a576e937a047d622b5a8b

[CL 20121586 by Juan Canada in ue5-main branch]
2022-05-10 08:32:22 -04:00
fred kimberley
e7e64e1749 Make FVector conversions explicit.
#preflight 6221270ea00412627d0b7dd3
#jira UE-122078
#lockdown Julien.Marchand
#rb Andrew.Davidson

#ROBOMERGE-AUTHOR: fred.kimberley
#ROBOMERGE-SOURCE: CL 19253774 in //UE5/Release-5.0/... via CL 19257968
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v924-19243027)

[CL 19263535 by fred kimberley in ue5-main branch]
2022-03-04 03:48:53 -05:00
michael sartain
5b6c9341fc Add an ON_SCOPE_EXIT for LightmassMain cleanup with local swarm interface
When running UnrealLightmass with -help and various other arguments we were just doing "returns" without any cleanup.

This would lead to various crashes in destructors, etc.

#jira UE-140898
[REVIEW] [at]Will.Damon, [at]Brandon.Schaefer
[FYI] Juan.Canada
#preflight trivial

#ROBOMERGE-AUTHOR: michael.sartain
#ROBOMERGE-SOURCE: CL 18816329 in //UE5/Release-5.0/... via CL 18816342 via CL 18822821
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824375 by michael sartain in ue5-main branch]
2022-02-02 07:40:09 -05:00
Michael Sartain
bcfb02e2d4 Fix UnrealLightmass spewing UE_LOGs to console for Linux
Add bIsWindowShown option to Linux Console Output Device
Default to true to match old behavior.
Add -nostdout by default in UnrealLightmass

#rb Brandon.Schaefer
#jira none
#preflight trivial

[CL 18817282 by Michael Sartain in ue5-main branch]
2022-02-01 18:14:33 -05:00
zak middleton
94c867345e #ue5 - Fix lightmass after Matrix changes
#jira none
#preflight skip
[FYI] Andrew.Davidson, Juan.Canada

#ROBOMERGE-AUTHOR: zak.middleton
#ROBOMERGE-SOURCE: CL 18755241 in //UE5/Release-5.0/... via CL 18755263 via CL 18757616
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18758578 by zak middleton in ue5-main branch]
2022-01-27 14:37:52 -05:00
juan canada
96d6707e4b Fixed compilation error in lightmass as a fallout of 18751249
#rb none
#jira none
#preflight 61f29421c0033b39f8b83f9c

#ROBOMERGE-AUTHOR: juan.canada
#ROBOMERGE-SOURCE: CL 18752538 in //UE5/Release-5.0/... via CL 18752542 via CL 18756770
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18757079 by juan canada in ue5-main branch]
2022-01-27 14:05:43 -05:00