Commit Graph

12 Commits

Author SHA1 Message Date
jeremy moore
925a8fe75c Fix some items rendering to a separate velocity pass when base velocity pass is used with r.SelectiveBasePassOutputs.
This logic took primitives with a material using static lighting and moved velocity writing to a second pass.
Seems like that is some old behavior and after asking around it isn't well known why we had it.
Anyway it's not good to pay the cost of that second pass, so removing that.
#preflight 628fd8f574630984fd4d4464

#ROBOMERGE-AUTHOR: jeremy.moore
#ROBOMERGE-SOURCE: CL 20392160 via CL 20392172 via CL 20392182
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20398501 by jeremy moore in ue5-main branch]
2022-05-27 16:44:41 -04:00
jeannoe morissette
a0467e223d VulkanRHI: Allow MOBILE_EMULATION to be defined in VULKAN_PROFILE shaders. Fixes gizmo not appearing when using VulkanRHI for Android emulation (alpha channel wasn't being set correctly for composite pass).
#rb Dmitriy.Dyomin
#jira UE-146901
#preflight 625d830748670f31a6200bb9

[CL 19786154 by jeannoe morissette in ue5-main branch]
2022-04-18 11:39:35 -04:00
charles derousiers
0195d6b7aa Add OIT per-pixel sorting support for translucent material
This technique is guarded with by a projected settings. It is currently only supported on PC Dx12. This is the initial step for fine grain/per-pixel sorting.

#rb sebastien.hillaire
#jira none
#preflight 623a1884bc1cf2803867d8f8

[CL 19470340 by charles derousiers in ue5-main branch]
2022-03-22 15:06:48 -04:00
Charles deRousiers
a02d41c4ee Renamed PROJECT_STRATA into STRATA_ENABLED.
This avoids to define STRATA_ENABLED as 'env. define' for all global shaders needing a Strata specific path.

#rb none
#jira none
#fyi sebastien.hillaire
#preflight 62151b25797dbbeb472ae2eb

[CL 19074999 by Charles deRousiers in ue5-main branch]
2022-02-22 12:35:58 -05:00
Sebastien Hillaire
7c6830b98e Strata - new blending mode.
- works for starta and legacy conversion material
- legacy converted to strata setup the strata blending mode
- strata material also affect legacy blending mode because it is used in multiple places in the engine.
- works for lit and unlit legacy material
- to be fixed:
    - lit with premultiplied alpha
    - materials with multiple shading models

#preflight https://horde.devtools.epicgames.com/job/6214893c3577e44741abf99f
#rb charles.derousiers

[CL 19069633 by Sebastien Hillaire in ue5-main branch]
2022-02-22 02:26:20 -05:00
yangke li
1731093fe0 Add a Mobile friendly RVT MaterialType BaseColor_Normal_Roughness with basecolor in RT0, NormalXY and roughness in RT1, NormalZ is considered always a positive number( which is the situation for local space normal)
Add A  flag bUseLowQualityCompression to BaseColor_Normal_Roughness, which fakes compression by 16bit format(RGB565)

#rb Dmitriy.Dyomin

[CL 16977982 by yangke li in ue5-main branch]
2021-07-27 22:06:06 -04:00
christopher waters
f021025f6c Removing more Tessellation specific code from shaders.
#jira UE-94564
#rb juan.canada
#preflight 607858ee06b89e00018f4ac1

[CL 16023291 by christopher waters in ue5-main branch]
2021-04-15 13:04:25 -04:00
Sebastien Hillaire
75923c9dce Fixed trata colored translucency du to a recent change.
#fyi John.hable

[CL 14868864 by Sebastien Hillaire in ue5-main branch]
2020-12-07 06:03:54 -04:00
john hable
1193bd49d8 Cleaning up derived defines.
#rb none
#fyi sebastien.hillaire

[CL 14857781 by john hable in ue5-main branch]
2020-12-04 15:36:00 -04:00
john hable
9c4f82a4cb Fixing thin translucent rendering.
#jira uesp-4036
#rb sebastian.hillaire

[CL 14856023 by john hable in ue5-main branch]
2020-12-04 13:26:04 -04:00
Sebastien Hillaire
ad7877041a Auto MSM/Domain set from graph for volumetric and unlit.
Added strata shading model as material info to infor domain/blend/MSM.
This work with material function and material layer.
Added unlit node and shader support for it.

#rb Charles.deRousiers.

[CL 14826806 by Sebastien Hillaire in ue5-main branch]
2020-12-01 03:43:19 -04:00
john hable
5f3ff39aed First major checkin for flexible GBuffer.
#rb kevin.ortegren, arciel.rekman

[CL 14547614 by john hable in ue5-main branch]
2020-10-22 14:41:45 -04:00