Commit Graph

126 Commits

Author SHA1 Message Date
Guillaume Abadie
a4dbbda3be Makes the editor viewport screen percentage more intuitive
#rb none
#jira UE-144214
#preflight 6446e65fc632d1e89b5b078b

[CL 25172089 by Guillaume Abadie in ue5-main branch]
2023-04-24 17:42:20 -04:00
sebastian arleryd
a7f33263f9 Fix DPI issue in STransformViewportToolBar that broke collapse functionality for small viewports
This adjusts a function added in CL 22676675 to fix the issue introduced by 22635797 also in the case of DPI scaling.

#jira UE-174854
#preflight 641d6629c44ce895fc8d3e78

[CL 24834014 by sebastian arleryd in ue5-main branch]
2023-03-29 07:46:33 -04:00
sebastian arleryd
096c5081ac Sort the Placed Cameras menu by camera name to make the list more predictable for users.
#jira UE-175767
#preflight 6418809d32723d4a2039e73b

[CL 24760182 by sebastian arleryd in ue5-main branch]
2023-03-23 07:56:35 -04:00
Florin Pascu
106ea7508c Preparation changes for removing FeatureLevel from World
FeatureLevel is Deprecated
Add Setter/Getter for FeatureLevel
NextStep: Make GetFeatureLevel returns DDSPI::GetFeatureLevel, remove FeatureLevel memberfrom UWorld
#jira UE-168551
#rb christopher.waters
#preflight 63ff5e49f43e53f6811c86a4

[CL 24461796 by Florin Pascu in ue5-main branch]
2023-03-01 09:41:33 -05:00
charles derousiers
0fad76c4d7 Rename all user/editor-facing Strata name into Substrate.
This CL address only user-facing part, i.e. Property field, view modes, tool tips, ...) mentioning Strata. All internal (host code, shaders code, CVars) still contains the 'Strata' name.

#rb sebastien.hillaire
#jira UE-175169
#preflight 63f4db68cf37615300e71db5
#lockdown juan.canada

[CL 24350396 by charles derousiers in ue5-main branch]
2023-02-21 16:52:23 -05:00
charles derousiers
5229394cfe Fix incorrect material appearance on raytracing material with Strata enabled
* Add adaptive RT material payload for Strata.
* Centralize all Strata settings in RenderCore/RenderUtils.h to ensure consistency

#rb chris.kulla
#jira none
#preflight 63d43bcff626715201a0ed1d
[FYI] sebastien.hillaire

[CL 23923301 by charles derousiers in ue5-main branch]
2023-01-31 01:12:18 -05:00
christopher waters
0d5b23e2e3 Adding includes to prepare for a header dependency cleanup.
#preflight 63b5e0bfff7b9ad7030f0f81

[CL 23581920 by christopher waters in ue5-main branch]
2023-01-04 17:07:40 -05:00
Charles deRousiers
af6aa8b792 * Add groom view mode menu to level editor
* Unify most groom debug rendering to go through view more rather than CVars

#rb none
#jira none
#preflight 63909a4b0d013d47ef1cee7e

[CL 23427771 by Charles deRousiers in ue5-main branch]
2022-12-07 09:21:47 -05:00
jamie dale
3cec31f2d9 Added "LevelViewportToolBar.RightExtension"
#rb Jason.Stasik

[CL 22890951 by jamie dale in ue5-main branch]
2022-11-01 16:31:03 -04:00
Charles deRousiers
2190bdd38e Add Strata debug mode into the level view menu.
This gives direct access to all Strata view mode, which helps with discoverability.

All strata view mode are also available with CVar: r.Strata.ViewMode

#rb none
#jira none
#preflight 635a22c68d56375d45d65e15
#fyi sebastien.hillaire

[CL 22806075 by Charles deRousiers in ue5-main branch]
2022-10-27 02:52:45 -04:00
jamie dale
bd1a288d43 Fixed STransformViewportToolBar not collapsing when the viewport area got too small
This regressed from CL# 22635797 as STransformViewportToolBar would now auto-width rather than shrink. To workaround this while keeping "LevelViewportToolBar.MiddleExtension" we now calculate a max width for the slot containing STransformViewportToolBar that allows it to shrink when the toolbar is wider than the current viewport.

