Commit Graph

220 Commits

Author SHA1 Message Date
jamie hayes
8f02cdaf79 Bump the StaticMesh DDC version to flush out issues with cache built before a Nanite fix from CL 22098795.
[FYI] graham.wihlidal, rune.stubbe
#jira UE-162652
#preflight 632a1c09a236a029dee4c7bd

[CL 22110183 by jamie hayes in ue5-main branch]
2022-09-21 07:36:12 -04:00
shawn mcgrath
2e964912c5 VectorVM Experimental VM bug fix with Niagara fountain emitter. #jira UE-163669 #rb stu.mckenna #preflight none
[CL 22086975 by shawn mcgrath in ue5-main branch]
2022-09-19 21:55:43 -04:00
Stu McKenna
f9b17b6bea - Bump version to flush out compile error
#rb shaun.kime
#jira UE-164350
#rnx
#preflight skip

[CL 22077827 by Stu McKenna in ue5-main branch]
2022-09-19 15:05:50 -04:00
marc audy
73efc7e431 Event spawn scripts can now modify the Initial values for particle attributes so modules dependant on this can function correctly when spawning from events. e.g. ScaleColor.
This is optional per even handler but defaults to enabled. Existing content has this disabled to maintain existing behavior.

#jira UE-161218
#rb Rob.Krajcarski
#preflight 6320785129254beccb646a50

[CL 21993258 by marc audy in ue5-main branch]
2022-09-13 17:31:31 -04:00
rune stubbe
76a529066f Nanite Hi-Res mesh is now built with the LOD0 build settings instead of the default ones
Gray out Fallback Triangle Percent and Fallback Relative Error when a model is specified in Source Import Filename

#preflight 631f5ed412092e9faa846d86
#rb graham.wihlidal
[FYI] Ryan.Schmidt

[CL 21989542 by rune stubbe in ue5-main branch]
2022-09-13 15:01:31 -04:00
brice criswell
8df74ad48e - Resolve merge conflicts.
#rb michael.forot

Fix hair instabilities

#rb charles.derousiers
#jira MH-7117, MH-7116, UE-161538
#preflight 6318abdb980179553e7558e3

#ushell-cherrypick of 21889938 by Michael.Forot

[CL 21973699 by brice criswell in ue5-main branch]
2022-09-12 18:01:44 -04:00
jon cook
e82227f107 Word replacement mapping for FName::NameToDisplayString
#rb Devin.Doucette
#preflight 631b48f7a60c539c98e28f87
#jira MH-7124

[CL 21961321 by jon cook in ue5-main branch]
2022-09-12 04:15:34 -04:00
rob krajcarski
603b260a79 Add an error the niagara hlsl translator catching cases where conflicting symbol names would be created for unique parameters
#preflight 6319fd3ff448dc6e58aae76c
#rb stu.mckenna

[CL 21910445 by rob krajcarski in ue5-main branch]
2022-09-08 21:27:48 -04:00
rune stubbe
0500d58507 Made imposter building optional with cvar: r.Nanite.Builder.Imposters (default off)
Better heuristics for when to use parent-relative encoding. Instead of only enabling parent-relative encoding from a certain level of the tree, it is now allowed at all levels.
To avoid excessively long dependency chains, direct encoding is forced whenever the chain becomes longer than a certain threshold.
This can be a significant (relative) win for smaller meshes that would otherwise have a large percentage of pages above the level threshold for parent-relative encoding.

#preflight 6319d80ad31788ea3a2fe2a3

#rb brian.karis
[FYI] graham.wihlidal, jamie.hayes

[CL 21908286 by rune stubbe in ue5-main branch]
2022-09-08 20:11:51 -04:00
Michael Forot
780a0a5251 Fix hair instabilities
#rb charles.derousiers
#jira MH-7117, MH-7116, UE-161538
#preflight 6318abdb980179553e7558e3

[CL 21889938 by Michael Forot in ue5-main branch]
2022-09-08 06:11:57 -04:00
rob krajcarski
185c871694 Couple of fixes for attribute trimming with niagara particle scripts
-parameters to an impure function that were using the StackContext namespace weren't being properly included in the dependency chain
-custom HLSL nodes which internally used impure DI functions wouldn't necessarily have their inputs marked as dependents (in the case where a dummy output variable was being used, which itself got trimmed)
#jira UE-151858, FORT-490351
#rb stu.mckenna
#preflight 6318a478f448dc6e585c21d9

[CL 21864850 by rob krajcarski in ue5-main branch]
2022-09-07 18:10:24 -04:00
rune stubbe
bd86bf40d8 Fix for potential DDC corruption issue where meshes with NaniteEnabled set generate incorrect normals/tangets in projects that have Nanite disabled.
Tangent generation now also respects the Nanite project setting, not just the per-mesh setting.
#lockdown marc.audy

