Commit Graph

105 Commits

Author SHA1 Message Date
Marc Audy
e5bb9b4d0d Integrate all non-branch Engine/Source changes from //depot/UE4-Orion to //depot/UE4
#lockdown Ben.Marsh
#platformnotify Josh.Adams

[CL 2718236 by Marc Audy in Main branch]
2015-10-06 15:59:09 -04:00
Marcus Wassmer
445543fd51 First pass at new RHITransitionResources API.
Rendertarget transitions are completed and validated on DX11 and PS4 RHI's.

[CL 2700116 by Marcus Wassmer in Main branch]
2015-09-21 20:07:00 -04:00
Martin Mittring
8a3528036b missing changed from integration on shader optimization from Orion
[CL 2691187 by Martin Mittring in Main branch]
2015-09-14 20:08:14 -04:00
Martin Mittring
81a3824fa4 Changed default SamplerState anisotropy from 0 (use cvar setting) to 1 prevent accidential use of anisotropy which could cost performance and cause artifacts.
Other minor refactorings.

[CL 2688164 by Martin Mittring in Main branch]
2015-09-11 12:05:05 -04:00
Martin Mittring
542769d566 Missing optimization: disabled bloom if requested by post process setting
[CL 2687431 by Martin Mittring in Main branch]
2015-09-10 21:00:25 -04:00
Martin Mittring
f9682eeb4e prervent artifact that would happen with splitscreen and BloomThreshold <= -1
[CL 2686741 by Martin Mittring in Main branch]
2015-09-10 14:36:09 -04:00
Chris Bunner
97b19bfefe Added pre-tonemap 'HDR Color' to visualization modes and screenshot buffer dump. UE-19262
[CL 2659009 by Chris Bunner in Main branch]
2015-08-18 04:43:49 -04:00
Martin Mittring
990a6d2bda fixed UERNDR-75 The near depth of field blur should occur after separate translucency is merged in to the final frame buffer to avoid errors
We now occlude Separate Transluceny by new Gaussian DOF.

Details: optimized one full res pass if GaussianDOF with SeparateTranslucency is used. NearDOF is now occlusing/hiding SeparateTransluceny which allows DOFVignette to work better and it seems more right in general. If Far and Near DOF is used with Gaussian DOF it now requires another half res setup pass and full res composite pass.
Added enum to allow for 3 custom colors if a texture is not bound.

[CL 2656232 by Martin Mittring in Main branch]
2015-08-14 11:59:44 -04:00
Martin Mittring
f4c03a94f4 optimized Bloom, threshold pass is only needed if > -1
[CL 2653353 by Martin Mittring in Main branch]
2015-08-12 15:40:02 -04:00
Allan Bentham
edfe761f8f RGBA hdr encoding for devices without float16 surfaces (mali).
Enabled limited post processing when RGBA encoding is in use.
#codereview Jack.porter, Brian.Karis

[CL 2621594 by Allan Bentham in Main branch]
2015-07-15 06:39:44 -04:00
Martin Mittring
642151203b VisualizeDOF is now full res
[CL 2615253 by Martin Mittring in Main branch]
2015-07-09 12:09:33 -04:00
Martin Mittring
3d9128ef67 refactor CircleDOF code, improved VisualizeDOF
[CL 2615234 by Martin Mittring in Main branch]
2015-07-09 11:47:06 -04:00
Martin Mittring
f135e6b69c added r.CompositionGraphOrder, default is not changed
help text:
 Defines in which order the nodes in the CompositionGraph are executed (affects postprocess and some lighting).
 Option 1 provides more control, which can be useful for preserving ESRAM, avoid GPU sync, cluster up compute shaders for performance and control AsyncCompute.
  0: tree order starting with the root, first all inputs then dependencies (classic UE4, unconnected nodes are not getting executed)
  1: RegisterPass() call order, unless the dependencies (input and additional) require a different order (might become new default as it provides more control, executes all registered nodes

[CL 2612633 by Martin Mittring in Main branch]
2015-07-07 13:58:55 -04:00
Brian Karis
a8d3b0b57e Motion blur optimizations. Still in progress.
Fixed temporal aa with pause. Requires r.TemporalAAPauseCorrect 1.

[CL 2596308 by Brian Karis in Main branch]
2015-06-22 19:08:33 -04:00
Nick Whiting
cf15fcee4f #vr Integrating forward renderer stereo fixes
[CL 2592157 by Nick Whiting in Main branch]
2015-06-18 12:56:30 -04:00
Dmitry Rekman
59bcd9433c Fix Linux build.
#codereview Martin.Mittring

[CL 2591782 by Dmitry Rekman in Main branch]
2015-06-18 07:15:18 -04:00
Martin Mittring
5dde519bff added printout to make LPV debugging easier, also good to demonstrate Blendables (needed for docs)
[CL 2591323 by Martin Mittring in Main branch]
2015-06-17 21:26:13 -04:00
Gil Gribb
356a7d8f96 UE4 - Large upgrade to parallel rendering. No longer block per pass. Several RHI cmdlist passthrough functions added and implemented on the consoles
[CL 2570510 by Gil Gribb in Main branch]
2015-05-29 10:47:57 -04:00
Guillaume Abadie
8618cefbec Replaces cylindrical projection by Panini projection
#code_review: Martin.Mittring

[CL 2563671 by Guillaume Abadie in Main branch]
2015-05-22 19:44:45 -04:00
Martin Mittring
c0f53a6c1e Added first use of AsyncCompute of VelocityFlatten (Disabled by default, was enabled for GDC demo)
[CL 2545841 by Martin Mittring in Main branch]
2015-05-11 15:13:36 -04:00
Martin Mittring
5ade321069 Minor refactor to the CompositingGraph, allowing parts of the DAG/Graph to be executed before other parts which is useful for upcoming AsyncCompute or to control execution order in general.
API change: Dependency to root is is no longer needed, call Process() with the node directly.

[CL 2545660 by Martin Mittring in Main branch]
2015-05-11 13:36:07 -04:00
Brian Karis
a113290255 New tone mapper. ACES support. Color grading. White balance. Baked into 32x32x32 LUT.
[CL 2528951 by Brian Karis in Main branch]
2015-04-28 15:27:19 -04:00
Martin Mittring
02f760f8f0 cleanup
[CL 2523438 by Martin Mittring in Main branch]
2015-04-23 17:34:26 -04:00
Marcus Wassmer
0ba5c5f2e1 Merge Morpheus 120hz and reprojection support.
Also fixes for NGS2A3D

[CL 2521711 by Marcus Wassmer in Main branch]
2015-04-22 16:41:54 -04:00
Allan Bentham
40997e31dd Fix crash when 'r.MotionBlurNew' is active and FeatureLevel < ERHIFeatureLevel::SM5
[CL 2511574 by Allan Bentham in Main branch]
2015-04-14 09:03:46 -04:00