from CL2459480: ReflectionEnvironment is no longer a cheat CVAR and is available in shipping builds. If you set the cvar to 2 (debug visualization) then it will be assumed to be the same as 1 in shipping builds.
[CL 2651529 by Martin Mittring in Main branch]
GBufferResources were being used in TranslucentShadowDepthPS but not being set. They shouldn't be set as GBuffers aren't valid for this draw.
A similar issue occured a while ago in which the SceneTextureParameters were being used here and caused artefacts in the translucent shadows based on the SceneColor.
I avoided this by setting them to a dummy black texture. This approach won't work for the GBufferResources so I've removed that fix and gone about things differently.
The shader sets a define to have SceneTextureLookup() just return black.
This means the SceneTextures, nor the GBufferResources need be set at all for this draw.
[CL 2651076 by Simon Tovey in Main branch]
Consolidated the visible and hidden area meshes into a single class that can be used by all HMD clients
Some house cleaning
[CL 2648164 by Ryan Vance in Main branch]
Instead of rendering a full screen quad for post process passes, render a mesh which represents only the screen area visible in the HMD after distortion.
This cuts the cost of post processing ~10-15% with no visible difference.
Initial implementation for the Vive.
[CL 2644327 by Ryan Vance in Main branch]
//depot/UE4-Orion/...
to //depot/UE4/...
UE4 - rollup of many performance changes
* increased max threads for task graph and added a way to reduce task threads at runtime for testing the optimal number
* added a way to track excessive allocation at runtime without using the memory profiler: LogGameThreadMallocChurn.Enable
* ps4: fixed a few problems with the platform properties, IsRunningGame was returning false
* added inline storage for one delegate in multicast delegates
* fixed excessive allocation on the script stack traceback
* fixed excessive malloc calls throughout the animation system
* added stats throughout the animation system
* reworked parallel queue ticks
* fixed excessive malloc calls in cloth and physics animation systems
* fixed GHitchThresholdCVar
* minor improvements to abtest
* added ability to change thread affinities on the fly so they can be tuned
* cvars to control animrate optimization and spew the results: EnableAnimRateOptimization, SpewAnimRateOptimization, DrawAnimRateOptimization, ForceAnimRate
* optimized malloc calls in cascade and gpu particles
* optimized malloc calls in input system
* removed visual logging and ability log from consoles and fixed a few compile errors related to doing that
* optimized gameplaytags
* added a few cvars to cause stalls in various parts of the pipeline to identify critical paths and bottlenecks: CriticalPathStall.*
* added console command to toggle all known outstanding perf tweaks: Orion.SetupPerfCVars
[CL 2642061 by Gil Gribb in Main branch]
This is more correct for scanned textures as they include scattering already. Affects the look of emissive lighting (rarely needed and can be fixed by content). All diffuse lighting for SubsurfaceScatteringProfile is now done without the BaseColor (minor performance cost) and reading the Lighting before the SubsurfaceScattering pass would be different.
Removed the need for a SceneColor alpha channel as lighting is now stored in a checkerboard pattern for diffuse and specular separate. Specular and diffuse lighting on Subsurface materials can appear a bit less crips.
This means the use of 32bit SceneColor (for better performance) is now possible (we might change the defaults soon).
[CL 2640696 by Martin Mittring in Main branch]