aurel cordonnier
d17d20ca36
Merge from Release-Engine-Test @ 16758890 to UE5/Main
...
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719 (and Release-17.00 @ 16658211)
[CL 16763350 by aurel cordonnier in ue5-main branch]
2021-06-23 17:51:32 -04:00
peter knepley
48e458635a
Work around in UMaterialEditingLibrary::SetMaterialInstanceStaticSwitchParameterValue when MICs are generated programmatically and have never been opened by the editor. MaterialLayersParameters not being on the MIC can cause static switches to get wiped when it is eventually opened.
...
[FYI] David.Corral
#ROBOMERGE-SOURCE: CL 16635492
#ROBOMERGE-BOT: (v831-16623017)
[CL 16635514 by peter knepley in ue5-main branch]
2021-06-10 22:36:04 -04:00
aurel cordonnier
e0ad4e25df
Merge from Release-Engine-Test @ 16624776 to UE5/Main
...
This represents UE4/Main @ 16579691 and Dev-PerfTest @ 16579576
[CL 16625248 by aurel cordonnier in ue5-main branch]
2021-06-10 13:13:24 -04:00
peter knepley
865ac99124
UMaterialEditingLibrary::SetMaterialInstanceStaticSwitchParameterValue should be BlueprintCallable and not BlueprintPure
...
[FYI] David.Corral
#ROBOMERGE-SOURCE: CL 16586085
#ROBOMERGE-BOT: (v828-16531559)
[CL 16586098 by peter knepley in ue5-main branch]
2021-06-08 08:49:11 -04:00
peter knepley
51b6460a2f
UMaterialEditingLibrary support for setting static switches
...
[FYI] Matt.Kulhenschmidt, David.Corral
#ROBOMERGE-SOURCE: CL 16581322
#ROBOMERGE-BOT: (v828-16531559)
[CL 16581326 by peter knepley in ue5-main branch]
2021-06-07 20:30:36 -04:00
peter knepley
3952c1207e
Extend UMaterialEditingLibrary to allow settings values of material layer parameters
...
[FYI] Matt.Kuhlenschmidt, David.Corral
#ROBOMERGE-SOURCE: CL 16579451
#ROBOMERGE-BOT: (v828-16531559)
[CL 16579467 by peter knepley in ue5-main branch]
2021-06-07 18:55:54 -04:00
jeanfrancois dube
12e850ac12
Reduce the impact of wrapped pointers by 75% from material code.
...
For example, texture streaming spikes drops from 26.7ms to 16.6ms in PIE.
#rb zousar.shaker
#ROBOMERGE-SOURCE: CL 16571356
#ROBOMERGE-BOT: (v828-16531559)
[CL 16571408 by jeanfrancois dube in ue5-main branch]
2021-06-07 11:35:07 -04:00
Ben Ingram
43a6df252d
Support phi nodes with loops in new HLSL translator
...
#rb none
#jira none
[CL 16439428 by Ben Ingram in ue5-main branch]
2021-05-24 15:49:04 -04:00
yangke li
e2c5409b91
support Mobile full precision floats only for MaterialExpressions, excluding shader codes in .ush/.usf
...
#jira UE-116139
#rb Dmitriy.Dyomin Wei.Liu
[CL 16432022 by yangke li in ue5-main branch]
2021-05-23 11:58:03 -04:00
Ben Ingram
eb276e21cd
Remove concept of 'linked scopes', instead track number of exec input connections to each expression, and use that to process if/else scopes
...
- This way we don't need to move statements around, can generate both if/else scope correctly before switching back to parent scope
- Will make it easier to track locals within the current scope
#rb none
#jira none
[CL 16354735 by Ben Ingram in ue5-main branch]
2021-05-17 13:02:45 -04:00
Kevin Ortegren
de7159df67
Adding a "Preview Blend Mode" on material functions that allows you to modifying the blend mode of the preview material. This is saved off on the material function so that artists can pick what they'd prefer the default preview behavior to be.
...
Contributed by The Coalition
#review-16305083
#rb ben.ingram
#jira none
[CL 16347000 by Kevin Ortegren in ue5-main branch]
2021-05-17 06:45:44 -04:00
Arciel Rekman
1de3e1e07f
Improvements to material editor responsiveness with stats open.
...
- Count SM finalization time into the time budget to prevent super long ticks.
- Make material stats panel update no more frequently than once in 5 seconds.
#rb Ben.Ingram
#review-16333206 @Ben.Ingram
#jira none
[CL 16333791 by Arciel Rekman in ue5-main branch]
2021-05-14 15:42:51 -04:00
Patrick Boutot
0957499c70
Slate: Preperation work for SlateAttribute in FSlot.
...
Force a valid SWidget pointer for FChildren and for FNoChildren. Deprecate the TSupportsOneChildMixin because it was miss used at some places and cause FChildren to be used as FSlot. Prepare the TPaddingWidgetSlotMixin and TAlignmentWidgetSlotMixin to support invalidation. Fix slot instance that were not using the mixin (easier when we will support SlateAttribute).
#jira UE-109145
#rb daren.cheng, vincent.gauthier
#prefligh 609e94f6cbf9a4000115d883
[CL 16331830 by Patrick Boutot in ue5-main branch]
2021-05-14 13:28:37 -04:00
Ben Ingram
81cc990cec
Remove UMaterialExpressionReturnMaterialAttributes
...
- Instead, use control flow materials use the regular root node, with an exec input stacked on top
- Execution begin expression remains
- Will simplify graph processing, as now we only have a single end-point
#rb none
#jira none
[CL 16331502 by Ben Ingram in ue5-main branch]
2021-05-14 13:05:50 -04:00
danny couture
9332b64809
Prepare for the deprecation of direct access to the Resource member of UTexture in favor of the GetResource() accessor.
...
#rb Francis.Hurteau
#preflight 609e5182ef86d30001ad0a18
#rnx
[CL 16328103 by danny couture in ue5-main branch]
2021-05-14 07:17:32 -04:00
Ben Ingram
bf5a5e66ac
Allow 'Output Translucent Velocity' to be overriden by material instances
...
#jira FROST-2607
#rb arciel.rekman, jason.nadro
[CL 16316954 by Ben Ingram in ue5-main branch]
2021-05-13 15:28:10 -04:00
aurel cordonnier
8eebe8841f
Merge UE5/RET @ 16305968 to UE5/Main
...
This represents UE4/Main @ 16261013 and Dev-PerfTest @ 16259937
[CL 16306996 by aurel cordonnier in ue5-main branch]
2021-05-12 18:10:03 -04:00
Lauren Barnes
39f1923ed0
Deprecating .Icon() as a slate attribute on SDockTab. By default, tab icons fall back to using the one for the tab spawner's menu item. SetTabIcon can be used in the edge cases where an icon needs to be set that doesn't match the default. Updating all found cases of .Icon() usage on SDockTab.
...
#jira UETOOL-3429
#preflight 60996a2bdd2e00000126ff25
#rb Matt.Kuhlenschmidt
[CL 16251489 by Lauren Barnes in ue5-main branch]
2021-05-10 14:19:15 -04:00
aurel cordonnier
50944fd712
Merge UE5/RES @ 16162155 to UE5/Main
...
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156
[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
Ben Ingram
fc42b654f6
Don't crash if a MF tries to use material layers (will eventually be flagged as a compile error, but make sure we don't crash first)
...
#rb none
#jira FROST-2369
[CL 16128999 by Ben Ingram in ue5-main branch]
2021-04-27 12:21:17 -04:00
christopher waters
688c029803
Tessellation Removal: Removing Tessellation specific material parameters.
...
#jira UE-94564
#rb ben.ingram, sebastien.hillaire, arciel.rekman, jason.nadro
#preflight 6078b15161a9060001161a4c
[CL 16034000 by christopher waters in ue5-main branch]
2021-04-16 10:46:28 -04:00
Patrick Boutot
383815f480
Slate: Convert SWidget's Enabled and Visibility flag to SlateAttribute.
...
#jira UE-106515, UE-112897
#rb vincent.gauthier
#preflight 606f3fcd97c8220001315871
#preflight 60749a870adbfb0001f0455c
[CL 15982898 by Patrick Boutot in ue5-main branch]
2021-04-12 16:13:38 -04:00
Marc Audy
01b7c9f4f5
Merge UE5/RES @ 15958325 to UE5/Main
...
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304
[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
Jeremy Moore
38a0ccdec5
Fix null vertex factory dereference when building list of shaders for material shader code windows.
...
#jira none
#rb none
[CL 15953790 by Jeremy Moore in ue5-main branch]
2021-04-08 09:10:47 -04:00
Zousar Shaker
a79239f69d
Avoid excessive access tracking overhead during cook caused by TObjectPtr accesses in the material code.
...
#rb ben.ingram
#preflight 606e2db48c8140000112e318
[CL 15948055 by Zousar Shaker in ue5-main branch]
2021-04-07 19:08:58 -04:00