#preflight 6351d255e6096564af2a171d
#rb Rex.Hill, Scott.Nelson
#rnx

[CL 22683648 by jamie dale in ue5-main branch]
2022-10-21 01:16:20 -04:00
jamie dale
04a5bf519d Fixed "LevelViewportToolBar.MiddleExtension" not being centered in the viewport, as it was sharing its space with another proportional slot
#rb Rex.Hill
#rnx

[CL 22647435 by jamie dale in ue5-main branch]
2022-10-19 22:00:36 -04:00
guillaume abadie
313068cbef Deletes ICustomStaticScreenPercentage
Motivations:
1) Force compatibilty of third-party temporal upscalers with dyn-res
2) Allows multiple temporal upscaler plugins to live concurrently without collision on a single global
3) Reduce support overhead from licensee due to inconsistent internal rendering resolution across different temporal upscalers

Notes:
1) ITemporalUpscaler is now meant to be setup by the plugin's FSceneViewExtensionBase::BeginRenderViewFamily() that obeys the screen percentage driver;
2) The licensee's game user settings can just enable disable each plugin respectively based on their implementation specialization of ApplyNonResolutionSettings();
3) ITemporalUpscaler now has a lifetime tied to a FSceneViewFamily;
4) FSceneViewFamily offers a generic way to bind other data tied to its life time with FSceneViewFamily::GetOrCreateExtentionData() for instance for setting customise behavior of FSceneViewExtensionBase::BeginRenderViewFamily() before FRendererModule::BeginRenderingViewFamily().

#rb juan.canada
#jira UE-162184
#preflight 63337c4cd747fe52c81150a9

[CL 22224677 by guillaume abadie in ue5-main branch]
2022-09-28 12:23:34 -04:00
lonnie li
75f166d1af LevelViewportToolbar: Make LeftExtension AutoWidth to collapse unused space.
#ROBOMERGE-AUTHOR: lonnie.li
#ROBOMERGE-SOURCE: CL 21416158 via CL 21416163 via CL 21416174
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21418226 by lonnie li in ue5-main branch]
2022-08-16 20:22:21 -04:00
bryan sefcik
435d89dea4 Manually updated a few files in Engine/Source/Editor/... to include some headers that were found to be missing after running IWYU.
#preflight 62cdac5084556536d0e57c64

[CL 21058996 by bryan sefcik in ue5-main branch]
2022-07-12 13:45:01 -04:00
lonnie li
ceb7906577 ViewportToolBar: Added LeftExtension point for the LevelViewportToolBar.
Added ViewportToolBarContext to permit use of FEditorViewportToolBarMenu widgets in LevelViewportToolBar panel extensions.

#rb lauren.barnes
#preflight 62b9bb3b5d29d0d10ab7f766

#ROBOMERGE-AUTHOR: lonnie.li
#ROBOMERGE-SOURCE: CL 20830641 via CL 20830674 via CL 20830679
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20833360 by lonnie li in ue5-main branch]
2022-06-27 12:33:28 -04:00
scott nelson
bf58e390bb Add Extender to middle of LevelViewportToolbar
#rb Jason.Stasik
[FYI] Elias.Lozadabenavent
#preflight 627d8e589f7ad2a14b01a94e

#ROBOMERGE-AUTHOR: scott.nelson
#ROBOMERGE-SOURCE: CL 20182020 via CL 20183691 via CL 20184781 via CL 20185949 via CL 20186141
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20188814 by scott nelson in ue5-main branch]
2022-05-13 16:42:07 -04:00
lauren barnes
5f7006fb53 Fixing EditorStyle->AppStyle merge errors
#rb trivial

#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20073150 via CL 20073151
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20105751 by lauren barnes in ue5-main branch]
2022-05-09 13:31:58 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
aditya ravichandran
3fba7c938e StarshipStyle: Rename "EditorViewport.SubMenu.Layouts" to "Icons.Layout" and move it to StarshipCoreStyle
#rn deprecation editor
#jira UE-147073
#rb louise.rasmussen
#preflight 623e14b96d39f6b5a05b87fe

[CL 19517936 by aditya ravichandran in ue5-main branch]
2022-03-25 15:45:41 -04: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
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
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 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