Commit Graph

20 Commits

Author SHA1 Message Date
Mike Fricker
114458bf0f Clang warning fixes: Fixed missing 'override' specifiers
- Also removed some unreferenced functions that adding 'override' revealed

PR #1002 -- Thank you, Omar007!

[CL 2498415 by Mike Fricker in Main branch]
2015-04-01 07:20:55 -04: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
Rolando Caloca
d8a576970e UE4 - Remove Color parameter on draw events (DEC_*)
[CL 2334566 by Rolando Caloca in Main branch]
2014-10-20 10:43:43 -04:00
Gil Gribb
598cbb659c UE4 - allow draw events to work in parallel rendering, some flush tweaks
[CL 2293700 by Gil Gribb in Main branch]
2014-09-11 09:38:38 -04:00
Eric Newman
4177fb347e Weekly merge of UE4-Fortnite-To-UE4 using CL# 2271452
[CL 2276663 by Eric Newman in Main branch]
2014-08-28 16:05:15 -04:00
Graeme Thornton
df9dbd5ae3 Continued in-editor mobile preview work
- Removed default shader platform parameter from GetGlobalShaderMap()
 - Added an inline overload of GetGlobalShaderMap() that takes a feature level instead, and translates to the correct shader platform
 - Cached feature level on FSceneView for faster access
 - Cached shader map on FViewInfo for faster access
 - Cached featurelevel/shadermap on rendering composition graph execution context, for faster access

Fixed a couple of crashes when switching feature level dynamically
 - Needed to allow certain shader permutations to be generated if feature level was ES2, but still on a PC platform. (i.e. hitproxy shaders, and basepass shaders used by editor primitives system)

#codereview Nick.Penwarden

[CL 2275937 by Graeme Thornton in Main branch]
2014-08-28 06:22:54 -04:00
Mikolaj Sieluzycki
cfaf45ac58 Header cleanup: Engine module, public headers.
[CL 2265766 by Mikolaj Sieluzycki in Main branch]
2014-08-21 06:03:00 -04:00
Brian Karis
c92cada80f Fixed indirect lighting scale in tiled deferred.
[CL 2235098 by Brian Karis in Main branch]
2014-07-28 18:01:27 -04:00
Gil Gribb
1d50eae0de UE4 - rework RHI user-facing APIs to be safer and incorporate the desired sematics
[CL 2119499 by Gil Gribb in Main branch]
2014-06-27 11:07:13 -04:00
Brian Karis
29c87eafd7 Added clear coat shading model. Fixed incorrect reflection capture filtering.
Needs some clean up still. Standard deferred reflections not implemented yet. Tiled deferred reflections needs some optimization. ClearCoat and ClearCoatRoughness needs to be exposed to the material editor.

[CL 2118481 by Brian Karis in Main branch]
2014-06-26 16:40:05 -04:00
Brian Karis
1eda5e2e8d Moved FMaterialShaderto renderer public so slate can access it.
[CL 2115613 by Brian Karis in Main branch]
2014-06-24 14:37:21 -04:00
Gil Gribb
3de6028e86 UE4: Rearrange RHICmdList toward non-null cmd lists and the final "look"
[CL 2100216 by Gil Gribb in Main branch]
2014-06-10 07:29:49 -04:00
Gil Gribb
fa7226b8fe UE4 - merge first pass at parallel rendering to main
[CL 2095959 by Gil Gribb in Main branch]
2014-06-05 16:38:54 -04:00
Graeme Thornton
e1700afed8 First pass of changes to remove GRHIFeatureLevel, allowing for multiple scenes with different feature levels to exist. First step towards dynamic mobile preview in the editor.
#ttp 331829 - Mobile Preview in Editor
#proj Engine
#branch UE4

#summary First pass of changes to remove GRHIFeatureLevel, allowing for multiple scenes with different feature levels to exist. First step towards dynamic mobile preview in the editor.

#change Added GMaxRHIFeature level which contains the highest supported feature level on this machine
#change Added a cvar "r.FeatureLevelPreview" which, when set to 1, enables a feature level selection in the quick settings menu. Not wired up to anything at the minute
#change Added a feature level variable to FScene, which is currently initialized to whatever GRHIFeatureLevel is. Accessed with GetFeatureLevel()
#change Added a helper accessor GetFeatureLevel() to FSceneView which gets the feature level from the relevant scene. Purely to reduce the amount of typing needed to get to a feature level
#change Many changes across the renderer to try and read the current feature level from the view or scene. Not everything is done yet, but this is almost all of the "easy" stuff. As there is still just a global feature level in the engine, nothing should change.

[CL 2066905 by Graeme Thornton in Main branch]
2014-05-08 09:05:50 -04:00
Martin Mittring
3d0bac45ef * optimized RenderTarget usage, optimized out a pass for TileDeferredLighting, one less consumer for LightAccumulation
[CL 2066120 by Martin Mittring in Main branch]
2014-05-07 17:31:43 -04:00
Martin Mittring
053fe2093a * minor cleanup
[CL 2065924 by Martin Mittring in Main branch]
2014-05-07 15:05:54 -04:00
Martin Mittring
cab1e8ac99 * reduce complexity
[CL 2065903 by Martin Mittring in Main branch]
2014-05-07 14:50:52 -04:00
Joe Tidmarsh
ab12e1568d Particle lights now work with camera offset (per-view).
#branch UE4
#proj Engine, Renderer

#add Created a class FSimpleLightPerViewEntry and relocated the positional vector from FSimpleLightEntry.
#add Created FSimpleLightArray which contains a FSimpleLightEntry and FSimpleLightPerViewEntry TArray - this is just so to keep function parameter lists uncluttered when passing the data around.
#change ViewFamily is now passed to GatherSimpleLights and GatherParticleLightData allowing us to calculate the camera offset for each view. This also allows for future additions that are view-dependant.
#change Camera offset is calculated in GatherParticleLightData for each view. When camera offset isn't enabled FSimpleLightPerViewEntry is shared for all views in order to save memory

[CL 2062006 by Joe Tidmarsh in Main branch]
2014-05-02 05:48:07 -04:00
Joe Tidmarsh
c489d646df #ttp 316639 - UE4: RENDERING: DrawDenormalizedQuad should reuse static index and vertexbuffer
#summary UV offsets are now correctly calculated. This was previously blocking shadow game

[CL 2039548 by Joe Tidmarsh in Main branch]
2014-04-23 17:26:59 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00