Commit Graph

1652 Commits

Author SHA1 Message Date
Daniel Wright
d05993f885 Heightfield dynamic Global Illumination
* Enable with 'r.DistanceFieldGI 1' on console
* Surfel GI is currently disabled as it doesn't interop yet
* A GBuffer atlas is created for Landscape from components that can affect indirect lighting based on the current view
* Shadowing from a directional light is computed by reusing shadowmaps and ray tracing distance fields
* Lighting is computed for the atlas using GBuffer properties
* First bounce GI light transfer is computed for a receiver by iterating over all the nearby lit texels of the heightfield and treating them as Virtual Point Lights.  Two gather regions are used, the larger one skips through the heightfield to achieve a larger bounce distance.  Distance field AO is used to provide local shadowing.
* Material diffuse color not yet supported, and regions outside of the view don't have valid shadowing.

[CL 2436606 by Daniel Wright in Main branch]
2015-02-06 23:31:19 -05:00
Dmitry Rekman
aeee76ed0f Fix MessageBox not displaying long strings (UE-9176).
- Also added a test: ./TestPAL messagebox

[CL 2436275 by Dmitry Rekman in Main branch]
2015-02-06 18:12:42 -05:00
Chris Babcock
8f8e3a233b Fix for force feedback issue on Android
#ue4
#android

[CL 2436243 by Chris Babcock in Main branch]
2015-02-06 17:57:32 -05:00
Michael Trepka
12c3fa4380 Mac non unity fix
[CL 2435451 by Michael Trepka in Main branch]
2015-02-06 10:39:03 -05:00
Peter Sauerbrei
4dacbd6de3 limit the thread priority change to only the editor and not commandlets
[CL 2435346 by Peter Sauerbrei in Main branch]
2015-02-06 09:40:02 -05:00
Matthew Griffin
aa9bc64122 [INTEGRATE] Change 2427046 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_mac on 2015/01/31 10:22:50
Fix mac non-unity

[CL 2435284 by Matthew Griffin in Main branch]
2015-02-06 09:01:47 -05:00
Marcus Wassmer
54b72d314d Fix non-unity CIS
#codereview michael.trepka

[CL 2434335 by Marcus Wassmer in Main branch]
2015-02-05 17:31:42 -05:00
Matthew Griffin
9e9d61838b [INTEGRATE] Change 2426184 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_mac on 2015/01/30 14:48:19
Fix redraw crashes when resizing the editor on the Mac

[CL 2433483 by Matthew Griffin in Main branch]
2015-02-05 09:11:38 -05:00
Michael Troughton
b315132fdd Optimise FBoxSphereBounds::TransformBy( const FTransform& M ) by transforming the axes and taking the sum of absolutes, rather than transforming all 8 corners.
On my machine 1000000 iterations went from 0.927s to 0.154s. ~6x improvement.

[CL 2433374 by Michael Troughton in Main branch]
2015-02-05 06:25:02 -05:00
Max Preussner
b52b4c691e Core: better name for local variables (TypeContainer)
[CL 2432393 by Max Preussner in Main branch]
2015-02-04 16:23:10 -05:00
Josh Adams
80da23a271 - CIS fix
#codereview dmitry.rekman

[CL 2431748 by Josh Adams in Main branch]
2015-02-04 10:45:33 -05:00
Keith Judge
0fe0e93551 Fix FFeedbackContextWindows/XboxOne::YesNoF() to match the base declaration (caught with /W4).
[CL 2431695 by Keith Judge in Main branch]
2015-02-04 10:12:41 -05:00
Jaroslaw Palczynski
1478728d68 Missing update to DelegateHeaderTool after CL 2412156.
[CL 2431630 by Jaroslaw Palczynski in Main branch]
2015-02-04 09:15:39 -05:00
Keith Judge
f5bdf9c80e Fix a bunch of VS2012 compile errors.
[CL 2431557 by Keith Judge in Main branch]
2015-02-04 08:08:49 -05:00
Max Preussner
6cf5c07081 Fixing Mac compile error
[CL 2431204 by Max Preussner in Main branch]
2015-02-04 00:42:24 -05:00
Max Preussner
256933f5ab Merging using UE4-To-UE4-LauncherDev, up to CL 2431138
#CodeReview: carlos.cuello

[CL 2431178 by Max Preussner in Main branch]
2015-02-04 00:28:16 -05:00
Dmitry Rekman
91ba149c5d Improved handling content with case-sensitivity problems.
- Makes uncooked UT work on Linux.
- Still uncached and suboptimal.

(Merging CL 2431047 from UT branch to main)

[CL 2431096 by Dmitry Rekman in Main branch]
2015-02-03 22:15:10 -05:00
James Moran
32cb798fa3 Adding guards to prevent crashes when log files fail to open.
[CL 2429743 by James Moran in Main branch]
2015-02-03 07:28:37 -05:00
Dmitry Rekman
71fb48396a PR #776: Enable aligned memory access for Linux ARM builds.
- Contributed by dmahashin.

[CL 2428770 by Dmitry Rekman in Main branch]
2015-02-02 17:14:05 -05:00
Josh Adams
3c1105d270 - Removed bad NULL platform check [UE-8875]
[CL 2428472 by Josh Adams in Main branch]
2015-02-02 14:12:42 -05:00
Steve Robb
7a82ca2165 Allow TFunctions to be bound to TFunctions of another type (compatible by co-/contra-variance).
#codereview robert.manuszewski,max.preussner

[CL 2428164 by Steve Robb in Main branch]
2015-02-02 10:35:53 -05:00
Max Preussner
0ba0751c95 Core: TypeContainer cleanup pass; added support for registering factory functions
#CodeReview: justin.sargent

[CL 2427461 by Max Preussner in Main branch]
2015-02-01 12:58:48 -05:00
Zak Middleton
41eff649fe #ue4 - Fix for FastAsin() not returning 0 for input of 0, caused by mismatch of constants.
[CL 2426793 by Zak Middleton in Main branch]
2015-01-30 19:32:18 -05:00
Max Preussner
2574c21aa5 Added support for TSharedPtr<void>
[CL 2426697 by Max Preussner in Main branch]
2015-01-30 18:40:47 -05:00
Martin Mittring
ca69a0cf65 fixed warning message
[CL 2426027 by Martin Mittring in Main branch]
2015-01-30 12:28:49 -05:00