Commit Graph

76 Commits

Author SHA1 Message Date
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
Brian Karis
31f77e00ab New tile based motion blur with smooth gradients. WIP
[CL 2455618 by Brian Karis in Main branch]
2015-02-22 17:53:26 -05:00
Timothy Lottes
6ba17d4e50 Get motion vector inputs back into DOF temporal AA.
[CL 2450582 by Timothy Lottes in Main branch]
2015-02-18 14:37:44 -05:00
Marcus Wassmer
b8c80563ab Update Morpheus to SDK 2.0
#codereview nick.whiting,jj.hoesing

[CL 2447548 by Marcus Wassmer in Main branch]
2015-02-16 14:26:39 -05:00
Timothy Lottes
c6e27f005c Check in of prototype CircleDOF with Near DOF.
[CL 2436123 by Timothy Lottes in Main branch]
2015-02-06 17:14:45 -05:00
Martin Mittring
ec3a8067c8 minor fixed to get better visualize bloom
[CL 2424005 by Martin Mittring in Main branch]
2015-01-29 12:37:11 -05:00
Timothy Lottes
614932faa2 Adding a new experimental DOF algorithm called "CircleDOF".
This is work-in-progress and requires more work to get quality/perf up to par.
The "FocalDistance" controls the focal point, the "Scale" controls the how big the circle Bokeh gets (which is limited to small radius now).
There is no near DOF currently.

[CL 2421186 by Timothy Lottes in Main branch]
2015-01-27 17:42:51 -05:00
Martin Mittring
1093fba6c6 disabled lens flares when using visualize bloom
[CL 2420529 by Martin Mittring in Main branch]
2015-01-27 11:57:06 -05:00
Martin Mittring
1e3a70ce0d added another bloom stage for larger more efficient bloom
[CL 2419399 by Martin Mittring in Main branch]
2015-01-26 18:20:53 -05:00
Martin Mittring
1892915bc0 improved VisualizeBloom
fixed BloomScale (wasn't screen percentage, factor off by 4 and dependent on buffersize not viewport size

[CL 2419351 by Martin Mittring in Main branch]
2015-01-26 17:53:20 -05:00
Martin Mittring
24a642a935 improved visualize bloom
[CL 2418160 by Martin Mittring in Main branch]
2015-01-25 16:45:04 -05:00
Martin Mittring
08216250af added visualize blom showflag and shader, will be extended further
[CL 2418147 by Martin Mittring in Main branch]
2015-01-25 14:54:46 -05:00
Allan Bentham
4dc5582a40 Fix for UE-7660 - Grid in orthographic view becomes distorted in Preview Rendering Level ES2
- Forward renderer clears background color in editor mode.
- Remove TAA jitter from proj matrices after ES2 TAA post process completes. (allows stable rendering of editor primitives)
- Moved ES2 post process editor composite primitive pass to after tonemap. (fixes incorrect grid colour)
- Add opacity mask for editor prim materials to forward base pass shader. (fixes perspective grid rendering)
- Add Basic ES2 post process pass for !mobileHDR scenario, enabling editor's primitives to still be rendered.
- DrawNewGrid only bails out if the material it's about to use hasnt compiled. (allows ES2 to render 'texture solution' grid implementation)
- Prevent some view elements drawing 2x when ShowFlags.CompositeEditorPrimitives == true.

#codereview nick.penwarden

[CL 2413899 by Allan Bentham in Main branch]
2015-01-21 11:48:05 -05:00
Allan Bentham
2261741dcd fix for UE-7290
Editor primitives use forward basepass when ES2 feature level is active.

#codereview nick.penwarden

[CL 2404705 by Allan Bentham in Main branch]
2015-01-13 10:44:59 -05:00
Martin Mittring
a7fc8cd0cf added experimental r.Bloom/Cross feature to get more interestingly shaped bloom (for free, almost like anisomorphic lens flares)
[CL 2404165 by Martin Mittring in Main branch]
2015-01-12 20:35:04 -05:00
Martin Mittring
1b203b0aec fixed eyeadaptation if only VisualizeHDR is on
[CL 2400446 by Martin Mittring in Main branch]
2015-01-07 19:01:24 -05:00
Daniel Wright
57721a6245 Distance Field Global Illumination first working version
* Requires a Movable Skylight + 'r.DistanceFieldGI 1' + 'r.GenerateMeshDistanceFields' project setting enabled
* Provides a single bounce of Diffuse GI with bounce distance limited by OcclusionMaxDistance (default 6m)
* Virtual Point Lights are placed from the directional light by ray tracing the scene's distance fields, normal comes from SDF gradient
* Currently only placing 128*128 VPLs up to 40m from camera
* VPLs light irradiance cache samples using hemispherical disk light model, indirect shadowing is provided by the same cone traces used for Distance Field AO
* Irradiance is computed only at irradiance cache points (max every 8 pixels) and interpolated to the rest of the pixels
* Hardcoded half grey material color for now, and poor performance due to brute force VPL lighting

[CL 2390645 by Daniel Wright in Main branch]
2014-12-16 20:00:22 -05:00
Allan Bentham
cd3bd4840f ES2 post process will upscale if UnscaledViewRect is larger than ViewRect (which only occurs when using ES2 emulation).
Fixes UE-5594

#codereview nick.penwarden

[CL 2380312 by Allan Bentham in Main branch]
2014-12-08 09:45:54 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Allan Bentham
053049ef03 Allow ES2 post process chain to deal with view rectangle that doesn't encompass entire target.
Fixes issues caused by constrained aspect ratio cameras.
Fixes UE-5536
#codereview nick.penwarden

[CL 2371544 by Allan Bentham in Main branch]
2014-11-27 10:36:38 -05:00
Rolando Caloca
d7085db04c UE4 & 4.6 - Enable subsurface scattering for OpenGL
#codereview Martin.Mittring

[CL 2365497 by Rolando Caloca in Main branch]
2014-11-19 17:00:58 -05:00
Martin Mittring
0a738fe37d fixed UE-5588
Crash occurs enabling Show Visualize Subsurface Scattering (Screen Space)

[CL 2363947 by Martin Mittring in Main branch]
2014-11-18 16:19:36 -05:00
Graeme Thornton
e05d7a5ea4 Fix crash when using high resolution screenshot capture regions (UE-5288)
[CL 2358267 by Graeme Thornton in Main branch]
2014-11-13 04:51:52 -05:00
Martin Mittring
d1745571b1 fixed LDR SceneCaptureing after recent changes to CaptureEveryFrame (added State)
[CL 2353459 by Martin Mittring in Main branch]
2014-11-07 15:01:06 -05:00