Commit Graph

1088 Commits

Author SHA1 Message Date
zach rammell
787bc123ff Editor Modes: hide shortcut editors for non-visible modes
A lot of editor modes depend on context derived from other tooling or are situated in their own windows, so assigning a shortcut and then using it will either crash or do nothing, respectively. This makes it so that the only modes with sensible manual assignment behavior can have shortcuts created for them.

#jira UE-140642
#rb Patrick.Laflamme Brooke.Hubert
#preflight 62196fb3847077002e9defb9

[CL 19160934 by zach rammell in ue5-main branch]
2022-02-25 19:28:25 -05:00
vincent gauthier
1bd18c6704 Fix to Localization macros usage.
#jira UE-136397
#rb Patrick.Boutot
#preflight 62153604141b500e17ec4ad5
#lockdown jeanmichel.dignard

#ROBOMERGE-OWNER: vincent.gauthier
#ROBOMERGE-AUTHOR: vincent.gauthier
#ROBOMERGE-SOURCE: CL 19081591 in //UE5/Release-5.0/... via CL 19096389
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19140512 by vincent gauthier in ue5-main branch]
2022-02-24 23:16:52 -05:00
daniel wright
bad0843111 Two Sided Foliage shading model is now supported by Lumen, and treated like Subsurface (no separate lighting gather on backface, Subsurface Color added to Diffuse Color)
Fixed artifacts with r.Lumen.ScreenProbeGather.TracingOctahedronResolution 4
 * THREADGROUP_SIZE was less than IRRADIANCE_PROBE_WITH_BORDER_RES

Disable r.Lumen.ScreenProbeGather.StochasticInterpolation on Epic Scalability and above due to noise with clean materials

Reduce r.Lumen.ScreenProbeGather.FullResolutionJitterWidth to .5 on Cine Scalability, or when Lumen Final Gather Quality is high

Editor viewport shows Scalability warning for anything other than Epic (previously was shown only for levels less than Epic) since Cinematic runs at a lower framerate

Lumen Radiosity uses less memory when r.LumenScene.Radiosity.ProbeOcclusion=0

CitySample use r.LumenScene.Radiosity.ProbeSpacing=8 to get in line with previous lowered defaults

#jira UE-141204
#rb Krzysztof.Narkowicz
#lockdown Juan.Canada
#preflight 620bf8ef4353dc61c7faaeed

#ROBOMERGE-AUTHOR: daniel.wright
#ROBOMERGE-SOURCE: CL 19075501 in //UE5/Release-5.0/... via CL 19094394
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19136373 by daniel wright in ue5-main branch]
2022-02-24 20:33:09 -05:00
max chen
a7d1af133c Level Editor: Check for valid actor before dereferncing in outliner filter
#jira UE-141695

#ROBOMERGE-AUTHOR: max.chen
#ROBOMERGE-SOURCE: CL 19061750 via CL 19061783 via CL 19073342 via CL 19074992 via CL 19078027
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19121192 by max chen in ue5-main branch]
2022-02-24 14:30:51 -05:00
Julien StJean
0a3953c790 Adding a button to details pannel and a mecanism to register the promotion of elements. (Hydration)
#jira UE-138486
#rb Brooke.Hubert
#preflight 62169d5ea45a91013f37eeea

[CL 19100389 by Julien StJean in ue5-main branch]
2022-02-23 15:54:47 -05:00
Patrick Enfedaque
aca2ccef34 WorldPartition: Use UWorld::IsPartitionedWorld instead of HasSubsystem<UWorldPartitionSubsystem> (prepare for subsystem always existing)
#rb richard.malo, jeanfrancois.dube
#preflight 6214e114a97c2c3348cb166d
#rnx

[CL 19071881 by Patrick Enfedaque in ue5-main branch]
2022-02-22 08:54:19 -05:00
aditya ravichandran
6d8b2860da Re-create the Outliner on Map Change,
Disable the Pinned Column and Context Menu option on non-wp maps,
Rename the Level Column to "Package Short Name" on wp enabled maps,
Add the ability to access all outliners from SLevelEditor

#jira UE-133207
#jira UETOOL-4981
#rb Lauren.Barnes
#preflight 620d0fa37948a1e5e4b1d578

[CL 19014298 by aditya ravichandran in ue5-main branch]
2022-02-16 10:02:22 -05:00
christina tempelaarl
a1fc976a81 Fix Quick Add menu items disappearing when the Quixel Bridge plugin is not loaded.
#jira UE-14712
#preflight 620affdac11eeda3618eb3f1
#rb lauren.barnes, rex.hill
#lockdown jeanmichel.dignard

