PostProcess material should only copy the view portion of the rendertarget texture rather than the entire thing.
#jira UE-85935
#rb zach.bethel
#lockdown cristina.riveron
#ROBOMERGE-SOURCE: CL 11073814 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v637-11041722)
[CL 11074807 by steve smith in Main branch]
[FYI] zach.bethel
#ROBOMERGE-SOURCE: CL 10991193 via CL 10991209 via CL 10991212
#ROBOMERGE-BOT: (v633-10983880)
[CL 10991215 by dmitriy dyomin in Main branch]
#rnx
#rb none
#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)
[CL 10870549 by ryan durand in Main branch]
Updated the code which detects when it's possible to skip custom depth rendering on mobile to take into account the new "Enable Stencil Test" material flag. Also fixed a couple of issues with the OpenGL RHI:
* the post processing material writes directly to the backbuffer on mobile, but it's not possible to use that with a custom depth/stencil buffer on OpenGL. Added a hack in PostProcessMaterial to render to an intermediate buffer when that's the case and copy to the backbuffer at the end.
* glCopyImageSubData() doesn't like copying from a 2D texture to a renderbuffer on mobile, so made it use glBlitFramebuffer() when the bind targets are different (which happens when copying from a render target to the backbuffer)
#jira UE-80082
#rb dmitriy.dyomin rolando.caloca zach.bethel
[CL 9614432 by mihnea balta in 4.24 branch]
Replicated from CL# 7924370.
#rb none
#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 9279060 via CL 9279063
#ROBOMERGE-BOT: (v443-9013191)
[CL 9279836 by steve robb in Main branch]
When applying PPM and we must prime the RT, check if CopyResource() is unavailable due to format conversion. If so use copy pixel shader.
#RB: Brian.Karis, Guillaume.Abadie
#Jira: 178059
#ROBOMERGE-SOURCE: CL 6638136 via CL 6641497
#ROBOMERGE-BOT: (vundefined-6620334)
[CL 6641687 by zabir hoque in Main branch]
Do not flip Y axis on any pass that can be used as input for post process material.
flip Y axis only on final tonemapper or after tonemapper post process material stage.
#rb Dmitriy.Dyomin
#ROBOMERGE-SOURCE: CL 6426212 via CL 6426213 via CL 6426335
[CL 6426338 by allan bentham in Main branch]
Remove assumption from SceneTextureLookup that mobile only deals with viewsize == buffersize case.
Corrected default UV values for SceneTextureLookup.
Corrected material UVs.
#jira UE-71898
#jira UE-69918
#rb ryan.vance
#lockdown cristina.riveron
#ROBOMERGE-OWNER: allan.bentham
#ROBOMERGE-AUTHOR: allan.bentham
#ROBOMERGE-SOURCE: CL 5536485 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 5537203 by allan bentham in Main branch]
#Jira: FORT-157096
[FYI] Chris.Bunner, Marcus.Wassmer
#ROBOMERGE-OWNER: zabir.hoque
#ROBOMERGE-AUTHOR: zabir.hoque
#ROBOMERGE-SOURCE: CL 5391596 via CL 5391601 via CL 5393138 via CL 5394682
[CL 5394838 by zabir hoque in Main branch]