Commit Graph

99 Commits

Author SHA1 Message Date
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
Marcus Wassmer
511b53fcec CIS fix.
[CL 2506003 by Marcus Wassmer in Main branch]
2015-04-08 17:58:20 -04:00
Marcus Wassmer
a0682fd4e2 Support for new Morpheus HMD Server. Morpheus PC preview now works. TargetSettings must set Demo mode to 'Demo'.
Modifies postprocessing pipeline so that distortion is done on buffers scaled by ScreenPercentage.  Scaling up ScreenPercentage will now have a bigger effect on aliasing in the HMD.
Modifies headtracking to be driven by VBLank events rather than the render thread.  Reduces tracking loss.
#codereview Nick.Whiting,JJ.Hoesing

[CL 2505935 by Marcus Wassmer in Main branch]
2015-04-08 17:24:01 -04:00
Marcus Wassmer
59f7299ccf Fix screenpercentage on Morpheus
#codereview Lee.Clark,JJ.Hoesing

[CL 2500368 by Marcus Wassmer in Main branch]
2015-04-02 16:54:49 -04:00
Nick Penwarden
cdd212afcc Ensure the postprocess material node always falls back to the default postprocess material.
With existing code if you pass a material instance with no parent in it will always default to the default surface material.

#codereview Martin.Mittring

[CL 2495685 by Nick Penwarden in Main branch]
2015-03-30 11:04:47 -04:00
Marc Audy
7effd7ebec Shadow variable fixes
[CL 2469447 by Marc Audy in Main branch]
2015-03-04 17:45:56 -05:00
Brian Karis
e4f0bbc64c Motion blur: added max velocity scatter and dilation.
[CL 2459223 by Brian Karis in Main branch]
2015-02-24 16:28:47 -05:00