Commit Graph

11333 Commits

Author SHA1 Message Date
jason stasik
4dbe81a3cb Create IAssetTools::IsAssetVisible and hook up material function menu to it
#rb dave.belanger,jason.nadro

[CL 27896467 by jason stasik in ue5-main branch]
2023-09-14 17:29:16 -04:00
matt peters
611a5982af Cooker: Fix compile error when ENABLE_COOK_STATS is turned off.
#rnx
#rb Zousar.Shaker

[CL 27892961 by matt peters in ue5-main branch]
2023-09-14 16:10:38 -04:00
matt peters
a544c5b6b3 Cooker: Suppress the warning for cooker blocked by busy materials unless the shadercompiler is idle for two reports in a row.
#rnx
#rb Zousar.Shaker

[CL 27884897 by matt peters in ue5-main branch]
2023-09-14 13:09:35 -04:00
matt peters
e7928ac36f Cooker: CookPackageSplitter: Add assertion guarantees that ICookPackageSplitter is not accessed after Teardown is called.
#rnx
#rb JeanFrancois.Dube

[CL 27882086 by matt peters in ue5-main branch]
2023-09-14 12:15:17 -04:00
matt peters
d4131358ea DiffOnly header diffing for ZenStore
#rb Zousar.Shaker
#rnx

[CL 27881810 by matt peters in ue5-main branch]
2023-09-14 12:09:47 -04:00
tiago costa
691f85526b Only show "Path Tracing" mode in viewport if ray tracing is enabled.
#rb chris.kulla

[CL 27880832 by tiago costa in ue5-main branch]
2023-09-14 11:42:42 -04:00
jurre debaare
2eaf201f6a Generalized SkeletalMeshEditorToolbox to be used throughout Persona-based editors
#rb Halfdan.Ingvarsson

[CL 27874300 by jurre debaare in ue5-main branch]
2023-09-14 07:08:25 -04:00
charles derousiers
a5999dd264 Change Substrate material attribute conversion node to only output Substrate data and change root node to allow material attribute to be plugged to transfert all other geometric/meta data.
#rb none
[FYI] sebastien.hillaire

[CL 27872590 by charles derousiers in ue5-main branch]
2023-09-14 05:21:11 -04:00
michael wanderson
42e2411043 Add support for previewing platforms on PC D3D that support more than 16 samplers (max: 32). To acheive this the following changes were required:
- Added support for up to 32 samplers to the D3D12 RHI.
- Added 'MaxSamplers' to ShaderPlatform in DataDrivenPlatformInfo, this is defaulted to 16 for all shader platforms and can be modified the the DDPI ini files. This value will set the shader compiler define 'PLATFORM_MAX_SAMPLERS'.
- Added a 'RequiredSamplersSwitch' material editor node to branch based on a given shader platform's maximum sampler count.
- To support more than 16 samplers on feature level SM5 platforms Dxc and sm6.0 are used to compile the shader. On platforms that don't support Dxc and sm6.0 the preivew menu item will be disabled.

#jira UE-191404
#rb florin.pascu

[CL 27850133 by michael wanderson in ue5-main branch]
2023-09-13 16:56:08 -04:00
jian ru
10324981f5 Changes for the WIP FMaterialHLSLGenerator. This change doesn't affect current or future projects unless the new translator is enabled.
- Fixed an issue where the execution goes into an infinite loop when an input of a UMaterialExpressionMaterialFunctionCall is directly or indirectly connected to an output of the same expression.
- Added support mixing MaterialAttributes with numeric vectors in the same operation. For example, lerping a MA with a float3. This is allowed in the current translator because each MA is processed separately one at a time. Though not ideal, the new translator needs to support this to avoid breaking existing materials.
- Implemented GenerateHLSLExpression for several material expressions

[FYI] tom.holmes, john.huelin, massimo.tristano, jason.nadro

[CL 27848712 by jian ru in ue5-main branch]
2023-09-13 16:33:40 -04:00
jon olick
fdeed47cb2 Oodle JPEG format support. Smaller UASSETs and much more hardened security focus by using Oodle as a backend.
#jira

[CL 27842762 by jon olick in ue5-main branch]
2023-09-13 14:47:22 -04:00
steve robb
51f3ea53ae Removed ChooseClass.h includes.
#rb trivial

[CL 27823723 by steve robb in ue5-main branch]
2023-09-13 05:43:01 -04:00
steve robb
48500da759 More operator new(TArray) fixes.
#rb andriy.tylychko

[CL 27823303 by steve robb in ue5-main branch]
2023-09-13 05:23:54 -04:00
dave belanger
666543f8fd Fix folder on duplicated actor when the folder contains spaces
#rb Richard.Malo
#rnx

[CL 27818498 by dave belanger in ue5-main branch]
2023-09-12 21:06:01 -04:00
zach bethel
29f735f4a3 Modified scene proxy GetDynamicMeshElements calls to take a local command list instead of relying on the immediate command list and defer uniform expression cache invalidations.
- Calls to FRHICommandListImmediate::Get() replaced with Collector.GetRHICommandList()