[CL 21862271 by rune stubbe in ue5-main branch]
2022-09-07 17:01:12 -04:00
shawn mcgrath
6ba3010021 Niagara new ScriptCompiledVersion #preflight none
[CL 21857976 by shawn mcgrath in ue5-main branch]
2022-09-07 14:39:05 -04:00
Stu McKenna
457c4919bb - Bump version to flush out script compile issue
#rb trivial
#jira none
#rnx
#preflight skip

[CL 21829866 by Stu McKenna in ue5-main branch]
2022-09-06 17:28:54 -04:00
Stu McKenna
d549e73be7 - Fix issue with bool select nodes on GPU where data is passed from the VVM
#rb rob.krajcarski
#jira UE-158437
#preflight 630ea7ae556fc14dce803416

[CL 21713577 by Stu McKenna in ue5-main branch]
2022-08-30 20:22:15 -04:00
rob krajcarski
cd6480cb43 Handle TypeDefinitions with transient structs (SWC) during serialization
-uses the mapping of SWC structs created during the session to serialize out the source LWC version, if one is available
#jira UE-161083
#rb stu.mckenna
#preflight 6304e7b2c744dac967e79d85

[CL 21525017 by rob krajcarski in ue5-main branch]
2022-08-23 19:23:11 -04:00
rob krajcarski
d253dc7293 Bumping niagara script version to ensure that shaders are up to date following DI changes. Investigation why hash changes weren't sufficient will continue.
#jira none
#rb none
#preflight 63055246c00af5e2943b8b5b

[CL 21523019 by rob krajcarski in ue5-main branch]
2022-08-23 18:26:19 -04:00
rune stubbe
377ac0fa54 Fix for linux build issue: 196296
Fixed incorrect condition in normal test
#preflight skip

#ROBOMERGE-AUTHOR: rune.stubbe
#ROBOMERGE-SOURCE: CL 21200146 via CL 21200170 via CL 21200178
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21201348 by rune stubbe in ue5-main branch]
2022-07-21 11:10:25 -04:00
rune stubbe
85347d73ca Nanite builder fixes:
-Fixed issue where cluster DAG cut from Trim was sometimes inconsistent between clusters and groups, which could lead to encoder crashes
-Reenabled Trim for NaniteDisplacedMesh
-Added vertex sanitation code to builder that eliminates floating point specials and clamps value ranges so we won't have to worry about overflows
-Fixed incorrect asserts around NumHierachyFixups/NumClusterFixups that used '<' instead of '<='
-Fixed DoesTargetPlatformSupportNanite not taken into account for StaticMesh DDC key (from Brian)

#rb brian.karis
#preflight 62d92bb0bc175ec68c6f8e42
#jira UE-159539

#ROBOMERGE-AUTHOR: rune.stubbe
#ROBOMERGE-SOURCE: CL 21199742 via CL 21199746 via CL 21199751
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21201321 by rune stubbe in ue5-main branch]
2022-07-21 11:09:27 -04:00
ionut matasaru
3c5425d140 [Insights] Fixed tracing of FNames; bug where FNameEntryHandle was created invalid (initialized with Block + 1).
#fyi Johan.Berg
#rb none
#preflight 62d7dcded76ea4b5036f0dce
#robomerge FNMain

[CL 21178258 by ionut matasaru in ue5-main branch]
2022-07-20 09:09:00 -04:00
Matt Peters
07e55800b0 CompactBinarySerialization: Add operator<< and LoadFromCompactBinary functions for FName, FString, and TArray.
Add them for TMap and TSet as well, but keep them private for now since the write does not sort the keys and hence has determinism problems if used in persistent storage.
#rb Devin.Doucette
#rnx
#preflight 62cc993e1a786c1bbcf90183

[CL 21048418 by Matt Peters in ue5-main branch]
2022-07-11 18:06:55 -04:00
Charles deRousiers
4078498292 Reduce groom binding data size by deduplicated unique triangle data.
This reduces binding asset type around x5.

#rb none
#jira none
#preflight 62c84b93b3789302b1ebd6f4

[CL 21037044 by Charles deRousiers in ue5-main branch]
2022-07-11 03:13:16 -04:00
bryan sefcik
9905eb52bb Pass 2 on running IWYU on Core.
Things to note regarding this pass:
* No includes are currently being removed from public headers.
* Any private file that has a #if is currently not being updated.
#preflight 62c703bbd13fac04f11da948

[CL 20985655 by bryan sefcik in ue5-main branch]
2022-07-07 12:30:11 -04:00
Stu McKenna
9b9feb94f2 - Hair conversion to RDG
#rb michael.forot
#jira UE-151234
#preflight 62c473bd2823f28cf233f43d

[CL 20945969 by Stu McKenna in ue5-main branch]
2022-07-05 14:01:53 -04:00
Stu McKenna
c53c45dc2c - Add newline constants to end of functions
#rb trivial
#jira none
#rnx
#preflight 62b5041695005e0dbc40debb

[CL 20805684 by Stu McKenna in ue5-main branch]
2022-06-23 20:31:13 -04:00