Commit Graph

104 Commits

Author SHA1 Message Date
dmitriy dyomin
5708eba80d Re-submitting CL# 22943247 + 22944158, with a missing shader permutation fix
#rb none
#preflight 63671896ed07daaa9a400028

[CL 23003615 by dmitriy dyomin in ue5-main branch]
2022-11-05 22:30:22 -04:00
thomas ross
ea6e291bb2 Manual backout of changelists 22943247 AND 22944158 to fix Vulkan rendering.
#rb none
#tests preflight Android Test client
#preflight 636574f3581dc906bcf83d57
[FYI] Peter.Sauerbrei, Allan.Bentham, dmitriy.dyomin

[CL 23000219 by thomas ross in ue5-main branch]
2022-11-04 23:38:17 -04:00
wei liu
1628fb7fda Render movable skylight in a separate render pass on mobile deferred.
#jira none

#rb @Dmitriy.Dyomin
#preflight 6360d7eace68f7cbb67277e4

[CL 22878430 by wei liu in ue5-main branch]
2022-11-01 04:31:44 -04:00
dmitriy dyomin
80bf143fd0 Propertly filter out shading models field in UMaterial according to a current shader platform
[CL 22619929 by dmitriy dyomin in ue5-main branch]
2022-10-19 03:05:41 -04:00
wei liu
976b48232f Fix stationary local lights missing static shadow on mobile.
#UE-166949

#rb [at]Dmitriy.Dyomin
#preflight 634ccd137927b1ca3170f658
#lockdown Jack.Porter

[CL 22558304 by wei liu in ue5-main branch]
2022-10-17 04:43:06 -04:00
Sebastien Hillaire
4640dbcebe Renamed TPT_Transluceny enum for consistency.
Follow up from https://p4-swarm.epicgames.net/reviews/21888399
#rb none
#preflight https://horde.devtools.epicgames.com/job/6346a1748d665d55d0371e1d
#fyi charles.derousiers

[CL 22476790 by Sebastien Hillaire in ue5-main branch]
2022-10-12 07:30:14 -04:00
kenzo terelst
ee56085de5 - ComputeMeshFillMode doesn't require MeshBatch as parameter
- MeshPassProcessor create function takes feature level as create parameter
- MeshPassProcessor base stores the processor enum type (handy for reference and stat tracking per pass type)
 When pass enum value is not available then EMeshPassType::Num is used for now

#jira UE-139584
#rb Jason.Nadro, Mihnea.Balta, Zach.Bethel, Arciel.Rekman
#preflight 631b30f1304480f8f89fca35

[CL 21987972 by kenzo terelst in ue5-main branch]
2022-09-13 14:04:12 -04:00
dmitriy dyomin
5c22f93383 Properly filter out shading models for a mobile deferred shading
[CL 21986782 by dmitriy dyomin in ue5-main branch]
2022-09-13 13:23:22 -04:00
dmitriy dyomin
ff473f946d Skip caching MobileBasePassCSM commands when deferred shading is enabled
#ROBOMERGE-AUTHOR: dmitriy.dyomin
#ROBOMERGE-SOURCE: CL 21439762 via CL 21439765 via CL 21439796 via CL 21439807
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v981-21435820)

[CL 21440281 by dmitriy dyomin in ue5-main branch]
2022-08-18 08:05:22 -04:00
dmitriy dyomin
220be7e0f9 Fixed: Water textures fail to render on mobile
#rb none

#ROBOMERGE-OWNER: dmitriy.dyomin
#ROBOMERGE-AUTHOR: dmitriy.dyomin
#ROBOMERGE-SOURCE: CL 20981278 via CL 20981307 via CL 20981311
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 20984476 by dmitriy dyomin in ue5-main branch]
2022-07-07 11:29:36 -04:00
dmitriy dyomin
dd061a0b68 Mobile: Make clustered lights and reflections optional for translucency when deferred shading is enabled
[FYI] wei.liu

#ROBOMERGE-OWNER: dmitriy.dyomin
#ROBOMERGE-AUTHOR: dmitriy.dyomin
#ROBOMERGE-SOURCE: CL 20964670 via CL 20964684 via CL 20964740
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 20965531 by dmitriy dyomin in ue5-main branch]
2022-07-06 09:05:15 -04:00
Dmitriy Dyomin
e4199ed4c4 Store depth target when capturing SceneDepth
Correctly select permutation without CSM for single layer water material on mobile
#rb none
#preflight 62c01c7b8d5e6787595c2083
#robomerge emt

[CL 20925853 by Dmitriy Dyomin in ue5-main branch]
2022-07-02 06:38:06 -04:00
zach bethel
34623f0321 Replaced thread-local MemStack with ConcurrentLinearAllocator across the renderer.
- Removed scene render mem-mark among others. MemStack usage is now restricted to local scopes with known marks.
 - Render resources with destructors are allocated using the FSceneRenderingBulkObjectAllocator on FSceneRenderer, which is deleted when the scene render is.

#preflight 62b266e20d4d6228de97babe
#rb mihnea.balta, yuriy.odonnell

