Commit Graph

1296 Commits

Author SHA1 Message Date
patrick kelly
432bd01a85 Cherry-pick 7308853
Disable normal-culling when casting a shadow ray from geometry with hair material.
Use proxy light direction and hair tangent direction to reconstruct a plausible normal for ray biasing.

#rb none
[FYI] charles.derousiers
#jira ue-77320

#ROBOMERGE-SOURCE: CL 7311835 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7311839 by patrick kelly in Main branch]
2019-07-15 16:23:21 -04:00
patrick kelly
b91d50ce55 Cherry-pick 7296040
Decouples sample generation from ray traversal in the SkyLight pass.

Created GenerateSkyLightVisibilityRays compute shader. We leverage the QuasiRandom sequence and infinite light properties of SkyLight to cache importance-sampled ray directions for the RayTracingSkyLight ray generation shader. This amounts to noticeable performance improvement without observable increases in variance.

r.RayTracing.SkyLight.DecoupleSampleGeneration (default = 1): decouples sample generation from ray traversal.

#rb none
#jira ue-77255

#ROBOMERGE-SOURCE: CL 7298111 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v370-7290619)

[CL 7298133 by patrick kelly in Main branch]
2019-07-12 18:26:25 -04:00
zach bethel
bbd1ecffe4 Simplify and validate instanced static mesh vertex factory creation to mitigate and catch rare crash.
#jira UE-75924
#rb Zabir.Hoque

#ROBOMERGE-SOURCE: CL 7263692 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v369-7254125)

[CL 7263698 by zach bethel in Main branch]
2019-07-10 13:54:41 -04:00
dmitriy dyomin
8ed8d4a342 Fixed: Bloom artifacts on newer Apple GPUs
#jira UE-70326
#rb none

#ROBOMERGE-SOURCE: CL 7247711 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7247712 by dmitriy dyomin in Main branch]
2019-07-09 07:20:39 -04:00
uriel doyon
09843ea46f Fixed StationaryLightOverlap viewmode in forward shading, by ignoring the shadermodel test, since it is not available in forward.
#rb rolando.caloca
#jira UE-43956

#ROBOMERGE-SOURCE: CL 7231988 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7231990 by uriel doyon in Main branch]
2019-07-08 14:57:51 -04:00
sebastien lussier
ab0f0c0bfd Backout CL 7226803 as some issues have been reported with Slate.
#rnx none
#rb marcus.wassmer


#ROBOMERGE-OWNER: sebastien.lussier
#ROBOMERGE-AUTHOR: sebastien.lussier
#ROBOMERGE-SOURCE: CL 7228296 via CL 7231754
#ROBOMERGE-BOT: (v367-6836689)

[CL 7231779 by sebastien lussier in Main branch]
2019-07-08 14:42:08 -04:00
sebastien lussier
3ffe2a8e6b Improved the assignation of UV slots for custom interpolators.
- Now reusing unused slots instead of simply adding them after the last used slot.
- Also added missing calls to GatherExpressionsForCustomInterpolators()

#rb chris.bunner, jurre.debaare


#ROBOMERGE-OWNER: sebastien.lussier
#ROBOMERGE-AUTHOR: sebastien.lussier
#ROBOMERGE-SOURCE: CL 7226803 via CL 7227156
#ROBOMERGE-BOT: (v367-6836689)

[CL 7227160 by sebastien lussier in Main branch]
2019-07-08 09:42:23 -04:00
dmitriy dyomin
a559d4eb0d Fixed: The screen will be darker than other platforms(Android,PC/Mac preview) on IOS if both MSAA and MobileTonemapperFilm enabled
#jira UE-74688
#rb allan.bentham

#ROBOMERGE-SOURCE: CL 7226753 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7226754 by dmitriy dyomin in Main branch]
2019-07-08 07:18:34 -04:00
chris bunner
5563d8f875 Partially reverting CurveAtlas material expression Compile() behavior. The default data being used was compiling with legacy data from pre-refactor instead of respecting the actually selected curve. The change here restores re-evaluation of the curve during material translation.
[FYI] Lauren.Ridge


#ROBOMERGE-OWNER: chris.bunner
#ROBOMERGE-AUTHOR: chris.bunner
#ROBOMERGE-SOURCE: CL 7140845 via CL 7168305
#ROBOMERGE-BOT: (v367-6836689)

[CL 7168306 by chris bunner in Main branch]
2019-06-22 08:14:33 -04:00
ehartNV
7b73e7136b PR #5968: Ray Traced Shadow optimizations (Contributed by ehartNV)
#rb none
#jira UE-76677

#ROBOMERGE-SOURCE: CL 7153474 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7153475 by guillaume abadie in Main branch]
2019-06-21 14:47:14 -04:00
juan canada
710a78f725 Cherry-pick 7106785: Added an early out path to ray tracing material hit shaders. This is useful when tracing visibility rays against masked geometry, where closest hit shaders only need to fill the hit distance.
Added 8 bit flags field to the packed ray tracing payload.