#jira UE-194426

[CL 27813729 by zach bethel in ue5-main branch]
2023-09-12 18:32:22 -04:00
dan thompson
3226e61821 Include shader sizes in plugin size reporting.
Add shader information to the cook metadata file.
Update cook metadata dependency counts to uint32.
Separate out plugin graph generation from usage.
Add "other" size classification
#rb arciel.rekman
#rb fabian.giesen

[CL 27805498 by dan thompson in ue5-main branch]
2023-09-12 15:58:42 -04:00
brooke hubert
105727f1ab [Editor Viewport] Add a cvar to disable invalidate on each SIE frame. Mouse clicks and other times a viewport would get invalidated should still occur.
r.Editor.Viewport.InvalidateEachSIEFrame (default to on to preserve behavior)

#Jira UE-194527
#rb ronald.koppers

[CL 27772634 by brooke hubert in ue5-main branch]
2023-09-11 17:45:02 -04:00
matt peters
dcd48f1d78 Cooker: When a generated package is demoted due to deleted objects, add feedback with the name of the object that was deleted.
#rnx
#rb Zousar.Shaker

[CL 27760732 by matt peters in ue5-main branch]
2023-09-11 13:34:04 -04:00
benoit gadreau
7c004866a5 New TRS Gizmo updates
- arcball rotation: the rotation is computed using a spherical+hyperbolic projection (see code for more explanation)
    - indirect manipulation via MMB: hit parts are stored per mode then are used to drive the proper drag function
    - defered drag function: in order to avoid notifications storm, the drag functions can be applied on tick instead using a pending function
    - a single default TRS gizmo is now created when needed (instead of creating several thru selection changed or when the gizmo manager was ticking) and its visibility is set based on rules

TODO
    - UEditorInteractiveGizmoManager is now closer to UInteractiveGizmoManager so I don't think we need ActiveEditorGizmos, CachedGizmoMap, etc. that are not used anymore. This should be cleaned in another CL
    - UEditorTransformGizmo::OnGizmoTransformBegin should set the current axis (needed for some modes, including IKRig) but this is disabled for now has there are some side effects with dragging (this will be treated in another CL)


#jira UE-152973
#jira UE-161236
#rb brooke.hubert zach.rammell

[CL 27751789 by benoit gadreau in ue5-main branch]
2023-09-11 09:54:48 -04:00
jeanfrancois dube
99a47663d6 Delete Assets dialog with now output the actor label when deleting assets referenced by actors, instead of showing the external actor path.
#rb sebastien.lussier

[CL 27750736 by jeanfrancois dube in ue5-main branch]
2023-09-11 09:10:47 -04:00
matt peters
0d0755abed Cooker: GeneratedPackages: do not demote generator or generated packages when private objects are garbage collected. Demote (and give an error) only when public objects are garbage collected. Normal packages that are not a generator and are not owned by a generator keep the same behavior of demoting if any object, even a private one, is garbage collected.
#rnx

[CL 27750042 by matt peters in ue5-main branch]
2023-09-11 08:55:04 -04:00
stan hormell
37bad2d07b [Backout] - CL27731288 - CIS / Build Errors
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Deprecated GetSectionPrivate and FindOrAddSection, and accessors in FConfigFile that could return a non-const FConfigSection (this is so we can track modifications to config values)
- Added AddToSection, RemoveKeyFromSection, etc to replace directly accessing a FConfigSection
- Fixed up Epic code for the deprecations (at least the majority, some projects that aren't built by Horde presubmit may have some that we will address going forward)
#jira UE-194955
#rb david.harvey and various others

[CL 27745141 by stan hormell in ue5-main branch]
2023-09-10 22:58:21 -04:00
tom holmes
54e8821d43 Fix for Compilation Tests / Compile UnrealEditor StressTestUnity Win64
Issue 362201: Compile errors in ComponentTypeRegistry.cpp
[FYI] Scott.Jenkins

[CL 27739489 by tom holmes in ue5-main branch]
2023-09-09 15:48:57 -04:00
eric knapik
7c24cc7a5c #jira: FORT-601192
Fixup cookmetadata.ucookmeta after we join the cook outputs. Update the ucookedmeta file to have the same hash as the newly made combined devAR.
Added Save and Load functions to the cooked meta file

[REVIEW] [at]Dan.Thompson [at]Matt.Breindel

[CL 27734479 by eric knapik in ue5-main branch]
2023-09-08 19:51:52 -04:00
brooke hubert
844d2de0db [Component Visualizer] Deprecate unused function for showing based on actor selection. This is explicitly the design of component visualizers, and is unnecessary.
#Jira UE-191852
#rb trivial

[CL 27733673 by brooke hubert in ue5-main branch]
2023-09-08 19:15:42 -04:00