Commit Graph

216 Commits

Author SHA1 Message Date
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
krzysztof narkowicz
44d70d7641 Lumen:
* Fix incorrect reflections when using r.Lumen.Reflections.SampleSceneColorAtHit. Screen space hit points are now also discarded based on the comparison between reconstructed geometric normal and ray hit geometric normal.
* Fix surface cache sampling with hit lighting due to using detail normal instead of a geometric normal

#rb Daniel.Wright, Charles.deRousiers
#preflight 63efca0961378b7ea0361104
#jira UE-177485
#lockdown Juan.Canada

[CL 24295260 by krzysztof narkowicz in ue5-main branch]
2023-02-17 19:38:38 -05:00
carl lloyd
bea9e08395 Added support to separately enable OpenGL deferred
#rb Florin.Pascu
[FYI] Allan.Bentham

#preflight 63ecd462b96a6b2718ac0ee6

[CL 24254770 by carl lloyd in ue5-main branch]
2023-02-16 05:50:42 -05:00
dmitriy dyomin
931d8b4c16 Properly cook out VT for mobile platforms if VT is not supported on mobile
[CL 24226715 by dmitriy dyomin in ue5-main branch]
2023-02-15 01:19:04 -05:00
charles derousiers
2e825249bd Add optional accurate sRGB encoding for Strata pixel payload.
#rb sebastien.hillaire
#jira none
#preflight 63e40213244dc45a2026160c
#lockdown juan.canada

[CL 24085322 by charles derousiers in ue5-main branch]
2023-02-08 18:00:32 -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
1f21b73b25 Ran IWYU on RHI and RenderCore, private only.
#preflight 63d358c85c69f453c1f79c37

[CL 23889591 by christopher waters in ue5-main branch]
2023-01-27 14:54:10 -05:00
jonathan bard
52e1ca6c17 Fixed crash when using alpha brush/pattern landscape tool and generally better support various cases with the alpha brush texture :
* The brushes becomes red and non-interactive when the alpha brush is invalid
* Setting an invalid alpha brush (e.g. a cooked texture in a cooked editor or a virtualized texture with invalid virtualization settings such that the texture source cannot be retrieved) is not crashing the UI anymore and will show as empty in the UI (+ a log error will be done)
* The brushes now support the same failure conditions as the normal brush (unloaded components, etc.)
* The alpha brush textures now supports all texture formats and will be linearized if necessary when reading the texture data
* The alpha brush texture channel is auto-corrected if one uses an invalid channel (e.g. Green on a G8 texture)

#rb luc.eygasier
#preflight 63ca08acd368fed9e5f22517

[CL 23815938 by jonathan bard in ue5-main branch]
2023-01-23 12:50:34 -05:00
graham wihlidal
8057f357dd Initial (crude) working version of WIP Nanite material dispatch (shading via compute instead of graphics). Lots of work remaining, but a good milestone to submit. (Off by default with no impact to shader compilation)
#rb brian.karis
#fyi rune.stubbe, jamie.hayes, yuriy.odonnell, zach.bethel
#preflight skip

[CL 23782489 by graham wihlidal in ue5-main branch]
2023-01-19 17:44:35 -05:00
christopher waters
5c36939f3a Dependency cleanup around RenderCore.h includes.
#preflight 63c1b21d1a06fc6105ef31c4

[CL 23688227 by christopher waters in ue5-main branch]
2023-01-13 17:25:01 -05:00
christopher waters
6e30ddb01e Dependency cleanup around DataDrivenShaderPlatformInfo and a few other headers.
#preflight 63921e6a67018b14b5925197

[CL 23454104 by christopher waters in ue5-main branch]
2022-12-08 15:35:35 -05:00
christopher waters
b646d3c719 Moving FShaderPlatformCachedIniValue into its own file.
Preparing RenderUtils for include removal.

#preflight 638f63a09549ddaa2869ddf0

[CL 23422383 by christopher waters in ue5-main branch]
2022-12-06 20:00:07 -05:00
christopher waters
4529c32af9 Moving RenderUtils helper functions into the cpp file.
#preflight 638ed37a67018b14b581be3b

[CL 23421896 by christopher waters in ue5-main branch]
2022-12-06 19:49:27 -05:00
christopher waters
f8f7ca2782 Moving the bulk of global rendering resources into GlobalRenderResources.h.
Not fully deprecating includes yet.

#preflight 638eba1fc0652bbec2335106