[CL 20907647 by zach bethel in ue5-main branch]
2022-06-30 19:55:24 -04:00
Wei Liu
72cb7559c9 Implement proper support for togglable stationary direct lighting on mobile and delete 'bake stationary as static' path.
This change makes HQ and LQ lightmaps to have unified lighting content and now they differ only in encoding.

#jira UE-154008, UE-151380

#rb Dmitriy.Dyomin, Yujiang.Wang
#preflight 62b5270d0a3bb5ca13d79900

[CL 20806454 by Wei Liu in ue5-main branch]
2022-06-23 23:24:24 -04:00
Dmitriy Dyomin
038d909044 Support shading models for mobile deferred path when static lighting is disabled
#rb wei.liu
#jira none
#preflight 627b5f586842238976719cc3

[CL 20134438 by Dmitriy Dyomin in ue5-main branch]
2022-05-11 03:17:42 -04:00
Dmitriy Dyomin
9df93068de Remove obsolete mobile base pass parameters
#jira none
#preflight 6266488ad80b06866cb2b75b
#rb wei.liu

[CL 19899039 by Dmitriy Dyomin in ue5-main branch]
2022-04-25 03:36:53 -04:00
Wei Liu
2be82d909c Fix a bug of depthAux corruption on mobile opengl.
#jira UE-145101

#rb Dmitriy.Dyomin
#preflight 62629916d929bc34a3269fb2

[CL 19863137 by Wei Liu in ue5-main branch]
2022-04-22 08:07:57 -04:00
Dmitriy Dyomin
f819c89c21 Support shading models in a mobile deferred shading path. Disabled by default
Requrements:
iOS: A8+
Android VK: more than 4 color attachements, more than 4 input attachments
Android GL: Unsuported - PLS seem to be limited to 128bits on most devices
#rb wei.liu
#preflight 625f866b9c09ef439db7612b

[CL 19861367 by Dmitriy Dyomin in ue5-main branch]
2022-04-22 01:15:27 -04:00
Wei Liu
04d7580d62 Clustered local lights and reflections are supported on mobile forward and deferred.
Local light shadows are supported on mobile forward and deferred, need to enable full depth prepass to generate the ShadowMaskTexture.

Remove the 4 maximum local lights limitation on mobile forward.

Remove the "High Quality Reflection" on mobile forward.

Disable simple lights on mobile forward.

#jira UE-149064

#rb Dmitriy.Dyomin

#preflight 625d17da772cf82d3a6059a6

[CL 19784597 by Wei Liu in ue5-main branch]
2022-04-18 09:09:40 -04:00
Dmitriy Dyomin
a591abf5a6 Added lighting channels support for mobile deferred shading
#rb wei.liu
#preflight 625506ac460d9cb610b9660b

[CL 19735357 by Dmitriy Dyomin in ue5-main branch]
2022-04-13 01:56:42 -04:00
dmitriy dyomin
6c7bb51f6f Fixed: Android Package for TM-Shadermodels crashes on launch with Global Clip Plane enabled
#jira UE-141929
#rb jack.porter
#preflight 621f3ef73e14f0c7e568c601

#ROBOMERGE-AUTHOR: dmitriy.dyomin
#ROBOMERGE-SOURCE: CL 19219526 in //UE5/Release-5.0/... via CL 19219564
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19227381 by dmitriy dyomin in ue5-main branch]
2022-03-02 15:20:01 -05:00
jack porter
ac87efeae3 Added mobile shader permutation cvar to support bSupportStaticLighting=true with Force No Precomputed Lighting enabled on a level
#jira UE-143323
#rb Dmitriy.Dyomin
#preflight 6215ffcd9e113332ba5998e1
#preflight 621632a8bd3bdd9086d2f5f8


#ROBOMERGE-AUTHOR: jack.porter
#ROBOMERGE-SOURCE: CL 19089743 via CL 19092602 via CL 19094313 via CL 19095775 via CL 19101841
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19141863 by jack porter in ue5-main branch]
2022-02-25 00:10:44 -05:00
zak middleton
36c99f6887 #ue5 - LWC: FVector4f <-> FVector4d conversion is now explicit.
FLinearColor has also been modified to make any double->float conversions explicit. Previously all 3D TVector versions were allowed to be implicit and thus could convert TVector<double> => FLinearColor => TVector4<float>.

Fixed up all engine and game casts. Added "//LWC_TODO: precision loss" around any explicit casts that previously were silently explicit and we may need to revisit for precision loss analysis.

#jira UE-122085
#rb Ben.Ingram, Andrew.Davidson
#preflight 61f24af473238441cb7bb0f1

#ROBOMERGE-AUTHOR: zak.middleton
#ROBOMERGE-SOURCE: CL 18751249 in //UE5/Release-5.0/... via CL 18751253 via CL 18751319
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18751326 by zak middleton in ue5-main branch]
2022-01-27 03:30:41 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
wei liu
a36d432240 Force mobile dynamic pointlight to use static branch.
#jira UE-131469

#rb Dmitriy.Dyomin

#p4v-preflight-copy 17870962

#ROBOMERGE-AUTHOR: wei.liu
#ROBOMERGE-SOURCE: CL 17883009 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v883-17842818)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0

[CL 17883020 by wei liu in ue5-release-engine-test branch]
2021-10-21 05:35:48 -04:00