Commit Graph

25 Commits

Author SHA1 Message Date
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
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
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
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
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
Graeme Thornton
74f9da32d7 Mobile Preview - Removing GRHIShaderPlatform
#codereview Nick.Penwarden

[CL 2321148 by Graeme Thornton in Main branch]
2014-10-07 08:46:39 -04:00
Niklas Smedberg
bb8f417304 Support for OpenGL ES 3.1 + Android Extension Pack
[CL 2303212 by Niklas Smedberg in Main branch]
2014-09-18 17:49:40 -04:00
Allan Bentham
e44536f6fd ES2 preview - ES2 post process path deals with sub rectangles of render targets.
#codereview nick.penwarden,graeme.thornton

[CL 2300919 by Allan Bentham in Main branch]
2014-09-17 09:30:48 -04:00
Graeme Thornton
ff5e71eb16 WIP Mobile Preview
- Store global bitfield of active feature levels
 - Generate shaders for all active feature levels
 - Add option to experimental settings to enable dynamic feature level
 - Redirect GRHIFeatureLevel to GMaxRHIFeatureLevel - Effectively const now, ready to be removed

[CL 2296373 by Graeme Thornton in Main branch]
2014-09-13 10:47:14 -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
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
Timothy Lottes
7b39dd523b Hopefully this will fix MSAA for Zen.
[CL 2267881 by Timothy Lottes in Main branch]
2014-08-22 16:40:39 -04:00
Timothy Lottes
ae3bfe902c PC emulation of mobile MSAA works correctly.
[CL 2267858 by Timothy Lottes in Main branch]
2014-08-22 16:25:40 -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
Graeme Thornton
bcde0d05c2 Mobile Preview
* More removal of GRHIFeatureLevel and GRHIShaderPlatform

[CL 2262530 by Graeme Thornton in Main branch]
2014-08-19 10:41:34 -04:00
Timothy Lottes
9a03656c7f First half of getting r.MobileMSAA working with reversible tonemap.
[CL 2258354 by Timothy Lottes in Main branch]
2014-08-15 16:23:58 -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
Gil Gribb
bc7c8cbca8 UE4 - more work preparing for parallel rendering. Merged the cmd list into the post process context, among other things.
[CL 2103040 by Gil Gribb in Main branch]
2014-06-12 07:13:34 -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
Martin Mittring
49f3e122f4 * refactored code to be in onle place only
* optimized setting shader param

[CL 2056844 by Martin Mittring in Main branch]
2014-04-25 17:56:19 -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