#ROBOMERGE-AUTHOR: christina.tempelaarl
#ROBOMERGE-SOURCE: CL 18995376 in //UE5/Release-5.0/... via CL 18995527 via CL 18995615
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 19001113 by christina tempelaarl in ue5-main branch]
2022-02-15 14:40:34 -05:00
jack porter
3ffbe58832 Fix Preview Rendering Level change not being applied to either editor-viewport or separate-window in-process PIE
#jira UE-121440
#lockdown jack.porter
#rb Florin.Pascu
#preflight 620658fa963efc0c28d6b7a8
[FYI] lauren.barnes

#ROBOMERGE-AUTHOR: jack.porter
#ROBOMERGE-SOURCE: CL 18951055 in //UE5/Release-5.0/... via CL 18951082 via CL 18951127
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18951132 by jack porter in ue5-main branch]
2022-02-11 08:22:09 -05:00
aditya ravichandran
e54bc63e2b Remove Alt+P shortcut for opening the Place Actors Panel, as it is already used for PIE
#preflight 62058b01a155a4cddac86f5f
#jira UE-109136
#lockdown JeanMichel.Dignard
#rb Lauren.Barnes

#ROBOMERGE-AUTHOR: aditya.ravichandran
#ROBOMERGE-SOURCE: CL 18944535 in //UE5/Release-5.0/... via CL 18944710 via CL 18944854
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 18944882 by aditya ravichandran in ue5-main branch]
2022-02-10 17:51:26 -05:00
dave belanger
4b72e06fd5 Disable code navigation when C++ is not allowed in the editor
#rb Rex.Hill
#preflight 6202c1f2e85c7a08bbf3987b

#ROBOMERGE-OWNER: dave.belanger
#ROBOMERGE-AUTHOR: dave.belanger
#ROBOMERGE-SOURCE: CL 18918552 via CL 18918618 via CL 18918624 via CL 18918631 via CL 18922663 via CL 18923570
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v916-18915374)

[CL 18923679 by dave belanger in ue5-main branch]
2022-02-09 15:28:22 -05:00
Robb Surridge
65a3c1236d Move IntroTutorials to a plugin. Part 1: move code module and clean up references.
#jira 141830
#preflight 6202f3e4bd4f846436f1dfc6
#rb lauren.barnes

[CL 18920903 by Robb Surridge in ue5-main branch]
2022-02-09 13:00:06 -05:00
zach rammell
b7f26910c3 [LevelEditorSubsystem] Add blueprint function to get the currently piloted actor/camera
#jira UE-133986
#rb [at]Patrick.Laflamme [at]Max.Chen
#preflight 61fd7e6d163df1051e55b445

#ROBOMERGE-AUTHOR: zach.rammell
#ROBOMERGE-SOURCE: CL 18872651 via CL 18872680 via CL 18872723 via CL 18875003 via CL 18875438
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18875464 by zach rammell in ue5-main branch]
2022-02-04 17:41:47 -05:00
julien stjean
51e563b9a0 Fixed the typed element scripting api issues.
Added the FScriptTypedElementHandle. These handles are disarmed when the element they pointing to is destroyed instead of crashing the engine. They do have a performance overhead so using these should be restricted to exposing stuff to blueprint/python.

Reworked the TypedElementList to be a template so that we have both a FTypedElementList and a FScriptTypedElementList from the same source code.

Changed the api of the interfaces so that can now accept and use the scripted version of the handle and list instead of the native ones.

#jira UE-133667
#rb Brooke.Hubert
#preflight 61f89bfaf657e25a5908db48

#ROBOMERGE-AUTHOR: julien.stjean
#ROBOMERGE-SOURCE: CL 18816318 in //UE5/Release-5.0/... via CL 18816336 via CL 18822818
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824371 by julien stjean in ue5-main branch]
2022-02-02 07:40:00 -05:00
daniel wright
765fd44bc6 Lumen Visualization rendering moved to AddPostProcessingPasses to fix composition issues with transparency, TAA and editor primitives. Visualizations refactored to work in post processing pipeline.
* Visualize Lumen Scene and Surface Cache moved to after TAAU, but before tonemapper
* Visualize Lumen Overview moved after tonemapper and editor primitive compositing
* Handling removing of TAA jitter, manual upscale, manual tonemapping
* Visualize HWRT refactored to no longer rely on SceneDepth, which is not available after TAAU