#rb Patrick.Kelly
#jira UE-72029

#ROBOMERGE-SOURCE: CL 7112915 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7112917 by juan canada in Main branch]
2019-06-20 18:29:35 -04:00
juan canada
eab852f0f8 Cherry-pick 7104639: Forcing shadow-variant of CHS for visibility queries
#jira UE-76670
#rb patrick.kelly

#ROBOMERGE-SOURCE: CL 7112912 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7112913 by juan canada in Main branch]
2019-06-20 18:29:02 -04:00
juan canada
ec20d39bfd Cherry-pick 7096110: Parameterize DirectionalLight next-event ray to be consistent with other "infinite" rays
#jira UE-76669
#rb patrick.kelly

#ROBOMERGE-SOURCE: CL 7112609 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7112610 by juan canada in Main branch]
2019-06-20 17:30:38 -04:00
juan canada
8be6085049 Cherry-pick 7076127: Integrating with WorldPosition and ray bias changes
#jira UE-76669
#rb patrick.kelly, juan.canada

#ROBOMERGE-SOURCE: CL 7112587 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7112589 by juan canada in Main branch]
2019-06-20 17:29:36 -04:00
juan canada
4bd453b951 Cherry-pick 7076124: Integrate with CreatePrimaryRay
#jira UE-76669
#rb patrick.kelly,  juan.canada

#ROBOMERGE-SOURCE: CL 7112577 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7112578 by juan canada in Main branch]
2019-06-20 17:29:04 -04:00
juan canada
a2232d585e Cherry-pick 7076114: Adding methods for WorldPosition reconstruction, primary ray creation, and camera-relative depth biasing
#rb patrick.kelly,  juan.canada
#jira UE-76669

#ROBOMERGE-SOURCE: CL 7112569 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7112570 by juan canada in Main branch]
2019-06-20 17:28:01 -04:00
lauren ridge
3de8bb78be Fixing Atlas Curve expression to use parameters so it handles atlas resizing correctly
#rb Chris.Bunner
#rnx
[FYI] Marcus.Wassmer, Bryan.Rathman


#ROBOMERGE-OWNER: lauren.ridge
#ROBOMERGE-AUTHOR: lauren.ridge
#ROBOMERGE-SOURCE: CL 7068709 via CL 7102336
#ROBOMERGE-BOT: (v367-6836689)

[CL 7102359 by lauren ridge in Main branch]
2019-06-20 10:20:00 -04:00
guillaume abadie
14d0464f69 Cherry-pick 7097701: Fixes regression in SSGI
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 7097774 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7097783 by guillaume abadie in Main branch]
2019-06-19 18:44:37 -04:00
jeremy moore
92125f85fd #jira UE-76355
Fix texel offset in RTV compression
Integrated from //UE4/Dev-Rendering
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 7053491 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7053495 by jeremy moore in Main branch]
2019-06-17 16:22:15 -04:00
juan canada
7772c70e28 Fixed tonemapped ray tracing debug visualization modes should use preexposure
#jira UE-76051
#rb none

#ROBOMERGE-SOURCE: CL 7053421 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7053426 by juan canada in Main branch]
2019-06-17 16:15:35 -04:00
juan canada
e75e0392cf Cherry-pick 6980350: Fixed ray tracing debug modes where using pre exposure incorrectly
#jira UE-76051
#rb none

#ROBOMERGE-SOURCE: CL 7053280 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7053283 by juan canada in Main branch]
2019-06-17 16:00:08 -04:00
juan canada
1cf232db9d Cherry-pick 6956319: Add world position offset support for skeletal meshes
#jira UE-76389
#rb none

#ROBOMERGE-SOURCE: CL 7052748 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7052749 by juan canada in Main branch]
2019-06-17 15:42:30 -04:00
jeremy moore
540f456b67 #jira UE-76356
Remove unused height pins from RVT material nodes
Change default name of RuntimeVirtualTextureVolume actor
Integrated from //UE4/Dev-Rendering
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 7049434 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7049483 by jeremy moore in Main branch]
2019-06-17 14:20:02 -04:00
Marc Audy
8ba11eb5c1 Fix up inconsistencies between UE4/Main and Dev-EngineMerge
#rb
#rnx

[CL 7021692 by Marc Audy in Main branch]
2019-06-14 22:32:59 -04:00
dmitriy dyomin
bb946adc88 Add workaround for decal rendering artifacts (wireframes) on Android ES3.1 (Mali)
#jira UE-50971
#rb jack.porter


#ROBOMERGE-SOURCE: CL 6988107 via CL 6988200
#ROBOMERGE-BOT: (v367-6836689)

[CL 6988202 by dmitriy dyomin in Main branch]
2019-06-14 07:49:40 -04:00