Commit Graph

13 Commits

Author SHA1 Message Date
Ben Marsh
4cb383cad7 Fix Clang warnings due to reordered variables.
#codereview Rolando.Caloca

[CL 2508235 by Ben Marsh in Main branch]
2015-04-10 08:39:28 -04:00
Daniel Wright
6a2bc9ab1a Stationary lights with many unbuilt objects now fall back to CSM on a frame by frame basis
* This fixes the bug where many unbuilt interactions during registration would get corrected by blueprint construction scripts but the stationary light would continue to think it was built

[CL 2496244 by Daniel Wright in Main branch]
2015-03-30 17:38:39 -04:00
Nick Penwarden
dda46ff68e Fix a few issues with self-shadow only.
1) Preshadows for self-shadow only primitives now correctly mask by the receiver and not the subject.
2) Self-shadow only objects are no longer included in whole scene shadows (view dependent whole scene shadows already worked).

#codereview Martin.Mittring,Daniel.Wright

[CL 2436763 by Nick Penwarden in Main branch]
2015-02-07 11:26:51 -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
Rolando Caloca
29c68f2eec UE4 - Cascaded shadow maps on mobile/forward
* Still disabled as Metal requires a horrible workaround/hack
* Remove GSupportsGSRenderTargetLayerSwitchingToMips workaround

[CL 2295640 by Rolando Caloca in Main branch]
2014-09-12 17:21:49 -04:00
Rolando Caloca
db3a94f08e UE4 - Remove Feature Level SM3 & replace it with ES 3.1.
- Fixes up the featurelevel switch on material nodes to default all ES2 inputs to also occur on ES3.1

[CL 2286623 by Rolando Caloca in Main branch]
2014-09-05 15:06:43 -04:00
Allan Bentham
3ec17f4d49 Enable Hit proxy with ES2 emulation.
ES2 emulation 'ShouldCache' hit proxy shaders.
Add static meshes to hitproxy drawing policy factory
Moved RenderHitProxies implementation out of FDeferredShadingSceneRenderer scope and split in to two so classes derrived from FSceneRenderer can call their respective InitViews(RHICmdList); in the correct place.

[CL 2235617 by Allan Bentham in Main branch]
2014-07-29 05:34:29 -04:00
Gil Gribb
e672c20150 UE4 - more command list work, remove a few GetImmediateCommandList calls from the FBasePassForwardOpaqueDrawingPolicyFactory pipe
[CL 2125121 by Gil Gribb in Main branch]
2014-07-02 14:29:01 -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
Graeme Thornton
d85e5b81b9 Mobile editor changes:
- FeatureLevelPreview menu option now instructs world to switch feature level. This triggers our WIP switching code which works a bit...
- Converted a few more GRHIFeatureLevel references over to point at the nearest convenient scene/sceneview
- Made GetRHIFeatureLevel a non-inlined function (breakpoints wouldn't stop on the inlined version) and #define'd GRHIFeatureLevel to point at the GMaxRHIFeatureLevel (i.e. back to old behaviour)
- Changes to FSystemTextures so that the global object gets initialized in a stack-y kind of way. You initialize at a feature level and it creates all textures needed up to that point. Subsequent initializes at a higher feature level will allocate the new ones needed but not the existing ones. Only behaviour change from this is that there was a single 1x1 texture created only for ES2 that I just let get created for every feature level to keep the "feature level stack" nature of things.

[CL 2089519 by Graeme Thornton in Main branch]
2014-05-30 07:57:21 -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
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00