Changed default r.Lumen.Visualize.HardwareRayTracing.Retrace.HitLighting to 0 to better match how the features use it

#preflight 61f8af95114ec25fe0cb8dd5
#rb Krzysztof.Narkowicz

#ROBOMERGE-AUTHOR: daniel.wright
#ROBOMERGE-SOURCE: CL 18810990 in //UE5/Release-5.0/... via CL 18811004 via CL 18822705
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18823638 by daniel wright in ue5-main branch]
2022-02-02 05:55:10 -05:00
andrew davidson
3debbbd465 Fix FVector2D variant casts
Submitted on behalf of fred.kimberley
#rb andy.davidson
#preflight 61f8719ea6632a34f35e654b

#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18801709 in //UE5/Release-5.0/... via CL 18802160 via CL 18821533
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821619 by andrew davidson in ue5-main branch]
2022-02-02 01:45:23 -05:00
andrew lauritzen
ef2fd132f7 Add VSM projection visualizations to the editor menu
#rb graham.wihlidal
[FYI] ola.olsson
#preflight 61f1a689fc74f46b5645b225

#ROBOMERGE-AUTHOR: andrew.lauritzen
#ROBOMERGE-SOURCE: CL 18757572 in //UE5/Release-5.0/... via CL 18759665 via CL 18760682
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18760914 by andrew lauritzen in ue5-main branch]
2022-01-27 15:49:31 -05:00
krzysztof narkowicz
02819f2a85 Refactored Lumen visualization views and show flag in order to improve user experience. All Lumen visualization modes and show flags were moved into Lumen submenus for easier discovery. View modes were made exclusive (only one may be active at a time). Additonally exposed new view modes and show flags in order to easier debug and understand Lumen.
Lit->Lumen
Added Lit->Lumen submenu with 4 view modes - Lumen Scene, Lumen Reflection View, Lumen Surface Cache and Overview:
* Lumen Scene - same as ShowFlags->VisualizeLumenScene. Visualizes Lumen scene representation in highest possible quality, with highest possible view distance
* Lumen Reflection View - Lumen Scene, but with current reflections settings. Basically represents how things look in the reflections
* Lumen Surface Cache - visualizes surface cache and marks with pink missing surface cache coverage
* Overview - 3 Lumen view mode tiles, overlaid on top of normal view

Show->Lumen
Added Show->Lumen submenu with 6 flags, which allow to disable specific trace types (screen space, detail, global, far field), disable secondary bounces (radiosity) and disable Screen Space Directional Occlusion.

Show->Visualize
Removed �Lumen Scene� (replaced by Lit->Lumen->Lumen Scene view mode) and �Lumen Global Illumination� (replaced by r.Lumen.Visualize.IndirectDiffuse) from

Advanced visualization modes are accessible through r.Lumen.Visualize.Mode, which overrides current Lit->Lumen-> settings.

Misc changes:
* Renamed VisualizeLumenScene* to LumenVisualize*
* Moved shared visualize parameters to LumenVisualize.h
* Lumen HWRT visualize now uses same ray footprint as SWRT visualize
* Replaced HALF_WORLD_MAX with Lumen::MaxTracingEndDistanceFromCamera and Lumen::MaxTraceDistance in preparation for the LWC WORLD_MAX changes

#rb Patrick.Kelly, Daniel.Wright
#preflight 61e73339b56c33b8ecf753b2

#ROBOMERGE-AUTHOR: krzysztof.narkowicz
#ROBOMERGE-SOURCE: CL 18658215 in //UE5/Release-5.0/... via CL 18658227 via CL 18658249
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18658268 by krzysztof narkowicz in ue5-main branch]
2022-01-19 10:11:35 -05:00
robb surridge
f42903c9ee Fix the target for the Level Editor documentation in the Help menu.
#jira UE-139318
#preflight 61e6e24322567fa458a9a028
#rb lauren.barnes

#ROBOMERGE-AUTHOR: robb.surridge
#ROBOMERGE-SOURCE: CL 18640888 in //UE5/Release-5.0/... via CL 18640987 via CL 18641010
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18641044 by robb surridge in ue5-main branch]
2022-01-18 11:28:35 -05:00
guillaume abadie
b000ccbd8e Changes default screen percentage behavior in editor to take more advantage of TSR's upscaling behavior already enabled by default
1) Editor viewports now display at high DPI by default for better Gen5-console feeling in editor on high DPI monitors.