[CL 23421741 by christopher waters in ue5-main branch]
2022-12-06 19:47:11 -05:00
christopher waters
dcfccd8796 Moving generic rendering math functions out of RenderUtils.h and into a new file, RenderMath.h
#preflight 638e598c1776b8c21c409492

[CL 23401436 by christopher waters in ue5-main branch]
2022-12-05 18:29:39 -05:00
christopher waters
56465bfef0 Moving some utility functions out of RenderResource and into RenderUtils.
#preflight 638a505f4c3ce8ae5d2e174c

[CL 23378959 by christopher waters in ue5-main branch]
2022-12-02 16:36:00 -05:00
christopher waters
fa2ebfe998 Adding includes to rendering cpp files in preparation for header changes.
#preflight 6387bd29fa053c489ad45427

[CL 23343615 by christopher waters in ue5-main branch]
2022-11-30 18:29:09 -05:00
aleksander netzel
ecb3f3cbe2 Required changes to enable dynamic ray tracing by default on PC:
* r.RayTracing.EnableOnDemand - controls whether ray tracing can be toggled on demand at runtime.
* r.RayTracing.Enable - now controls if ray tracing is enabled
* Set appropriate defaults for the engine in WindowsEngine.ini to match previous state
* Enable toggling ray tracing on/off only in frontend

#rb yuriy.odonnell
#preflight 636392240c2e7c8f91e93585

[CL 22959117 by aleksander netzel in ue5-main branch]
2022-11-03 14:23:22 -04:00
Dmitriy Dyomin
f7dffe9f57 Fixed: A few issues with depth access in a mobile renderer
Make SceneDepthAux a platform constant configuration, it can't depend on runtime vars
#rb none
#preflight 635e4bed1b41d36d48d26061

[CL 22854614 by Dmitriy Dyomin in ue5-main branch]
2022-10-30 08:26:11 -04:00
aleksander netzel
c07eb3fff0 Initial support for switching ray tracing on/off at runtime:
* Split IsRayTracingEnabled() into 2 parts: IsRayTracingEnabled() which can be changed at runtime and IsRayTracingAllowed() for checking if ray tracing can be enabled.
* r.Raytracing can now have following values: 0 - disabled, 1 - enabled all the time, 2 - enabled dynamic
* When ray tracing is dynamic, RayTracingGeometryManager will collect all FRayTracingGeometry and allocate/release RHI objects as needed depending on if ray tracing is enabled or not.
* Ray tracing can be switched on/off with r.Raytracing.Enable (default is 1).
* Add support to most features used in CitySample/Lyra for switching ray tracing at runtime.
* TODO: Hair geometries are not yet released.

#rb yuriy.odonnell
#preflight 634feac68176062ea7da933f

[CL 22622885 by aleksander netzel in ue5-main branch]
2022-10-19 09:00:41 -04:00
arciel rekman
e88f4f1f97 Fix too frequent FindConsoleVariables calls.
#rb Rolando.Caloca
[REVIEW] [at]Rolando.Caloca
#jira none
#preflight none

[CL 22462772 by arciel rekman in ue5-main branch]
2022-10-11 14:57:12 -04:00
arciel rekman
ddaa5d200b Fix MSAA being broken in forward (UE-166561).
#rb Rob.Srinivasiah
#jira UE-166561
[REVIEW] [at]Robert.Srinivasiah
#preflight 63447fd57045f13c96dd35d8

[CL 22459541 by arciel rekman in ue5-main branch]
2022-10-11 12:10:08 -04:00
ola olsson
97954ce075 Added project setting to disable per-object translucency shadows (off by default)
#jira UE-157672
#rb Sebastien.Hillaire,Krzysztof.Narkowicz
#preflight 633ad42eef77394565fe472d

[CL 22305618 by ola olsson in ue5-main branch]
2022-10-03 11:35:41 -04:00
florin pascu
b1727769aa - More than one PreviewPlatform can now use the same ShaderPlatforms
- Clean up temporary fix
- Modify UpdatePreviewPlatforms to only restrict DDSPI properties and not enable them if the preview platform doesn't have them on
#jira UE-164781
#rb Jack.Porter, Carl.LLoyd
#preflight 633608a0936ff7e3dcd02a97

[CL 22264284 by florin pascu in ue5-main branch]
2022-09-30 01:41:52 -04:00
yuriy odonnell
a7230698dd Fix spelling Plaform -> Platform
#rb Mihnea.Balta
#preflight 6335d35af76de2d4d561dbec

[CL 22263180 by yuriy odonnell in ue5-main branch]
2022-09-30 00:47:45 -04:00