43 Commits

Author SHA1 Message Date
charles derousiers
017317f565 Fix voxelization issue missing pages.
* Change curve-as-cluster selection to encompass better the entire groom.
* This fixes issue with voxel page allocation. The cluster are optionally scaled.

#rb none

[CL 26177804 by charles derousiers in 5.3 branch]
2023-06-22 05:39:16 -04:00
charles derousiers
0faaea0947 Add Groom memory stats.
#rb none

[CL 26060459 by charles derousiers in 5.3 branch]
2023-06-16 13:38:28 -04:00
bryan sefcik
da92084a12 Optimized out more private modules includes and dependencies.
#preflight 64627c382965f6ea8ea83bd6

[CL 25479683 by bryan sefcik in ue5-main branch]
2023-05-15 16:26:12 -04:00
Charles deRousiers
04b6a1d7f7 Fix CIS issue.
#rb none
#jira none
#preflight skip

[CL 24685580 by Charles deRousiers in ue5-main branch]
2023-03-17 03:43:41 -04:00
Charles deRousiers
6161295bce * Add byte per pixel view mode for Substrate
* Simplifty substrate view mode to ease adding them to the level menu
* Add project  vs. on screen max byte per pixel on screen

#rb none
#jira none
#preflight 641331a2394f0c45f6a8504d

[CL 24675783 by Charles deRousiers in ue5-main branch]
2023-03-16 14:28:59 -04:00
Rune Stubbe
97cd750f78 Replaced "Root Geometry" vis mode with "Streaming Geometry" show flag and it into new Nanite show flags category along with "Nanite Meshes" from Advanced show flags.
#rb graham.wihlidal
#fyi brian.karis, krzysztof.narkowicz
#preflight 63ff73edef1b24bf9497d4b6

[CL 24463327 by Rune Stubbe in ue5-main branch]
2023-03-01 11:13:07 -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
99e6495578 Add debug view mode for ClumpID and Per-CV AO.
#rb none
#jira none
#preflight 63bfcd96f02e72c08c9bd5b9

[CL 23660211 by Charles deRousiers in ue5-main branch]
2023-01-12 05:00:01 -05:00
Charles deRousiers
04a0995193 Fix CIS issue.
#rb none
#jira none
#preflight skip

[CL 23443816 by Charles deRousiers in ue5-main branch]
2022-12-08 02:52:17 -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
Marc Audy
6f3bb9cefe Additional fixes to go with 22968432
#codereview Steve.Robb
#preflight
#rnx

[CL 22979429 by Marc Audy in ue5-main branch]
2022-11-04 01:06:44 -04:00
steve robb
125fd0084e Removed explicit template parameters from calls to delegate creation functions.
#rb devin.doucette
#preflight 636416e31052c15f139cbadc

[CL 22968432 by steve robb in ue5-main branch]
2022-11-03 18:01:03 -04:00
daren cheng
f6c564b03b Address multiple typos for UEFN localization
#jira UE-166004 UE-168317
#rb Robb.Surridge
#preflight 6360165b7e083afb290e187f

[CL 22889284 by daren cheng in ue5-main branch]
2022-11-01 15:30:54 -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
bryan sefcik
0837230669 Ran IWYU again on half of the Engine/Source/Editor/... source files.
#jira

[CL 21716414 by bryan sefcik in ue5-main branch]
2022-08-30 23:03:03 -04:00
bryan sefcik
8cc129f2b6 IWYU Pass 1 - Engine/Source/Editor/...
#jira
#preflight 6306736ac85b7fef22be7751

[CL 21558583 by bryan sefcik in ue5-main branch]
2022-08-24 22:45:13 -04:00
bryan sefcik
98b51354ed Ran IWYU on Public headers under Engine/Source/Editor/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065253 by bryan.sefcik
#jira
#preflight 62d5b3e91062f2e63014598e

#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21152630 via CL 21156388 via CL 21157044
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21181817 by bryan sefcik in ue5-main branch]
2022-07-20 11:56:29 -04:00
lauren barnes
4b82e918fa Replacing legacy EditorStyle calls with AppStyle
#rb header and class name replacement

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

[CL 20106316 by lauren barnes in ue5-main branch]
2022-05-09 13:51:26 -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
andrew lauritzen
a936f96e04 Add clipmap address space visualization and hook up to (advanced) visualization stuff.
Move visualize enum/defines to shared header file.
Rename a few cvars for consistency.

#rb graham.wihlidal
[FYI] ola.olsson
#preflight 61f9d8921d7ca8ed2d628ccd

#ROBOMERGE-AUTHOR: andrew.lauritzen
#ROBOMERGE-SOURCE: CL 18819821 in //UE5/Release-5.0/... via CL 18819825 via CL 18822904
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18825054 by andrew lauritzen in ue5-main branch]
2022-02-02 08:19:08 -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
graham wihlidal
9948e93c6b Implemented a Nanite visualization overview, with a data-driven tile layout. This is similar to the gbuffer overview, except using a custom global shader instead of the post process material shader approach. Additionally, I managed to do this with just a single Nanite cull/raster pass. We already had a rasterizer permutation for retail vs. any visualization enabled, but it was a single ordinal mode. The rasterizer would do a 64b max and a 32b add. Was worried I needed arrays, multi-pass, strided output buffer, etc.. but then realized max is only used by raster mode, and add is only used by overdraw mode. I changed it all to a bitmask, run the rasterizer with that, and then multi-pass all the modes in screen space off the buffer.
Renamed Material Depth -> Material ID, and Hit Proxy Depth -> Hit Proxy ID

Moved Material ID into the Standard commands grouping, as it can be useful for content creators.

Made the editor hide all the Advanced commands by default, can make them available in the UX with r.Nanite.Visualize.Advanced now. Command line has full access to all of them, regardless of this setting.

Renamed r.Nanite.DebugSceneComposite to r.Nanite.Visualize.Composite, and changed the behavior for -1=default, 0=off, 1=on
Renamed r.Nanite.DebugSobelFilter to r.Nanite.Visualize.EdgeDetect and defaulted it on for content creator benefit.

Removed int4 VisualizeConfig member from Rasterizer UB, and added 32bit visualization mode mask instead.
Removed 32bit RasterStateReverseCull member from Rasterizer UB, and folded it into pre-existing 32bit RenderFlags

Renamed Nanite::FDebugVisualizeCS -> Nanite::FNaniteVisualizeCS
Renamed DebugVisualize.usf -> Visualize.usf

Made all visualizations composite against scene depth by default, except the overdraw mode.

Changed overdraw view mode to use ColorMapInferno from ColorMap.ush

#rb brian.karis
#fyi michal.valient, rune.stubbe

[CL 15828833 by graham wihlidal in ue5-main branch]
2021-03-25 15:02:12 -04:00