2) Realtime editor viewports now display at screen percentage based on the display pixel count. Fix screen percentage independent of the pixel range could either render not enough pixel at low display resolution or be too slow at high display resolution. Given the level editor viewport can scale in size based on editor user layout preference, monitor, the screen percentage automatically scalling based on display pixel count gives a better experience of quality consistency/GPU cost for rendering frame, especially when going level editor fullscreen with F11 or not. The curve to compute rendering resolution from display resolution is in BaseEngine.ini

3) Non-realtime editor viewports still display at a screen percentage based on OS DPI scale, independent of the display pixel count because use spatial upscaler and therefore need consistent sharpness not worst than editor fonts, but keep same rendering resolution as before to not increase out of GPU memory errors. The performance of potentially rendering at high resolution than a realtime viewport is ignored given the non real-time viewports are not rendering every frame.

4) PIE viewports now override r.ScreenPercentage by default to have consistent resolution quality and performance between realtime editor viewport and gameplay viewport by default without risk of introducing out of GPU memory errors loosing possibly unsaved editor work if the game's graphic settings default to a screen percentage higher. To advertise discoverability of this change, any update to the r.ScreenPercentage cvar will lead to a message display in console/log if overriden by editor settings or dynamic resolution settings.

5) As much as a project can change the default anti-aliasing method, can also configure on a per project basis the default screen percentage behavior in project preference that the editor user can then override locally for his/her own use with his editor settings. For instance mobile only or forward renderer MSAA only video games.

6) When working very high end work-in progress rendering tech project in a econemic context where lattest GPUs are hard to get, the range of GPU performance can vary greatly between contributor of the same projects. To provide more robustness for lowerend GPU of collegues with tech not yet scaling, the project settings now offer a MaxRenderingResolution for editor viewports that can also be overriden on a per user basis.

7) Automated screenshot already takes care of forcing r.ScreenPercentage.

#rb none
#preflight 61e58d4a873f2ea48f33facd

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 18633512 in //UE5/Release-5.0/... via CL 18633532 via CL 18633538
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18637384 by guillaume abadie in ue5-main branch]
2022-01-18 04:31:45 -05:00
patrick enfedaque
03bb3a2f2a - Prevent 'Save Current Level As' through editor modes
- Avoid adding newly saved level if RemoveLevelFromWorld fails

#rb richard.malo, brooke.hubert
#preflight 61e1ae58076be0fc4e15ea77

#ROBOMERGE-AUTHOR: patrick.enfedaque
#ROBOMERGE-SOURCE: CL 18620036 in //UE5/Release-5.0/... via CL 18620344 via CL 18620779
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18621059 by patrick enfedaque in ue5-main branch]
2022-01-14 14:01:23 -05:00
lauren barnes
180b0cfbbf In-Viewport HUD for lights is off by default.
#jira none
#rb trivial
#preflight 61e1a58c7f65c8b2dce5d171

#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 18618926 in //UE5/Release-5.0/... via CL 18619127 via CL 18619246
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18619429 by lauren barnes in ue5-main branch]
2022-01-14 12:25:07 -05:00
sebastien lussier
6c116e1d08 #jira UEDOC-20563
Doc / UI improvements for the Merge Actors tool
#rnx
#rb luc.eygasier
#preflight 61def7904f0bdec364a15690

#ROBOMERGE-AUTHOR: sebastien.lussier
#ROBOMERGE-SOURCE: CL 18584832 in //UE5/Release-5.0/... via CL 18584845 via CL 18584856
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18584860 by sebastien lussier in ue5-main branch]
2022-01-12 11:00:25 -05:00
matt kuhlenschmidt
f8dccb985b Ensure there is some visual separation between non-maximized viewports
#jira UE-110497
#preflight none

#ROBOMERGE-AUTHOR: matt.kuhlenschmidt
#ROBOMERGE-SOURCE: CL 18562475 in //UE5/Release-5.0/... via CL 18562480 via CL 18562490
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18562510 by matt kuhlenschmidt in ue5-main branch]
2022-01-10 13:26:42 -05:00
matt kuhlenschmidt
01e521edaa Ensure there is some visual separation between non-maximized viewports
#jira UE-110497
#preflight none

#ROBOMERGE-AUTHOR: matt.kuhlenschmidt
#ROBOMERGE-SOURCE: CL 18562475 in //UE5/Release-5.0/... via CL 18562480
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18562490 by matt kuhlenschmidt in ue5-release-engine-test branch]
2022-01-10 13:25:58 -05:00