Commit Graph

11 Commits

Author SHA1 Message Date
ben marsh
2b46ba7b94 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 4662404 in //UE4/Main/...
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 4662413 by ben marsh in Dev-Networking branch]
2018-12-14 13:44:01 -05:00
marcus wassmer
f43eb0e188 Copying //UE4/Dev-Rendering[at]4626416 to Dev-Main (//UE4/Dev-Main)
#rb none
#lockdown nick.penwarden

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: marcus.wassmer
#ROBOMERGE-SOURCE: CL 4626501 in //UE4/Main/...
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 4626516 by marcus wassmer in Dev-Networking branch]
2018-12-03 22:27:31 -05:00
Ryan Gerleve
9af1fb3463 Merging //UE4/Dev-Main to Dev-Networking (//UE4/Dev-Networking)
#rb none
#rnx

[CL 4516466 by Ryan Gerleve in Dev-Networking branch]
2018-10-29 10:01:28 -04:00
Ben Marsh
13d012685f Merging copyright update from 4.19 branch.
#rb none
#rnx
#jira

[CL 3818977 by Ben Marsh in Staging-4.19 branch]
2018-01-02 15:30:26 -05:00
Ben Marsh
d832dacf48 Merging //UE4/Release-4.18 @ CL 3709383 to Release-Staging-4.18 (//UE4/Release-Staging-4.18)
#rb none
#jira

[CL 3715930 by Ben Marsh in Staging-4.18 branch]
2017-10-24 10:14:07 -04:00
Marcus Wassmer
0341e5d5c1 Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3607928)
#lockdown Nick.Penwarden

============================
  MAJOR FEATURES & CHANGES
============================

Change 3441680 by Uriel.Doyon

	Added units to point light intensity, to allow the user to specify the value in candelas or lumens.
	New point light actors now configure the intensity in candelas by default.
	Replaced viewport exposure settings by an EV100 slider.
	Hidding the tone mapper in the show flag now still applies the exposure.
	Added a new AutoExposure method called EV100 which allows to specify :
	- MinEV100, MaxEV100
	- Calibration Constnat
	- Exposure Compensation
	#jira UE-42783

Change 3454934 by Chris.Bunner

	Backing out changelists 3441680, 3454636 and 3454844 for the sake of integration stability.

Change 3512118 by Marc.Olano

	Fix rare Sobol shader data problem. Mismatch with CPU code after a large number of points

	Resubmit of portion of //UE4/Dev-Rendering@3509854 that was rolled back to avoid massive shader recompiles during integration testing

Change 3512129 by Benjamin.Hyder

	Fixing up content in TM-SobolNoise

Change 3512151 by Rolando.Caloca

	DR - Fixed some layouts that were general
	- Added some extra dump information

Change 3512160 by Benjamin.Hyder

	Still Fixing TM-Sobol

Change 3512180 by Marc.Olano

	PCSS for spotlights. Like directional PCSS this is experimental, activated by r.Shadow.FilterMethod.

Change 3512261 by Michael.Lentine

	Move Subsurface to shared properties.

	Previously the same code could be executed multiple times without being optimized out if multiple inputs used the same subsurface output.

	#jira UE-44405

Change 3512288 by Rolando.Caloca

	DR - Fix issue when recycling image handles

Change 3512338 by Michael.Lentine

	Fix precision if user enters a multiple of 90 degree rotation for transforms.

	This will only work for exact values. Generally comparing float point numbers using == is unsafe but it should be ok in this case as they are exact values entered from the UI. We may want to later expand this to include thresholding using a value ~1e-7.

	#jira UE-46137

Change 3512424 by Michael.Lentine

	Regenerate BaseColor.uasset and Specular.uasset to not have the notforclient flags set.

	#jira UE-44315

Change 3512686 by Brian.Karis

	Fix for quadric assert in infiltrator. Due to bad tangents in source mesh.

Change 3512696 by Brian.Karis

	Unrevert TAA. Fixed DOF NaN artifacts

Change 3512717 by Marcus.Wassmer

	PR #3714: Fix typo in EOcclusionCombineMode (Contributed by Mumbles4)


Change 3513112 by Richard.Wallis

	Crash when packaging for iOS with Shared Material Native Libraries and Share Material Shader Code from windows platform.  Offline shader compile for archiving not done - shader header has missing offline compile flag for native Metal library archiving.

	Fix includes:
	- Handle offline compile failure when not running on Mac and no remote is configured (or remote fails). (I think it's this point at which the crash in the bug report is at).
	- Make sure remote can build for native Metal libraries and archive correctly - this should now support Linux platforms or Mac to Mac (if enabled in MetalShaderCompiler.cpp) for testing if required.
	- Updated to include remote calling into the xcode 9 Metal pch fix already submitted by Mark Satt.

	#jira UE-45657

Change 3513357 by Richard.Wallis

	Windows compile fix.

Change 3513375 by Guillaume.Abadie

	Exposes the possibility to manually destroy the GPU ressource of UTextureRenderTarget2D.

Change 3513685 by Richard.Hinckley

	#jira UEDOC-3822
	Fixing a comment that refers to a non-existent function, for documentation purposes.

Change 3513705 by Marc.Olano

	Updates to Sobol test levels in RenderTest project

Change 3513730 by Rolando.Caloca

	DR - Fix mip size copying resolve targets
	- Fix compute fence
	- Fix descriptor set texture layout
	- More dump info

Change 3513742 by Marc.Olano

	Texture-free numeric print for shader debugging

Change 3513777 by Daniel.Wright

	Handled edge case where no furthest samples are found in precomputed visibility

Change 3514852 by Rolando.Caloca

	DR - Fix -directcompile on SCW

Change 3515049 by Rolando.Caloca

	DR - hlslcc dump crash fix

Change 3515167 by Rolando.Caloca

	DR - hlslcc - Fix bogus string pointer
	- Allow reading from non-scalar UAVs

Change 3515745 by Rolando.Caloca

	DR - Linux compile fix

Change 3515862 by Rolando.Caloca

	DR - Remove old reference to CCT
	- Link with hlslcc debug libs on SCW debug config for easier debugging

Change 3516292 by Rolando.Caloca

	DR - glslang exe fixes

Change 3516568 by Rolando.Caloca

	DR - hlslcc - Copy fix for *Buffer as functionparameters

Change 3516659 by Marcus.Wassmer

	Fix some d3derrors with distance fields

Change 3516801 by Daniel.Wright

	Fixed crash when doing editor 'Force Delete' on a static mesh whose distance field is still being built.  Any UObject reference that is to an asset can be NULL'ed by the editor.

Change 3516825 by Rolando.Caloca

	DR - Some initial fixes for structured buffers

Change 3516843 by Rolando.Caloca

	DR - Fix for Vulkan dist fields

Change 3516869 by Marcus.Wassmer

	Add format to the createrendertarget blueprint node

Change 3516957 by Daniel.Wright

	Fixed bUsesDistortion being editable

Change 3516965 by Daniel.Wright

	Still mark the distance field task completed, even if the static mesh has been deleted

Change 3517039 by Yujiang.Wang

	GitHub #2655: Optimization for shadow map resolution selection for spot lights

	* Use the radius of the inscribed sphere at the cone end as the spot light's screen radius

	Note: slight drop of shadow quality of spot lights may occur when they are far away from the camera. This is intended, since before this optimization they tend to be always rendered with the maximum shadow map resolution (2048), which is very costly

	#jira UE-33982

Change 3517069 by Yujiang.Wang

	Fix for ScissorRect settings in d3d11 being lost under certain scenarios

	* Scissor rectangle is always enabled in the low-level d3d11 pipeline, and it is expected that at least one ScissorRect is present no matter whether RHISetScissorRect is called with bEnable=false (when it is false we just use a big rect to make it effectively disabled)
	* However FD3D11StateCacheBase::ClearState() clears all the states, which removes scissor rectangles and causes problems for certain routines (FScene::UpdateSkyCaptureContents)
	* Now SetScissorRectIfRequiredWhenSettingViewport will always set a effectively disabled ScissorRect on each FD3D11DynamicRHI::RHISetViewport call, just like d3d12 does

	#jira UE-45465 UE-44760

Change 3517134 by Yujiang.Wang

	CIS fix

Change 3517662 by Rolando.Caloca

	DR - Execute upload Vulkan cmds on the RHI thread
	- Fix crash with structured buffer

Change 3517677 by Rolando.Caloca

	DR - Update/copy textures on RHI thread

Change 3517680 by Rolando.Caloca

	DR - Copy texture bulk data on rhi thread

Change 3517748 by Marcus.Wassmer

	temporary workaround for one class of GPU crashes

Change 3518832 by Rolando.Caloca

	DR - Copy & extend 3518077
	- Fix for movable skylight shader missing on simple forward (low lighting quality mode)

Change 3519973 by Richard.Wallis

	Jittering in Engine Menu Dropdown Options.  Jitter fix: Fix some areas that hadn't been changed from RoundToInt (from previous CL's) to CeilToInt.

	#jira UE-46505

Change 3520849 by Uriel.Doyon

	Fixed issue with investigate texture command and dynamic component entries.

Change 3521064 by Guillaume.Abadie

	Returns absolute path of shader files on error to avoid work loss in visual studio that can't figure out that a sln relative and absolute path might leading to same file on disk.

Change 3521834 by Rolando.Caloca

	DR - Fix decals on Vulkan

Change 3521892 by Rolando.Caloca

	DR - Fix Vulkan texture streaming

Change 3523181 by Rolando.Caloca

	DR - Copy from 3523176
	UE4.17 - Fix Vulkan scissor causing text to not clip

Change 3523534 by Yujiang.Wang

	UE-46631: Implement a scalable LongGPUTask to fix ProfileGPU

	* A new, scalable, platform-independent IssueLongGPUTask is now implemented in UtilityShaders
	* Removed IssueLongGPUTask and G*Vector4VertexDeclaration from RHI implementations
	* The measurement of the execution time of a basic LongGPUTask unit is kicked off on the very first frame

	#jira UE-46631

Change 3524552 by Yujiang.Wang

	Fix iteration number calculation of LongGPUTask

Change 3524975 by Joe.Graf

	Moved the Hamming-weight function from StaticMeshDrawList.inl to FGenericPlatformMath
	Added SSE versions using _mm_popcnt_u64 for platforms that support it
	Added a SSE check to gracefully exit when missing the instruction and it was expected to be there

	#CodeReview: arciel.rekman, brian.karis

Change 3525306 by Daniel.Wright

	Fixed ensure from LPV

Change 3525346 by Rolando.Caloca

	DR - Fix linking issue

Change 3525459 by Daniel.Wright

	Volumetric Lightmaps - higher quality precomputed GI on dynamic objects and GI on Volumetric Fog
	* Enabled by default on all maps, effective after a lighting build.  This replaces the existing Precomputed Light Volume and Indirect Lighting Cache features.
	* New Lightmass World Settings: VolumeLightingMethod, VolumetricLightmapDetailCellSize and VolumetricLightmapMaximumBrickMemoryMb.
	* Lightmass computes lighting samples in an adaptive grid, with higher density around geometry inside the importance volume.  Positions outside the importance volume get lit with the border texels.
	* Improved Lightmass volume solver to use importance photons and full adaptive final gather, so volume samples have similar quality to 2d lightmaps.
	* A static indirection texture is built covering the importance volume and flattening the brick tree by storing the offset to the highest density brick at each indirection cell.
	* Seamless and efficient GPU interpolation across density levels is achieved by adding a single row of padding to bricks, copied from neighbors, and stitching up bricks with lower density neighbors
	* The Volumetric lightmap stores Irradiance as a 3 band SH, which is 27 floats, quantized into 28 bytes, 7 texture lookups.
	* A full screen barebones material using Volumetric Lightmaps costs .42ms on 970 GTX, while Indirect Lighting Cache Point costs .32ms
	* Sky bent normal is also stored for stationary skylights and Directional Light Shadowing for Single Sample Shadow receiving.
	* Volumetric fog, Movable components, unbuilt Static Components, SingleSampleShadow receiving and Capsule Shadows use Volumetric Lightmaps if available
	* New Visualization show flag for Volumetric Lightmap sample points
	* Level streaming of volume light data is not currently supported with this method

Change 3525461 by Daniel.Wright

	Lowered default r.Shadow.RadiusThreshold for Epic shadow settings as it was causing a lot of visible artifacts from small objects popping out.  This will increase shadowmap cost slightly (13.5ms RT -> 14.3ms RT in Fortnite on PS4, no measurable GPU difference).

Change 3526459 by Rolando.Caloca

	DR - Fix validation error

Change 3526474 by Rolando.Caloca

	DR - Integrate from GV

Change 3526487 by Daniel.Wright

	Disabled Volumetric Lightmap filtering with neighbors due to artifacts
	Fix linux compile errors

Change 3526833 by Rolando.Caloca

	DR - Workaround for hlslcc

Change 3526991 by Uriel.Doyon

	Integrated 3526859 : Texture mip bias is now reset whenever the streaming budget increases. This fixes an issue where textures persistently become low res after a memory spike.

Change 3527574 by Rolando.Caloca

	DR - Added some missing resource entries for SCW direct mode

Change 3527625 by Rolando.Caloca

	DR - Copy from 3527113
	UE4.17 - Fix Vulkan not calling Present

Change 3528461 by Brian.Karis

	Support larger hash sizes. Added uint list hashing function.

Change 3528780 by Rolando.Caloca

	DR - Default Vulkan resources

Change 3528818 by Rolando.Caloca

	DR - glslang - Added missing accessor

Change 3528839 by Rolando.Caloca

	DR - Fix virtual path issue when using non-engine relative absolute paths

Change 3528900 by Daniel.Wright

	Fixed variable shadowing

Change 3529039 by Rolando.Caloca

	DR - Read Spirv reflection data (not used yet)

Change 3529040 by Joe.Graf

	Fixed the 32bit compile failures for the popcnt optimization

	#CodeReview: arciel.rekman

Change 3529060 by Rolando.Caloca

	DR - hlslcc - New flag for keeping resource names

Change 3529344 by Rolando.Caloca

	DR - Delete unused file

Change 3529723 by Brian.Karis

	Fixed static analysis cleaner.

Change 3531357 by Michael.Trepka

	Updated Mac glslang libraries with latest changes. Also, updated the Xcode project (generated with CMake) and moved it to a different location so that it no longer uses hardcoded absolute paths. It should be easy to rebuild these libraries in the future.

Change 3531517 by Joe.Graf

	Added support for ddx_fine, ddy_fine, ddx_coarse, ddy_coarse to hlslcc

	#CodeReview: arciel.rekman, mark.satterthwaite, rolando.caloca

Change 3531626 by Joe.Graf

	Mac version of the popcount optimization
	Changed Linux version to use the same builtin

	#CodeReview: mark.satterthwaite, arciel.rekman

Change 3531837 by Chris.Bunner

	SetScissorRectIfRequiredWhenSettingViewport sets the viewport size by default rather than disabling the scissor rect.

	#jra UE-46753

Change 3533415 by Joe.Graf

	Renamed the SSSE3 checks per feedback

	#CodeReview: arciel.rekman

Change 3533480 by Michael.Lentine

	Use more accurate descriptions for shader recompile options

Change 3533511 by Joe.Graf

	Updated the GenericPlatformMisc to match the SSSE3 name change

	#CodeReview: arciel.rekman

Change 3533521 by Marcus.Wassmer

	Fix scenerenderer leak when updating out of view planar reflections

Change 3533528 by Joe.Graf

	Updated comments

	#CodeReview: n/a

Change 3533608 by Mark.Satterthwaite

	New manual Xcode project for glslang so that we include all the necessary code and can link again.

Change 3534260 by Mark.Satterthwaite

	Fix the Xcode 9 Beta 3 compile errors in MetalRHI without breaking Xcode 8.3.3.

Change 3535789 by Yujiang.Wang

	Fix for wrong hair shading in forward shading

	* IBL reflections should be turned off for hairs

Change 3537059 by Ben.Marsh

	Fixing case of iOS directories, pt1

Change 3537060 by Ben.Marsh

	Fixing case of iOS directories, pt2

Change 3538297 by Michael.Lentine

	Add shader comparison test.

	Adding the basic test case.
	Adding logic to Common.ush to enable FP16 conditionally on a define (which is not set by default)
	Adding more exported functionality to automation for use in the shader test.

Change 3538309 by Michael.Lentine

	Add missing file from Shader Test CL.

Change 3538751 by Michael.Lentine

	Add missing pragma once.

Change 3539236 by Michael.Lentine

	Do not ignore return values.

Change 3539237 by Michael.Lentine

	Check in the correct file

Change 3540343 by Rolando.Caloca

	DR - Added t.DumpHitches.AllThreads

Change 3540661 by Yujiang.Wang

	Fix spot tube light direction

	* The tube direction for a spot light was pointing along the light direction, now it is along the local Z axis which is perpendicular to the light direction. Lightmass is also touched
	* A new LightTangent is added to FDeferredLightData
	* Packed all the values from LightSceneProxy->GetParameters into a single FLightParameters struct to avoid copy-pasting them everywhere

Change 3541129 by Rolando.Caloca

	DR - vk - Copy all Vulkan fixes from 4.17

Change 3541347 by Yujiang.Wang

	Fix wrong ViewFlags being set between objects when rendering shadow depth maps

	* Bug caused by trying to share DrawRenderState between objects, but SetViewFlagsForShadowPass was designed to start from a fresh render state
	* Now SetViewFlagsForShadowPass recalculates and sets the flags on each call

Change 3542603 by Rolando.Caloca

	DR - vk - Allow sharing samplers on Vulkan

Change 3542639 by Jian.Ru

	Changed warning text to better indicate that global clip plane needs to be enabled for planar reflection
	#RB Marcus.Wassmer

Change 3543167 by Michael.Lentine

	Fix naming for the shader comparison tests.

Change 3543210 by Uriel.Doyon

	Fixed an issue when computing material scales where the default material ends up being used instead of the required material.
	In that case, we used the default settings for texture streaming (assuming a scale of 1).

Change 3543221 by Brian.Karis

	Simplifier optimizations

Change 3543239 by Arciel.Rekman

	hlslcc: remove FCustomStd* workarounds.

	- This was previous attempt to work around problems arising from different STL used for building libhlslcc (in the cross-toolchain) and possibly different STL used for building engine (on the system).
	- The same problem has been resolved by bundling libc++.

Change 3543946 by Michael.Lentine

	Add comparison output.

Change 3544277 by Brian.Karis

	Fixed uninitialized var error

Change 3544404 by Rolando.Caloca

	DR - Fix broken textures

Change 3544503 by Jian.Ru

	Ensure lighting failure delegates are always called
	#RB Marcus.Wassmer,Daniel.Wright
	#3689

Change 3545241 by Daniel.Wright

	Fixed spotlight whole scene shadows using a radius 2x too long

Change 3545347 by Daniel.Wright

	Fixed shadow occlusion culling broken by shadowmap caching change.  FProjectedShadowKey is now computed correctly for whole scene shadows and SDCM_StaticPrimitivesOnly shadowmaps will fall back to the query for a SDCM_MovablePrimitivesOnly, since the static primitives shadowmap's query is not issued every frame.

Change 3546196 by Marcus.Wassmer

	Fix minor typo

Change 3546459 by Daniel.Wright

	ULevel::PostEditChangeProperty recreates rendering resources if MapBuildData is modified - fixes a crash when Force Deleting the MapBuildData package.

Change 3546469 by Jian.Ru

	Take into account CVarStaticMeshLODDistanceScale during static mesh LOD calculation

Change 3546804 by Daniel.Wright

	[Copy] Added SendAllEndOfFrameUpdates draw event to wrap skin cache events

Change 3546814 by Daniel.Wright

	[Copy] Only use skylight OcclusionMaxDistance for the global distance field if it casts shadows

Change 3546815 by Daniel.Wright

	[Copy] Snap volumetric fog light function target resolution to a factor of 32 to avoid constant texture reallocation

Change 3546817 by Daniel.Wright

	[Copy] Warmup time warning

Change 3546828 by Daniel.Wright

	[Copy] Fixed UWorld::DestroyActor in PIE calling InvalidateLightingCacheDetailed which can do a FlushRenderingCommands and cause a large hitch

Change 3546836 by Daniel.Wright

	[Copy] ULightComponent::InvalidateLightingCacheInner uses MarkRenderStateDirty instead of slow reregister + FlushRendingCommands, and only for lights which might have static lighting data

Change 3546849 by Rolando.Caloca

	DR - vk - Fix missing samplerstates
	- Fixes for structured buffers
	- Add missing Draw and Dispatch Indirect

Change 3547516 by Brian.Karis

	Linear time 5-coloring for planar graphs.

	Brought in the Planarity library written by John Boyer, heavily edited and trimmed down to only include code necesary for graph coloring. Put behind a simple wrapper.

Change 3547542 by Brian.Karis

	Linear time 5-coloring for planar graphs.

	Brought in the Planarity library written by John Boyer, heavily edited and trimmed down to only include code necesary for graph coloring. Put behind a simple wrapper.

Change 3547563 by Brian.Karis

	Fixed some compiler warnings and hopefully some errors.

Change 3547610 by Brian.Karis

	Replaced macros with inlined functions

Change 3547620 by Brian.Karis

	Clean up includes

Change 3547770 by Marcus.Wassmer

	GPU Crash for MTBF analytics

Change 3547773 by Marcus.Wassmer

	Updated doxygen comment for new analytic

Change 3548244 by Rolando.Caloca

	DR - Fix for translucency

Change 3548352 by Yujiang.Wang

	Added soft source radius for point and spot lights

	* Soft source radius controls how 'blurry' the shape of specular lighting looks
	* Implemented by LobeRoughness modification
	* Better approximation for spherical lights so that they don't look sharp when the radius is large using 'smoothed representative point' method
	* Suppoted LightTangent in forward shading

Change 3548530 by Brian.Karis

	Fix for mac build

Change 3548770 by Rolando.Caloca

	DR - vk - Prereq work for Vulkan parallel RHI contexts

Change 3548772 by Jian.Ru

	Fixed an issue that caused an ensure when switching levels in D3D10. #rb Marcus.Wassmer

Change 3548865 by Daniel.Wright

	With shadowmap caching of whole scene shadows, only one of the cache modes issues an occlusion query.  Fixes a crash where the static primitive shadowmap is culled but the movable primitive shadowmap is visible, which is normally not possible.

Change 3548952 by Rolando.Caloca

	DR - Allow separate samplers in the shaders on Vulkan

Change 3549197 by Marcus.Wassmer

	Fix DX12 PIx not working in cooked builds

Change 3549209 by Daniel.Wright

	Occlusion culling for CSM, from the main camera, controlled by 'r.Shadow.OcclusionCullCascadedShadowMaps'.  Disabled by default as rapid view changes don't work well with latent occlusion queries.

Change 3549943 by Ben.Marsh

	Include better diagnostic information when a modified build product is detected after running a build step.

Change 3550546 by Rolando.Caloca

	DR - Fix merge issue

Change 3550962 by Marcus.Wassmer

	EarlyZ Masking requires full depth prepass, so just force it to.

Change 3551062 by Daniel.Wright

	Handle NULL skylight

Change 3551104 by Rolando.Caloca

	DR - vk - Remove assert to match other platforms

Change 3551221 by Rolando.Caloca

	DR - vk - Add mirror clamp to edge extension
	- Fix framebuffer deletion

Change 3551224 by Daniel.Wright

	Volumetric lightmap increase density around static lights affecting a voxel brighter than LightBrightnessSubdivideThreshold.

Change 3551495 by Rolando.Caloca

	DR - vk - Intiial support for async queue

Change 3552101 by Rolando.Caloca

	DR - vk - Fix for async

Change 3552102 by Rolando.Caloca

	DR - SkinCache - Fix potential leak on staging buffers for recompute tangents
	- Integrate changes from 4.17 for memory optimizations

Change 3552104 by Rolando.Caloca

	DR - vk - Support for SRVs for index buffers

Change 3552838 by Rolando.Caloca

	DR - vk - Enable debug markers if found

Change 3553106 by Rolando.Caloca

	DR - vk - Fixes for index buffer SRVs

Change 3553107 by Rolando.Caloca

	DR - vk - Enable recompute tangents on Vulkan

Change 3553154 by Rolando.Caloca

	DR - vk - Fix crash with null uav

Change 3553342 by Yujiang.Wang

	Fix redundant skylights in AdvancedPreviewScene

	* PreviewScene was changed to using a skylight instead of ambient cubemap to support forward shading
	* AdvancedPreviewScene originally had a skylight, now it is changed to using the one inherited from PreviewScene

Change 3553481 by Rolando.Caloca

	DR - Integrate fix for D3D12 support of index buffers SRVs

	#jira UE-47674

Change 3553715 by Rolando.Caloca

	DR - Fix crash when launching PC with -featureleveles31

Change 3553725 by Rolando.Caloca

	DR - Redo fix

Change 3553803 by Rolando.Caloca

	DR - Shader compile fixes for ES3.1

Change 3553963 by Rolando.Caloca

	DR - vk - Remove extra IRDump

Change 3554741 by Ben.Marsh

	CIS fix.

Change 3555222 by Rolando.Caloca

	DR - vk - static analysis fix

Change 3555362 by Rolando.Caloca

	DR - vk - Prep work for separate present queue

Change 3556800 by Daniel.Wright

	Fixed screenshot for simple volume material doc

Change 3556942 by Brian.Karis

	Fixed Bokeh DOF regression.

Change 3556959 by Rolando.Caloca

	DR - vk - Rework staging buffer peak usage

Change 3557497 by Daniel.Wright

	Better display name for Unbound property on post process volume

Change 3557499 by Daniel.Wright

	Disable r.GenerateLandscapeGIData by default, opt-in for kite demo.  Projects that want to use heightfield GI need to opt-in to r.GenerateLandscapeGIData.

Change 3557068 by Olaf.Piesche

	Configurable spawn rate scaling reference value; sets the zero-scale reference value (default: 2),  so additional quality levels can be added and scaling customized further.
	IMPORTANT: This sets the reference to 3 in PS4Scalability.ini; effects on PS4 are again going to have reduced spawn rates versus PC and Neo, as intended by the FX artists starting with this change.

	#tests QAGame test maps

Change 3558123 by Rolando.Caloca

	DR - vk - static analysis fix

Change 3558685 by Yujiang.Wang

	Github #3323: Two sided foliage lightmap directionality fix

	* Subsurface is not intended to work with lightmaps that don't have directionality, however we still want it to look similar to a directional one
	* Now it uses a constant directionality value

	#jira UE-42523

Change 3559052 by Brian.Karis

	Hopefully fix static analysis

Change 3559113 by Rolando.Caloca

	DR - Fix crash witrh planar reflections

Change 3559275 by Yujiang.Wang

	Fix race condition on several scalability CVars between rendering thread and game thread

Change 3559612 by Rolando.Caloca

	DR - vk - SM5 with uniform buffers backend support

Change 3559716 by Rolando.Caloca

	DR - hlslcc - Fix linker warning on SCW debug

Change 3559768 by Rolando.Caloca

	DR - vk - Keep ub names for bindings

Change 3560195 by Rolando.Caloca

	DR - accessor

Change 3560275 by Rolando.Caloca

	DR - vk - Support for uniform buffers

Change 3560913 by Rolando.Caloca

	DR - vk - Fix static analysis

Change 3561145 by Rolando.Caloca

	DR - Don't crash if out of resource table bits

Change 3561194 by Rolando.Caloca

	DR - vk - Integrate timestamp fixes

Change 3562009 by Rolando.Caloca

	DR - vk - Workaround for bad UTexture data

Change 3563884 by Chris.Bunner

	VK_NULL_HANDLE fix.

Change 3563885 by Jian.Ru

	Ignore a warning caused by enabling distance field generation so that test Cube_Blue and Cube_Section don't fail. #rb Chris.Bunner

Change 3565943 by Jian.Ru

	Add extra warning log triggered when attempt to create FRWBuffer greater than 256MB in ComputeLightGrid() #rb Chris.Bunner

Change 3569479 by Michael.Lentine

	Integrate rhino shader changes to dev-rendering

Change 3569511 by Michael.Lentine

	Fix formating and string out on windows.

Change 3569572 by Yujiang.Wang

	Fix MeasureLongGPUTaskExecutionTime crashing on AMD on Macs

Change 3569614 by Yujiang.Wang

	Flush rendering commands before measuring the long GPU task's excution time to get accurate results

Change 3570524 by Jian.Ru

	Add extra parentheses to avoid compilation warning #rb Chris.Bunner

Change 3570722 by Chris.Bunner

	Static analysis workaround - same code, just validating compile-time assumptions a little further.

Change 3570880 by Jian.Ru

	Add small depth offset to avoid depth test failing during velocity pass

	#jira UE-37556

Change 3572532 by Jian.Ru

	Disable a warning to let tests pass

	#jira UE-48021

Change 3573109 by Michael.Lentine

	Checkin Michael.Trepka's fix for external dynamic libraries on mac.
	This is needed to make the build go green on mac.

Change 3573995 by Jian.Ru

	Move an include out of define to let nightly build pass

Change 3574777 by Chris.Bunner

	Continued merge fixes.

Change 3574792 by Rolando.Caloca

	DR - Rename todo

Change 3574794 by Chris.Bunner

	Re-adding includes lost in a pre-merge merge.

Change 3574879 by Michael.Trepka

	Disabled a couple of Mac deprecation warnings

Change 3574932 by Chris.Bunner

	Merge fix.

Change 3575048 by Michael.Trepka

	Fixed iOS compile warnings

Change 3575530 by Chris.Bunner

	Duplicating static analysis fix CL 3539836.

Change 3575582 by Chris.Bunner

	Fixed GetDimensions return type in depth resolve shaders.
	Compile error fix.

Change 3576326 by Chris.Bunner

	Static analysis fixes.

Change 3576513 by Michael.Trepka

	Updated Mac MCPP lib to be compatible with OS X 10.9

Change 3576555 by Richard.Wallis

	Metal Validation Errors.  Dummy black volume texture is in the wrong format in the Metal shader for the VolumetricLightmapIndirectionTexture.  Create a new dummy texture with pixel format PF_R8G8B8A8_UINT.

	#jira UE-47549

Change 3576562 by Chris.Bunner

	OpenGL SetStreamSource stride updates.

Change 3576589 by Michael.Trepka

	Fixed Mac CIS warnings and errors in Dev-Rendering

Change 3576708 by Jian.Ru

	Fix cascade preview viewport background color not changing
	#jira UE-39687

Change 3576827 by Rolando.Caloca

	DR - Minor fix for licensee

Change 3576973 by Chris.Bunner

	Fixing up HLSLCC language spec mismatch (potential shader compile crashes in GL and Vulkan).

Change 3577729 by Rolando.Caloca

	DR - Fix for info on SCW crashes

Change 3578723 by Chris.Bunner

	Fixed issue where custom material attribute was using display name as hlsl function name.

Change 3578797 by Chris.Bunner

	Fixed pixel inspector crashing on high-precision normals gbuffer format.

	#jira UE-48094

Change 3578815 by Yujiang.Wang

	Fix for UE-48207 Orion cooked windows server crash on startup

	* Crash caused by rendering features not available in a dedicated server build
	* Skip over MeasureLongGPUTaskExecutionTime when !FApp::CanEvenRender()

	#jira UE-48207

Change 3578828 by Daniel.Wright

	Disable volumetric lightmap 3d texture creation on mobile

Change 3579473 by Daniel.Wright

	Added View.SharedBilinearClampSampler and View.SharedBilinearWrapSampler.  Used these to reduce base pass sampler counts with volumetric lightmaps.

Change 3580088 by Jian.Ru

	Fix QAGame TM-CharacterMovement crashing on PIE
	#jira UE-48031

Change 3580388 by Daniel.Wright

	Fixed shadowed light injection into volumetric fog fallout from Rhino merge

Change 3580407 by Michael.Trepka

	Updated Mac UnrealPak binaries

Change 3581094 by Michael.Trepka

	Fix for ScreenSpaceReflections not working properly on iOS 11

Change 3581242 by Michael.Trepka

	Fixed a crash on startup on Mac when launching TM-ShaderModels in QAGame

	#jira UE-48255

Change 3581489 by Olaf.Piesche

	Replicating CL 3578030 from Fortnite-Main to fix #jira UE-46475

	#jira FORT-47068, FORT-49705
	Don't inappropriaely touch game thread data on the render thread. Push SubUV cutout data into a RT side object owned by the sprite dynamic data.

	#tests FN LastPerfTest

Change 3581544 by Simon.Tovey

	Fix for ensure accessing cvar from task thread.

	#tests no more ensure

Change 3581934 by Chris.Bunner

	Fixed ConsoleVariables.ini break from merge.

Change 3581968 by Jian.Ru

	Fix QAGame TM-ShaderModels PIE crash when resizing game viewport
	#jira UE-48251

Change 3581989 by Richard.Wallis

	Fix for NULL PrecomputedLightingBuffer.  It is null for first frame request in forward rendering so should have the GEmptyPrecomputedLightingUniformBuffer set in these cases after it's been initially tried to be set not before.

	#jira UE-46955

Change 3582632 by Chris.Bunner

	Resolved merge error.

Change 3582722 by Rolando.Caloca

	DR - Workaround for PF_R8G8B8A8_UINT on GL

	#jira UE-48208

Change 3584096 by Rolando.Caloca

	DR - Fix for renderdoc crashing in shipping

	#jira UE-46867

Change 3584245 by Jian.Ru

	Fix System.Promotion.Editor.Particle Editor test crash
	#jira UE-48235

Change 3584359 by Yujiang.Wang

	Fix for UE-48315 Wall behind base in Monolith is flickering white in -game Orion

	* Caused by dot(N, V) being negative
	* Clamp to (0, 1)

	#jira UE-48315

Change 3587864 by Mark.Satterthwaite

	Fix the GPU hang on iOS caused by changes to the Depth-Stencil MSAA handling: you can't store the MSAA stencil results on iOS < 10 unless you use the slower MTLStoreActionStoreAndMultisampleResolve which we don't need for the mobile renderer.
	#jira UE-48342

Change 3587866 by Mark.Satterthwaite

	Correctly fix iOS compilation errors against Xcode 9 Beta 5 and Xcode 8.3.3 - duplicating function definitions is guaranteed to be wrong.

Change 3588168 by Mark.Satterthwaite

	Move the Xcode version into the Metal shader format header, not the DDC key, so that we can handle bad compiler/driver combinations in the runtime and don't force all users to recompile every time the Xcode version changes.

Change 3588192 by Rolando.Caloca

	DR - Fix d3d12 linker error when EXECUTE_DEBUG_COMMAND_LISTS is enabled

Change 3588291 by Rolando.Caloca

	DR - Fix for d3d12 command list crash: Commited resources can not have aliasing barriers

	#jira UE-48299

Change 3590134 by Michael.Trepka

	Copy of CL 3578963

	Reset automation tests timer after shader compilation when preparing for screenshots taking to make sure tests don't time out.

Change 3590405 by Rolando.Caloca

	DR - hlslcc - support for sqrt(uint)

Change 3590436 by Mark.Satterthwaite

	Rebuild Mac hlslcc for CL #3590405 - without the various compiler workarounds left over from before the recent code changes.

Change 3590674 by Rolando.Caloca

	DR - vk - Integration from working branch
	- Fixes distance field maps
	- Compute pipelines stored in saved file
	- Adds GRHIRequiresRenderTargetForPixelShaderUAVs for platforms that need dummy render targets

Change 3590699 by Rolando.Caloca

	DR - Fix distance fields mem leak

Change 3590815 by Rolando.Caloca

	DR - vk - Fixes for uniform buffers and empty resource tables

Change 3590818 by Mark.Satterthwaite

	Temporarily switch back to OpenVR v1.0.6 for Mac only until I can clarify what to do about a required but missing API hook for Metal. Re-enabled and fixed compile errors with Mac SteamVR plugin code.

Change 3590905 by Mark.Satterthwaite

	For Metal shader compilation where the bytecode compiler is unavailable force the debug compiler flag and disable the archiving flag because storing text requires this.

	#jira UE-48163

Change 3590961 by Mark.Satterthwaite

	Submitted on Richard Wallis's behalf as he's on holiday:

	Mac fixes for Compute Skin Cache rendering issues (resulting in incorrect positions and tangents) and for recomputing tangents.  Problem sampling from buffers/textures as floats with packed data.  Some of the data appears as denorms so get flushed to zero then reinterpreted as uints via asuint or in Metal as_type<uint>().  Fix here for Metal seems to be to use uint types for the skin cache SRV's and as_type<> to floats instead.

	There could be some other areas where we're unpacking via floats that could affect Metal and I'm not sure how this will impact on other platforms.

	#jira UE-46688, UE-39256, UE-47215

Change 3590965 by Mark.Satterthwaite

	Remove the Z-bias workaround from Metal MRT as it isn't required and actually causes more problems.

Change 3590969 by Mark.Satterthwaite

	Make all Metal shader platforms compile such that half may be used, unless the material specifies full precision.

Change 3591871 by Rolando.Caloca

	DR - Enable PCSS on Vulkan & Metal
	- Enable capsule shadows on Vulkan

Change 3592014 by Mark.Satterthwaite

	Remove support for Mac OS X El Capitan (10.11) including the stencil view workaround.
	Bump the minimum Metal shader standard for Metal SM4, SM5 & Metal MRT to v1.2 (macOS 10.12 Sierra & iOS 10) so we can use FMAs and other newer shader language features globally.
	Enable the new GRHIRequiresRenderTargetForPixelShaderUAVs flag as Metal is like Vulkan and needs a target for fragment rendering.
	Also fix the filename for direct-compile & remove the old batch file generation in the Metal shader compiler.

Change 3592171 by Rolando.Caloca

	DR - CIS fix

Change 3592753 by Jian.Ru

	repeat Daniel's fix on xb1 profilegpu crash (draw events cannot live beyond present)

Change 3594595 by Rolando.Caloca

	DR - Fix D3D shader compiling run time stack corruption failure on debug triggering falsely

Change 3594794 by Michael.Trepka

	Call FPlatformMisc::PumpMessages() before attempting to toggle fullscreen on Mac to fix an issue on some Macs running 10.13 beta that would ignore the toggle fullscreen call freezing the app

Change 3594999 by Mark.Satterthwaite

	Disable MallocBinned2 for iOS as on Rhino it worked but on iOS 10.0.2 there are bugs (munmap uses 64kb granularity, not the 4096 the code expects given the reported page-size).
	While we are here remove the spurious FORCE_MALLOC_ANSI from the iOS platform header.

	#jira UE-48342

Change 3595004 by Mark.Satterthwaite

	Disable Metal's Deferred Store Actions and combined Depth/Stencil formats on iOS < 10.3 as there are bugs on earlier versions of iOS 10.

	#jira UE-48342

Change 3595386 by Mark.Satterthwaite

	Silence the deprecation warning for kIOSurfaceIsGlobal until SteamVR switches to one of the newer IOSurface sharing mechanisms.

Change 3595394 by Rolando.Caloca

	DR - Added function for tracking down errors in the hlsl parser
	- Added support for simple #if 0...#endif

Change 3599352 by Rolando.Caloca

	DR - Fixes for HlslParser
	- Added missing attributes for functions
	- Fixed nested assignment

Change 3602440 by Michael.Trepka

	Fixed Metal shader compilation from Windows with remote compilation disabled

	#jira UE-48163

Change 3602898 by Chris.Bunner

	Resaving assets.

Change 3603731 by Jian.Ru

	fix a crash caused by a material destroyed before the decal component
	#jira UE-48587

Change 3604629 by Rolando.Caloca

	DR - Workaround for PF_R8G8B8A8_UINT on Android

	#jira UE-48208

Change 3604984 by Peter.Sauerbrei

	fix for orientation not being limited to that specified in the plist

	#jira UE-48360

Change 3605738 by Chris.Bunner

	Allow functional screenshot tests to request a camera cut (e.g. tests relying on temporal aa history).

	#jira UE-48748

Change 3606009 by Mark.Satterthwaite

	Correctly implement ClipDistance for Metal as an array of floats as required by the spec. and fix a few irritating issues from the merge that should not have.
	- When compiling a tessellation vertex shader in the SCW direct mode we can't evaluate non-existant defines and we don't actually need to.
	- The define names, values & shader file name are irrelevant to the Metal output key, but the shader format name & Metal standard really do matter - should speed up Metal shader compilation a bit.
	- Move the shader vertex layer clip-distance to index 2 to avoid conflicts.
	- Don't default initialise the debug code string for Metal shaders or it won't print out the actual code....

	#jira UE-47663

Change 3606108 by Mark.Satterthwaite

	Temporary hack to avoid a crash in AVPlayer.

	#jira UE-48758

Change 3606121 by Mark.Satterthwaite

	Fix Windows compilation.

Change 3606992 by Chris.Bunner

	Static analysis fix.

[CL 3608256 by Marcus Wassmer in Main branch]
2017-08-24 15:38:57 -04:00
Peter Sauerbrei
1c6a76ad7b fix for attempting to render a clear quad when using a null rhi
#codereview marcus.wassmer
#rb josh.adams
#lockdown nick.penwarden
#jira UE-45927

[CL 3485640 by Peter Sauerbrei in Main branch]
2017-06-12 17:04:33 -04:00
Chris Bunner
81ef7a206b Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3461187)
#lockdown Nick.Penwarden

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3388286 on 2017/04/11 by Chris.Bunner

	Fix mips in texture GnmUAV creation.

Change 3388287 on 2017/04/11 by Chris.Bunner

	Improved PS/CS code sharing for TemporalAA.

Change 3388291 on 2017/04/11 by Chris.Bunner

	HLODs now correctly hide their children in shadow maps.
	Propagate bCastFarShadow flag on HLOD generation.

	#jira UE-42254

Change 3388448 on 2017/04/11 by Brian.Karis

	Better handle divide by zero

Change 3388449 on 2017/04/11 by Brian.Karis

	Optimizations to shading model math.

	PR #3340: Bug fixes related to shader TODOs (Contributed by vgfx)


Change 3388455 on 2017/04/11 by Uriel.Doyon

	Changed Remove for RemoveSwap when clearing dynamic component references

Change 3388612 on 2017/04/11 by Simon.Tourangeau

	Support shaders in projects and in plugins
	When searching for a shader it will
	- First look in Engine/Shaders as usual
	- Then in project's Shader folder
	- Then in all enabled plugin Shader folders

	Project or plugin must be loaded in PostConfigInit phase
	Tested in PIE, engine (cooked, packaged)

Change 3388819 on 2017/04/11 by Arne.Schober

	DR - Faster MorpthTarget implementation. Changed the previous Gather aproach to a scatter based one. Reaching about 110GB/s on PS4 which is up to 4x faster than the previous implementation. On PC DX11 the impact is lower due to unecessary UAV barriers but still 2x faster on AMD and up to 6x faster on Nvidia Hardware.
	#RB Lina.Halper, Rolando.Caloca

Change 3388862 on 2017/04/11 by Guillaume.Abadie

	Allows Motion Blur and TAA in scene capture 2d.

Change 3388953 on 2017/04/11 by Uriel.Doyon

	Fixed issue where lights from hidden levels where affecting the lighting build, by checking if the light is registered before adding it.
	#UE-43220

Change 3389138 on 2017/04/11 by Arne.Schober

	DR - Fix crash when opening a Level without Contentbrowser open.
	#RB Matt.Kuhlenschmidt

Change 3389400 on 2017/04/11 by Uriel.Doyon

	- Renamed FMaterialResource::IsSeparateTranslucencyEnabled() to FMaterialResource::IsTranslucencyAfterDOFEnabled()
	- Removed different logic to determine if translucency after DOF was enabled, and centralized it into a single function: FSceneViewFamily::AllowTranslucencyAfterDOF()
	- FSceneRenderTargets::FinishRenderingSeparateTranslucency() now only resolves a single view, allowing better Begin/Finish scopes.
	- Renamed FSceneRenderTargets::SeparateTranslucencyDepthRT into FSceneRenderTargets::DownsampledTranslucencyDepthRT since this one is only allocated when rendering in downsampled mode.
	- Standard translucency is now rendered in the same resolution than translucency after DOF. (downsampled or full resolution)
	- Removed RenderTranslucencyParallel and merged it's logic into RenderTranslucency. Renamed DrawAllTranslucencyPasses to RenderViewTranslucency and added a parallel version RenderViewTranslucencyParallel.
	- Moved all debug draw logic (VisualizeLPV, ViewMeshElements and SimpleElementCollector) to a common place.
	- New option "r.AllowDownsampledStandardTranslucency" to control the downsampling of standard translucency. Affect blend module materials

	#jira UE-39505

Change 3389860 on 2017/04/12 by Richard.Wallis

	UE-41407 Cable actor does not render correctly in viewport on Mac.

	Build the mesh at creation time - call into exisiting mesh create function.

Change 3390933 on 2017/04/12 by Arne.Schober

	DR - potential fix for UE-43125 where the this pointer might get invalidated in the middle of the function
	#RB Marcus.Wassmer

Change 3391010 on 2017/04/12 by Ben.Marsh

	Compile UE4Game non-unity for Mac as part of nightly builds in //UE4/Dev-Rendering.

Change 3391412 on 2017/04/12 by Uriel.Doyon

	Mesh Decals are now sorted according to the component TranslucencySortPriority.
	#jira UE-43053

Change 3392117 on 2017/04/13 by Guillaume.Abadie

	Integrates Raven's experimental PCSS for cascaded shadow map hidden behind a CVar.

Change 3392179 on 2017/04/13 by Guillaume.Abadie

	Attempts to fix linux compilation by removing mistakenly submitted dead code.

Change 3392231 on 2017/04/13 by Guillaume.Abadie

	Fixes a wrong enum value real quick in FRenderingObjectVersion I introduced after main integration... Oups...

Change 3393879 on 2017/04/14 by Guillaume.Abadie

	Attempts to fix linux compilation warning.

Change 3393881 on 2017/04/14 by Guillaume.Abadie

	Back out changelist 3393879

Change 3393882 on 2017/04/14 by Guillaume.Abadie

	Attempts #2 to fix linux compilation error.

Change 3394100 on 2017/04/14 by Chris.Bunner

	Corrected material shared sampler usage with mip-biasing.

Change 3394174 on 2017/04/14 by Rolando.Caloca

	DR - Change ensure to warning

Change 3394221 on 2017/04/14 by Marcus.Wassmer

	Fix poseable mesh bounds calculation.

Change 3396238 on 2017/04/17 by David.Hill

	Fix Bloom with LensFlare
	Duplicating fix - will also fix directly in 4.16

	#jira 44050

Change 3397055 on 2017/04/17 by Joe.Graf

	Fixed Windows specific assumptions in Slate File Dialog Window's file filtering that lead to crashes

	#CodeReview: matt.kuhlenschmidt
	#rb: n/a

Change 3397921 on 2017/04/18 by Joe.Graf

	Rewrote SlateFileDlgWindow's file filtering to allow for extensionless file selection and to remove the O(n^2) file filtering

	#CodeReview: arciel.rekman, matt.kuhlenschmidt
	#rb: n/a

Change 3398406 on 2017/04/18 by Rolando.Caloca

	DR - Fix shaders in plugins on Mac

Change 3399546 on 2017/04/19 by Benjamin.Hyder

	Updating content for test levels (HDR, Bloom_FFT, DistanceFields_IndirectShadows)

Change 3399725 on 2017/04/19 by Guillaume.Abadie

	Avoids compiling PCSS shaders for SM4.

Change 3400295 on 2017/04/19 by Michael.Trepka

	Fixed metal shader compile errors in MorphTargets.usf

Change 3400457 on 2017/04/19 by Michael.Trepka

	Merged Rolando's shader fixes

Change 3400473 on 2017/04/19 by Arne.Schober

	DR - provide Aftermath Reason when init failed.
	#RB none

Change 3400699 on 2017/04/19 by Arne.Schober

	DR - Fixed Text macro
	#RB none

Change 3402280 on 2017/04/20 by Simon.Tovey

	Minor cascade fix

	#tests no crash

	#jira UE-41560

Change 3402517 on 2017/04/20 by Arne.Schober

	DR - Fix static analysis warning
	#RB none

Change 3403897 on 2017/04/21 by Arne.Schober

	DR - [UE-43898] - Someone missed a shaderversion bump which poisoned the DCC
	#RB None
	#jira UE-43898

Change 3404591 on 2017/04/21 by Olaf.Piesche

	#jira UE-41979
	Should never be crashing there, unless the mesh is changed after Init of the effect instance; this change safeguards against the number of mesh sections (and hence materials) changing after creation of the dynamic data to avoid the crash.

Change 3407451 on 2017/04/25 by Daniel.Wright

	Fixed Indirect Lighting Cache updates caused by capsule indirect shadows forcing point samples, breaking primitives using ILCQ_Volume

Change 3407452 on 2017/04/25 by Daniel.Wright

	Added r.AOJitterConeDirections, although disabled by default because it requires the temporal filter to be much stronger

Change 3408397 on 2017/04/25 by Daniel.Wright

	ViewFamily.bRealtimeUpdate is set to false if Slate is throttling (like when toggling show flags).  Volumetric fog discards the temporal history when not realtime, so you can see changes immediately.

Change 3408428 on 2017/04/25 by Daniel.Wright

	Changed 'r.AOMaxObjectsPerCullTile' default back to 512 as 256 causes artifacts with RTDF shadows

Change 3409764 on 2017/04/26 by Daniel.Wright

	Force dumping shader debug info for Global shaders when r.ShaderDevelopmentMode is enabled.  Most of the shaders you want to look at in a GPU capture are global shaders, and global shaders create few debug files.  'recompileshaders global' time 35s -> 38s for SM5.

Change 3411659 on 2017/04/27 by Daniel.Wright

	[Copy] Set Xbox One engine default screen percentage to 83.33 (1600x900), as ESRAM choices are dependent on this

Change 3411660 on 2017/04/27 by Daniel.Wright

	[Copy] Global distance field composite shader has a version for each flattened axis, which improves efficiency when updating a slab which is what camera movement typically causes

Change 3411667 on 2017/04/27 by Daniel.Wright

	[Copy] Discard distance field AO history buffer if it doesn't match the new buffer size.  This prevents reading uinitialized data after a scene render target resize.

Change 3411668 on 2017/04/27 by Daniel.Wright

	[Copy] Better indirect capsule shadow draw event info

Change 3411669 on 2017/04/27 by Daniel.Wright

	[Copy] Pass down FeatureLevel to AddSubjectPrimitive and GatherShadowsForPrimitiveInner instead of calling the scene's virtual function.  Showed up prominently in a sampling profile.

Change 3411755 on 2017/04/27 by Daniel.Wright

	[Copy] Occlusion queries are now always done before the base pass if a nearly full prepass is being used(DDM_AllOccluders or DDM_AllOpaque)
	* Removed r.OcclusionQueryLocation

Change 3411827 on 2017/04/27 by Daniel.Wright

	[Copy] Much cheaper implementation of IsForwardShadingEnabled which showed up prominently in sampling profiles - inlined function and no more unnecessary thread safety overhead

Change 3411829 on 2017/04/27 by Daniel.Wright

	Added an ensure to console manager when doing FindTConsoleVariableData* on a FAutoConsoleVariableRef

Change 3411837 on 2017/04/27 by Daniel.Wright

	[Copy] Worked around slow memcpy's being used to sort FSortedLightSceneInfo

Change 3411838 on 2017/04/27 by Daniel.Wright

	[Copy] Skip tracking MaterialRenderProxyMap on cooked platforms

Change 3411843 on 2017/04/27 by Daniel.Wright

	[Copy] Fixed r.ParallelShadows on PS4 and enabled by default engine-wide (saves 5ms RT with CSM)
	* Gnm was not tracking DepthClearValue when a depth target was set but not cleared
	* Gnm has a bug where TargetsNeedingEliminateFastClear does not persist across commandlist breaks.  Moved FinishRenderingGBuffer before RenderShadowDepthMaps to workaround (accidentally not in this changelist)
	* Shadow depth rendering was not using BindClearMRTValues to populate GNM parallel commandlist TargetsNeedingEliminateFastClear values

Change 3411873 on 2017/04/27 by Daniel.Wright

	[Copy] Deferred uniform expression caching.  Setting multiple parameters on a material only causes its uniform expressions to be recached once.
	* 280 calls to CacheUniformExpressions -> 120 during Fortnite combat (6.5ms -> 3.4ms)

Change 3411891 on 2017/04/27 by Daniel.Wright

	[Copy] GatherShadowPrimitives optimizations
	* Total GatherShadowPrimivies went from 2.3ms -> 1.3ms on PS4 with these changes in GPUPerfTest (duplicated 3x)
	* Much flatter primitive octree (16 -> 256 max primitives)
	* Primitives are culled against the shadow frustum before FPrimitiveSceneInfo or FPrimitiveSceneProxy are dereferenced in FilterPrimitiveForShadows
	* FilterPrimitiveForShadows work is done in a ParallelFor.  Primitive octree nodes are processed in different jobs.
	* StaticMeshWholeSceneShadowBatchVisibility now only stores entries for meshes with bRequiresPerElementVisibility (landscape).  Previously it was allocating and zeroing 500Kb 3x per frame (main view + 2 cascades) which cost ~.8ms on PS4.

Change 3412192 on 2017/04/27 by Michael.Trepka

	Fixed Clang compile errors in FortniteGame, partial copy of CL 3313426

Change 3412547 on 2017/04/27 by Daniel.Wright

	Fixed leak of FShadowMapAllocation and FLightMapAllocation's found by licensee

Change 3414239 on 2017/04/28 by Arne.Schober

	DR - UE-44500 - Removed use of Structured Buffer from MorphTargets due to HLSLCC not supporting it.

	#RB none
	#jira UE-44500

Change 3414754 on 2017/04/28 by Daniel.Wright

	Added VolumetricFogEmissive to ExponentialHeightFogComponent
	* Volumetric fog does not yet support precomputed lighting, so this is the only way to get an ambient lighting term

Change 3416859 on 2017/05/01 by Arne.Schober

	DR - Remove FeatureLevel from the Clear Functions to reduce area of error
	#RB Rolando.Caloca

Change 3420750 on 2017/05/03 by Arne.Schober

	DR - [UE-44497] - Fix several PS4 validation layer issues
	#RB Marcus.Wassmer

Change 3422869 on 2017/05/04 by Benjamin.Hyder

	Fix compile error from merge.

Change 3423938 on 2017/05/04 by Marc.Olano

	[UE-44453] Fix bloom problems by moving saturate after vector math

Change 3424494 on 2017/05/04 by Olaf.Piesche

	#jira UE-44589
	When using FindTCosoleVariableData, the CVar can not be an FAutoConsoleVariable.

	#tests as described in jira ticket

Change 3424754 on 2017/05/04 by Uriel.Doyon

	Fixed call to get texture compressor module outside the main thread.
	#jira UE-42168

Change 3425447 on 2017/05/05 by Uriel.Doyon

	#buildfix

Change 3427042 on 2017/05/05 by Arne.Schober

	DR -  Fix one of my typos
	#RB none

Change 3428119 on 2017/05/08 by Marcus.Wassmer

	Fix UE-44733
	static analysis warning.

Change 3428222 on 2017/05/08 by Uriel.Doyon

	Fixed bad condition in translucency rendering
	#jira UE-44452

Change 3429794 on 2017/05/08 by Uriel.Doyon

	Fixed issues with lightshafts and low res translucency.

	#jira UE-44452

Change 3430921 on 2017/05/09 by Rolando.Caloca

	DR -  Get additional function pointers for D3DReflect, Compile and Disassemble instructions from the same DLL when compiling D3D11 shaders.
	- Also fixes using the correct fxc.exe path to match the DLL we distribute.

Change 3431156 on 2017/05/09 by Rolando.Caloca

	DR - Remove unused code

Change 3431396 on 2017/05/09 by David.Hill

	Copy of changes made directly in 4.16  ( CL 341037 )
	to be submitted to dev-rendering

	#jira UE-44641

Change 3431400 on 2017/05/09 by Rolando.Caloca

	DR - Fix typo

Change 3431527 on 2017/05/09 by David.Hill

	#rb: none

	Oops.
	comment out r.ShaderDevelopmentMode =1

Change 3431590 on 2017/05/09 by Daniel.Wright

	Removed early return landmine in USceneCaptureComponent2D::Serialize

Change 3431591 on 2017/05/09 by Daniel.Wright

	Disallow map building while in PIE, or PIE while buildling lighting

Change 3431594 on 2017/05/09 by Daniel.Wright

	Added RenderTargetFormat to UTextureRenderTarget2D, with choices of 8 bit, 16fp, 32fp and 1, 2 or 4 channels.

Change 3431667 on 2017/05/09 by Daniel.Wright

	Volumetric fog now supersamples lighting when the history is not available, reducing noise on areas that just came on-screen or after a camera cut.
	* The number of samples is controlled by r.VolumetricFog.HistoryMissSupersampleCount, defaults to 4, cinematic scalability uses 16
	* Under fast camera movement, volumetric fog cost went from 1.79ms -> 1.97ms with 4 samples, on a 970GTX

Change 3432366 on 2017/05/10 by Richard.Wallis

	Fix for MetalRHI Asserts When Using "Profile GPU" With RHI-Thread/Parallel-Execution.  Don't insert events when not in RHIThread or the actual single-threaded-render thread.

	#jira UE-36006

Change 3432367 on 2017/05/10 by Richard.Wallis

	Fix for Metal ReStartRenderPass assert with profiling.  macOS metal asserts when using "profileGPU" even with -norhithread argument set.

	Added no action to the allowed render pass restart store actions for the depth buffer avoiding the assert.  Interested to know the details if this is not a valid assumption to make - throwing away the depth buffer after a render pass I think would be a common case.

	#jira UE-44322

Change 3432409 on 2017/05/10 by Richard.Wallis

	Merged across CL 3415890 from Release-4.16 fix for (jira UE-43895)

	Fix for deferred store actions getting cleared when we don't have a valid render target.

Change 3432833 on 2017/05/10 by Daniel.Wright

	Fixed Ocean compile error

Change 3432874 on 2017/05/10 by Marc.Olano

	Improved captions for Noise and VectorNoise material nodes

Change 3432947 on 2017/05/10 by Richard.Wallis

	Fix for shared Material Native Shader Libraries Don't Function With Iterative Cooking.   Keep latest versions of shader byte code in native shared material packaged build in an intermediate directory than can be reused on a later iterative cook.

	- Doesn't handle deletion of the intermediate directory contents.  Assumed to be a higher level requirement on non iterative cook flag.

	#jira UE-44657

Change 3433484 on 2017/05/10 by Arne.Schober

	DR - UE-44393 - Move ShaderPlatform into TShaderMap for extra debuginformation when it fails to find a proper shader. Also log when Gobalshaders are verified and recompiled.
	#jira UE-44393
	#RB Daniel.Wright

Change 3433515 on 2017/05/10 by Arne.Schober

	DR - Fix a bug where recompileshaders changed while compiling causes a crash where the chached local vertex factories are mutated while been used.
	#RB Daniel.Wright

Change 3433606 on 2017/05/10 by Daniel.Wright

	Fixed static shadowing of volumetric fog and translucency causing shadowing past the lightmass importance volume.

Change 3433619 on 2017/05/10 by Daniel.Wright

	Skip recapturing reflection captures when PropagateLightingScenarioChange is being called for a level unload.  This leaves stale results in reflection captures around when hiding a level in the editor, but avoids the double recapture that happens when swapping lighting scenarios in game, and the unnecessary reflection capture update when exiting PIE.

Change 3433795 on 2017/05/10 by Arne.Schober

	DR - add cmdline to select a GPU vendor when multiple GPUs from differnt Vendors are installed into the same Machine
	#RB marcus.Wassmer

Change 3433941 on 2017/05/10 by Daniel.Wright

	Cone vs tile bounding sphere intersection tests for Light Grid culling of spotlights, which provides much tighter culling than just View space tile AABB vs light bounding sphere.
	* Forward shading BasePass 3.7ms -> 2.4ms in a scene with 24 spotlights on 970GTX
	* Volumetric fog 2.87ms -> 2.09ms in the same scene

Change 3435139 on 2017/05/11 by Daniel.Wright

	Restored GTextureRenderTarget2DMaxSizeX which is used by Ocean

Change 3435297 on 2017/05/11 by Arne.Schober

	DR - Remove manual AlignOf and use C++11 keyword instead
	#RB Steve.Robb

Change 3435367 on 2017/05/11 by Daniel.Wright

	Circle vertex buffer for slightly tighter voxelization of volumetric fog shadowed lights
	* 1.5ms -> 1.38ms on 970 GTX with 24 spotlights

Change 3435522 on 2017/05/11 by Brian.Karis

	Dither opacity mask now stacks properly for non parallel polys. Dither is randomized by triangle normal.

Change 3436063 on 2017/05/11 by Daniel.Wright

	Disabled CLB_AggressiveBatching for PC d3d12 as it causes flickering artifacts in lighting

Change 3436269 on 2017/05/11 by Uriel.Doyon

	Fixed UVChannel data possibly not up-to-date depending on user manips.

Change 3436611 on 2017/05/12 by Simon.Tovey

	Improved name and tooltip for static mesh property controlling generation of alias tables for uniform sampling.

Change 3436676 on 2017/05/12 by Simon.Tovey

	Fix for fixed bounds being "invalid" unless set via the toolbar option.

Change 3436700 on 2017/05/12 by Simon.Tovey

	Crash fix.
	Issue found in https://udn.unrealengine.com/questions/355944/crash-in-fdynamicspriteemitterdatagetdynamicmeshel.html

	Particle proxies would have stale material resource pointers if the material is changed while the system was invisible.
	If the old material is freed during this time, the next time the system renders it will crash.

Change 3437367 on 2017/05/12 by Brian.Karis

	Fixed bug with small UV charts not packing.

Change 3437860 on 2017/05/12 by Arne.Schober

	DR - Fix alignment compile error in win32 where according to ABI alignment is 4 for int64
	#RB none

Change 3437972 on 2017/05/12 by Arne.Schober

	DR - Fix alignment compile error in win32 where according to ABI function calls cannot take alingned structures. In all of the cases the copy was completely unnecessary.
	#RB none

Change 3437975 on 2017/05/12 by Chris.Bunner

	Added calculation for MaterialParamsEx to MeshDecals.usf.

	#jira UE-43052

Change 3438109 on 2017/05/12 by Rolando.Caloca

	DR - Support for -nomcpp on SCW

Change 3438889 on 2017/05/15 by Chris.Bunner

	Nullptr check in a few material uniform expressions.

Change 3439351 on 2017/05/15 by Chris.Bunner

	Added tooltip to Power material expression.

Change 3439763 on 2017/05/15 by Daniel.Wright

	Apply passed in DistanceBiasSqr to line lights - allows volumetric fog to reduce aliasing on line lights

Change 3439764 on 2017/05/15 by Daniel.Wright

	Fixed order of operations with bTreatMaxDepthUnshadowed - manifested as unfiltered static shadow depth lookups

Change 3440722 on 2017/05/16 by Guillaume.Abadie

	Exposes Scene capture's FOV to blueprints

Change 3441680 on 2017/05/16 by Uriel.Doyon

	Added units to point light intensity, to allow the user to specify the value in candelas or lumens.
	New point light actors now configure the intensity in candelas by default.
	Replaced viewport exposure settings by an EV100 slider.
	Hidding the tone mapper in the show flag now still applies the exposure.
	Added a new AutoExposure method called EV100 which allows to specify :
	- MinEV100, MaxEV100
	- Calibration Constnat
	- Exposure Compensation
	#jira UE-42783

Change 3441884 on 2017/05/16 by Uriel.Doyon

	Fixed StreamingDistanceMultiplier not being applied to the texture streaming data.

Change 3442800 on 2017/05/17 by Gil.Gribb

	Fixed botched merge.

Change 3442896 on 2017/05/17 by Gil.Gribb

	UE4 - Allowed the possibility of running the RHI "thread" on task threads instead and cleaned up and unified the conditionals involved. By default we still have a dedicated RHI thread because it tested slightly faster.

Change 3443951 on 2017/05/17 by Richard.Wallis

	Added Apple override allocator macro - each command encoder type needs it's own allocator queue.

Change 3444787 on 2017/05/17 by Daniel.Wright

	Fixed DBuffer decal default normal (used when DBuffer decals enabled, but not decals rendered) not reconstructing zero properly, adding -.008 to WorldNormal which then caused artifacts with forward lighting specular on materials with roughness near 0.

Change 3444882 on 2017/05/17 by Daniel.Wright

	Added comment to  FClearValueBinding::DefaultNormal8Bit to make the dependency on shader decode clear

Change 3444883 on 2017/05/17 by Brian.Karis

	Improved contact shadows

Change 3445048 on 2017/05/17 by Daniel.Wright

	Fixed particle lights in forward shading, they were not setting the lighting channel mask properly

Change 3445107 on 2017/05/17 by Michael.Trepka

	Changed the order of operations in FMetalStateCache::SetRenderState to work around an issue with some Intel drivers where they would not recalculate the raster state in some edge cases.

	#jira UE-43725

Change 3445212 on 2017/05/17 by Uriel.Doyon

	Added a -CSV option to ListTextures command

Change 3445947 on 2017/05/18 by Richard.Wallis

	Clone of Release-4.16 Stream CL 3437181 and CL 3442450 - fix(s) for black rendering on macOS El Cap with Nvidia GPU.  Move sampling of EyeAdaption texture to pixel shader for Mac Metal using shader language version <= 1 only.

Change 3446545 on 2017/05/18 by Chris.Bunner

	Removed hardcoded (and unused) MRT write from Decal shaders.

	#jira UE-45095

Change 3446568 on 2017/05/18 by Marc.Olano

	Sobol and image-based importance sampling C++ functions and blueprint nodes

Change 3446988 on 2017/05/18 by Marc.Olano

	Fix build error: missing include

Change 3446990 on 2017/05/18 by Marc.Olano

	Cell-indexed Sobol sampling for shaders (in MonteCarlo.usf) and materials (Sobol and TemporalSobol nodes)

Change 3447142 on 2017/05/18 by Rolando.Caloca

	DR - RWLock instead of mutex for PSO cache

Change 3447144 on 2017/05/18 by Uriel.Doyon

	Moved shading model code to SetGBufferFromShadingModel(). This allows the code to be reused in other shader files.

Change 3447794 on 2017/05/18 by Brian.Karis

	Virtual texturing foundation code

Change 3448944 on 2017/05/19 by Arciel.Rekman

	Fix non-unity Linux (and Mac, etc) builds.

	- Mac fix is tentative, did not try.

Change 3449183 on 2017/05/19 by Marcus.Wassmer

	Duplicate fix for reflection captures to happen after sequencer updates.

Change 3449196 on 2017/05/19 by Uriel.Doyon

	Handling RCM_MinMax when reading FloatRGBA textures.
	This fixes pixel inspector always reading 1 for scene color values greater than one.

Change 3451652 on 2017/05/22 by Rolando.Caloca

	DR - Compile fix

	#jira UE-45245

Change 3451660 on 2017/05/22 by Chris.Bunner

	Additional compile fix.

	#jira UE-45245

Change 3451897 on 2017/05/22 by Daniel.Wright

	Moved RTDF shadow project back after the base pass, since it samples the GBuffer for subsurface shadowing.  Removed r.DFShadowAsyncCompute which was relying on the previous ordering.

Change 3452055 on 2017/05/22 by Rolando.Caloca

	DR - Switch compile fix

	#jira UE-45265

Change 3452089 on 2017/05/22 by Rolando.Caloca

	DR - Compile fix

	#jira UE-45246

Change 3452108 on 2017/05/22 by Rolando.Caloca

	DR - Compile fix

	#jira UE-45246

Change 3452179 on 2017/05/22 by Brian.Karis

	Exposed dimensions. Fixed static analysis.

Change 3452734 on 2017/05/22 by Daniel.Wright

	When post processing is disabled, TPT_TranslucencyAfterDOF translucency gets forced into the standard translucency pass.

Change 3452770 on 2017/05/22 by Daniel.Wright

	Static light source shapes drawn into reflection captures handle SourceLength via scaled sphere

Change 3452861 on 2017/05/22 by Rolando.Caloca

	DR - Switch compile fix

Change 3452952 on 2017/05/22 by Brian.Karis

	Small VT fixes

Change 3453647 on 2017/05/23 by Richard.Wallis

	Fix for tessellation shaders on Mac (Metal v1.2) failing to compile.

	#jira UE-45227

Change 3454844 on 2017/05/23 by Uriel.Doyon

	Fixed extra X16 on some point lights
	#jira UE-45250

Change 3454934 on 2017/05/23 by Chris.Bunner

	Backing out changelists 3441680, 3454636 and 3454844 for the sake of integration stability.

Change 3457131 on 2017/05/24 by Arne.Schober

	DR - [UE-45317] - Fix Depthbuffer not available for resolve in Forward mode

	#jira UE-45317
	#RB Chris.Bunner

Change 3457141 on 2017/05/24 by Marc.Olano

	Sobol bug fixes

Change 3457953 on 2017/05/24 by Brian.Karis

	Fix static analysis

	#jira UE-45315
	#jira UE-45314
	#jira UE-45313

Change 3459064 on 2017/05/25 by Chris.Bunner

	Fix for out of bounds material translation crash.

	#jira UE-45406

Change 3459700 on 2017/05/25 by Brian.Karis

	Revert using sprite index buffer because the vert order is different.

Change 3459847 on 2017/05/25 by Chris.Bunner

	Fixing ensure in RenderTestMap.

[CL 3461201 by Chris Bunner in Main branch]
2017-05-26 08:22:50 -04:00
Chris Bunner
ab9d8e35b1 Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3388261)
#lockdown Nick.Penwarden
#rb None

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3358140 on 2017/03/22 by Rolando.Caloca

	DR - Fix copy to cube face
	- Compile fix when using dump layer
	- Add new error enum

Change 3358301 on 2017/03/22 by Mitchell.Wilson

	Initial check in of LODs in InfiltratorForward. First pass on optimization in level. Adding a visibility track for SceneCapture2D in tunnel section.

Change 3358477 on 2017/03/22 by Mitchell.Wilson

	Updating Skeletal Mesh DPW_Robot_Export to resolve screen size being too low for LOD1. Cleaned up LOD1 which was showing some visible popping when transitioning.

Change 3358529 on 2017/03/22 by Mark.Satterthwaite

	Globally disable clang's "constant-logical-operand" warning when running under Distcc - it is much easier and less invasive than constantly fixing the code.

Change 3358745 on 2017/03/22 by Mark.Satterthwaite

	Disable another warning (parentheses-equality) under Distcc because again the separation of preprocessing from compilation means it turns up where it isn't expected.

Change 3358837 on 2017/03/22 by Joe.Graf

	Merge of pull request #3214 for the RenderDocPlugin

	#CodeReview: matt.kuhlenschmidt, marcus.wassmer
	#rb: marcus.wassmer

Change 3359112 on 2017/03/22 by Ben.Salem

	Update perf monitor to include frame time by default. Also, use only  game/PIE world timers when in editor, instead of all worlds combined.

	#tests Ran several Showdown test runs with plugin!

Change 3359363 on 2017/03/22 by Joe.Graf

	First pass at non-unity & no pch compilation

Change 3359449 on 2017/03/22 by Joe.Graf

	Added missing null check when exporting a EXR on Linux (UE-40268)

	#CodeReview: dmitry.rekman
	#rb: n/a

Change 3360349 on 2017/03/23 by Guillaume.Abadie

	Fixes TAA's AA_FORCE_ALPHA_CLAMP causing DOF layouts.

	#jira UE-42920

Change 3360405 on 2017/03/23 by Marcus.Wassmer

	Better method for detecting Kepler

Change 3360718 on 2017/03/23 by Daniel.Wright

	Planar reflections handle views smaller than the render target in a general way
	* Fixes planar reflections with adaptive pixel density (ViewFamily size larger than actual views combined)
	* Planar reflections are now supported in splitscreen

Change 3360758 on 2017/03/23 by Daniel.Wright

	[Copy] Added new light property bCastVolumetricShadow, which defaults to true for directional and sky lights, but false for point / spot lights as supporting volumetric fog shadowing has significant GPU overhead

Change 3360762 on 2017/03/23 by Daniel.Wright

	[Copy] Texture flags are now properly routed to RHICreateTexture3D from the render target pool

Change 3360768 on 2017/03/23 by Daniel.Wright

	[Copy] Disabled GPUProfiler histogram by default, controlled by r.ProfileGPU.ShowEventHistogram

Change 3360770 on 2017/03/23 by Daniel.Wright

	[Copy] Disabled fast clears on CustomDepth, saves .2ms on xbox

Change 3360771 on 2017/03/23 by Daniel.Wright

	[Copy] Particle lights no longer force tiled deferred lighting.  Tiled deferred lighting is only used if enough unshadowed lights + particle lights are on screen.  Saves 1.5ms Xbox with one particle light.

Change 3360774 on 2017/03/23 by Daniel.Wright

	[Copy] Distance field cvar comments

Change 3360782 on 2017/03/23 by Daniel.Wright

	[Copy] Disabled selection color on Volume materials

Change 3360795 on 2017/03/23 by Daniel.Wright

	[Copy] Volume materials now specify Albedo and Extinction, which is more intuitive than Scattering and Absorption.  Albedo is [0-1] reflectance, while Extinction is a world space density.

Change 3360799 on 2017/03/23 by Daniel.Wright

	[Copy] Cinematic scalability levels get 2x volumetric fog resolution in x and y

Change 3360806 on 2017/03/23 by Daniel.Wright

	[Copy] Fixed volumetric fog being offset when viewport min is not 0

Change 3360809 on 2017/03/23 by Daniel.Wright

	[Copy] Volumetric fog now adds a bias to the inverse squared light falloff denominator, prevents extreme aliasing from the hotspot.  Can be controlled with r.VolumetricFog.InverseSquaredLightDistanceBiasScale.

Change 3361651 on 2017/03/23 by Brian.Karis

	Higher quality sharp SSR at quality 4

Change 3361678 on 2017/03/23 by Brian.Karis

	Fresnel darkens diffuse for clearcoat.

Change 3361683 on 2017/03/23 by Brian.Karis

	Fixed SSR artifact

Change 3361691 on 2017/03/23 by Brian.Karis

	Chagned min roughness limit

Change 3361707 on 2017/03/23 by Brian.Karis

	Added inverse film tone map

Change 3361726 on 2017/03/23 by Brian.Karis

	Better precision inverse

Change 3361758 on 2017/03/23 by Brian.Karis

	Material flag normal curvature to roughness is no longer forward only.

Change 3361765 on 2017/03/23 by Brian.Karis

	Update ACES

Change 3361774 on 2017/03/23 by Brian.Karis

	Cleaned up alpha support and disabled screen edge clipping.

Change 3362478 on 2017/03/24 by Guillaume.Abadie

	Cherry pick 3316084's PostProcessing.cpp: Fixes a bug in Circle DOF where the apply pass was no longer using the downres DOF's TAA output.

	#author Brian.Karis

	#jira UE-42920

Change 3362738 on 2017/03/24 by Rolando.Caloca

	DR - Hide scene capture on IF

Change 3362890 on 2017/03/24 by Guillaume.Abadie

	Renames r.SceneAlpha to r.PostProcessing.PropagateAlpha

Change 3363665 on 2017/03/24 by Mark.Satterthwaite

	PR #3414: Add command line option "-noheartbeatthread" to disable heart beat thread (Contributed by JeffRous)

Change 3363866 on 2017/03/24 by Arne.Schober

	DR - Updated NVAPI
	#RB Marcus.Wassmer

Change 3364300 on 2017/03/24 by Brian.Karis

	SSR use dynamic velocity

Change 3364372 on 2017/03/24 by Brian.Karis

	Fix changing off axis projection velocities.

Change 3364373 on 2017/03/24 by Brian.Karis

	Enabled velocity drawing in scene captures

Change 3365531 on 2017/03/27 by Guillaume.Abadie

	Computes the material's screen position material expression directly from the pixel shader SvPosition

Change 3365764 on 2017/03/27 by Chris.Bunner

	Lowering severity of crash for missing values in scalability.ini.

	#jira UE-41331

Change 3365916 on 2017/03/27 by Guillaume.Abadie

	Exposes the viewport offset within the view property material expression

Change 3365979 on 2017/03/27 by Brian.Karis

	Fixed skylight intensity from double applying

Change 3365987 on 2017/03/27 by Brian.Karis

	Stopped post process indirect lighting intensity from scaling skylight reflections

Change 3365991 on 2017/03/27 by Brian.Karis

	Fix for static analysis

Change 3366028 on 2017/03/27 by Daniel.Wright

	Volumetric fog supports static shadowing from Stationary lights
	* Using bilinear on static shadowmap depths + 1 PCF to smooth out results

Change 3366029 on 2017/03/27 by Daniel.Wright

	Static shadow depth maps for Stationary point and spot lights are 2x higher res by default (4x more texels), which is more appropriate for volumetric fog

Change 3366055 on 2017/03/27 by Guillaume.Abadie

	Cherry picks 3251469: Implements scene capture component's CaptureSortPriority to control GPU execution order in order to manage inter dependencies.

Change 3366447 on 2017/03/27 by Simon.Tourangeau

	Fix IES light profile importer.
	- Bug in the LM-63-1986 format importer.

Change 3366836 on 2017/03/27 by Brian.Karis

	ClearUAV now supports int types

Change 3367435 on 2017/03/28 by Benjamin.Hyder

	Submitting Decal Automation map for initial approval

Change 3367572 on 2017/03/28 by Chris.Bunner

	Changed ClampedPow {max(abs(x),0.00001)} to PositiveClampedPow {max(x,0)} to give more expected results to Power node in material graphs.

	#jira UE-42989

Change 3367756 on 2017/03/28 by Olaf.Piesche

	Niagara material usage flags

Change 3367835 on 2017/03/28 by Marcus.Wassmer

	Fix crash when TileRenderer runs before anything else.  Make explicit behavior when rendering at a time when there is no valid scene.

Change 3367837 on 2017/03/28 by Marcus.Wassmer

	Missed a file.

Change 3367838 on 2017/03/28 by Richard.Wallis

	Updated items from original shelved version by Mark Satt:

	- Added MetalBackend.cpp to change main function string to have an initial crc + code length zero's

	**Description below taken from Mark Satt's original verison of this in CL3343280**

	Updated for Dev-Rendering's PSOs & integrates Richard's work on RHI shader libraries.

	Replace the FShaderCache's cook-time binary shader cache with Dmitriy Dyomin's standalone FShaderCodeLibrary that saves all shader byte-code arrays to files named by the FSHAHash. This de-duplicates shaders so we only ever store the byte code once. Includes optional support for generating a platform specific library file - which Metal implements to provide a single Metal library. The platform-native implementation can perform more de-duplication and in the case of Metal has lower file overheads and will compress more efficiently.

	- All of the support code for the FShaderCache's cook caching is gone, which affects all platforms. The FShaderCodeLibrary is currently  supported by Cook-By-The-Book but can be used with iterate or child cookers - only DLC cooking requires further work.
	- With further modifications it should be possible to support Cook-on-the-Fly as well (output directories would be needed in FShaderCodeLibrary::InitForCooking) and the file-access pattern should be changed to use async. IO so that Material loading is not considered complete until all required byte-code arrays are loaded into the FShaderCodeLibrary.
	- For Metal archiving shaders this way will compile with debug information and the FShaderCodeLibrary, with some help from extensions to IShaderFormat, will save the debug information out into separate files during cooking - these can then be used to debug the game without having to locally recompile, recook & repackage but the shipped byte-code is stripped. Global shader caches are also subject to de-duplication in the library in order to support Metal's shader stripping.
	- File Move operations need to respect the 'Replace' flag - for FShaderCodeLibrary to work we need Move to be atomic.
	- This bumps the object version and will cause all content to recook.
	- Native library support is optional - only Metal currently implements one, but so could Vulkan and D3D12. For Metal the big advantages are further de-duplication where different materials generate the same MetalSL text but a different FSHAHash, that the single Metal library has lower overhead and that as a single file it all compresses far better (esp. with LZMA - 5x smaller).

Change 3367854 on 2017/03/28 by Mark.Satterthwaite

	Don't track or record draw call resources for non-OpenGL shader platforms in the shader-cache as it is unnecessary and makes it slower on the CPU than it needs to be.

Change 3367877 on 2017/03/28 by Brian.Karis

	Fixed linux build hopefully

Change 3368001 on 2017/03/28 by Mark.Satterthwaite

	Compile fixes from Richard's checkin caused by not having visibility to all platforms from my original shelves.

Change 3368019 on 2017/03/28 by Mark.Satterthwaite

	And another fix for Windows compilation of MetalShaderFormat.

Change 3368042 on 2017/03/28 by Mark.Satterthwaite

	And a couple of simpler MSVC errors.

Change 3368271 on 2017/03/28 by Mark.Satterthwaite

	Make SceneRenderTargets compile again.

Change 3368691 on 2017/03/28 by Daniel.Wright

	[Copy from BenW] Renamed r.Shadow.MaxCSMShadowResolution to r.Shadow.MaxCSMResolution to match scalability inis

Change 3369689 on 2017/03/29 by Marcus.Wassmer

	Fix non editor compile for now

Change 3369862 on 2017/03/29 by Marcus.Wassmer

	Get the rest of the things compiling again.

Change 3369896 on 2017/03/29 by Chris.Bunner

	Enabling AMD HDR support by default.

	#jira UE-42113

Change 3370535 on 2017/03/29 by Marcus.Wassmer

	DR - Fix template explicit instantiation for ClearUAV permutations
	#RB Brian.Karis, Arne.Schober

Change 3370704 on 2017/03/29 by Rolando.Caloca

	DR - Rewrote GPU Skin Cache
	- Per section buffers
	- Limited memory per non-editor worlds (control with r.SkinCache.SceneMemoryLimitInMB)
	Copied from 3370529

Change 3371389 on 2017/03/30 by Richard.Wallis

	Remove temp working directories after archive packages built.

Change 3371641 on 2017/03/30 by Rolando.Caloca

	DR - Copy 3371640 (fix mem leak)

Change 3372436 on 2017/03/30 by Uriel.Doyon

	Added flags in UPrimitiveComponent to keep track of its state in the streaming manager.
	This allows to avoid unnecessary callback and processing in begin destroy reattach and being destroy logic.

	Removed the limitation of only processing UMeshComponent when handling spawed primitive.
	This releases the level manager from having to manage dynamic primitives.
	This improves performance by not having to manage dynamic references in the level manager.

	Primitives managed as dynamic now have a callback when ever their proxy is udpated, handling
	many cases automatically where previously a manual callback to notify would have been required.

	Fixed an issue where primitives with no reference to streaming textures would loose they dynamic state
	because of lack of references in the streamer.

Change 3372740 on 2017/03/30 by Chris.Bunner

	[Experimental] Partial compute post process pipeline (r.PostProcess.PreferCompute).
	StencilSceneTexture added to deferred list.
	A few known issues to be fixed in a follow-up CL.

Change 3372765 on 2017/03/30 by Uriel.Doyon

	Disabled concurrent call to NotifyPrimitiveUpdated while we don't have a safe concurrent update

Change 3372979 on 2017/03/30 by Richard.Hinckley

	#jira UE-43501
	The stencil buffer can now use single-channel bitmasks that ignore depth. This makes it possible to detect overlaps between stencil objects.

Change 3373053 on 2017/03/30 by Simon.Tourangeau

	LPV Fade support
	- mostly integrated from CL 2959511

Change 3373272 on 2017/03/30 by Uriel.Doyon

	Added support for the concurrent update of dynamic primitives by the streaming manager.

Change 3373450 on 2017/03/30 by Rolando.Caloca

	DR - FNT - Fix bad data for odd texcoord channels used on skin cache passthrough factory
	Copy 3373364

	#jira UE-43492

Change 3373470 on 2017/03/30 by Marcus.Wassmer

	Nvidia Aftermath support

Change 3374187 on 2017/03/31 by Chris.Bunner

	Volume texture support for CombineLUTs/Tonemap compute pass.
	Refactored common param code to shared sub-class in CombineLUTs and Tonemap PS/CS.
	Skip compute post process out-of-bounds writes.
	Unsigned type conversion fixes.
	Trimmed compute post process shader inputs.

Change 3374233 on 2017/03/31 by Chris.Bunner

	Removed several redundant post process compute fences and resource transitions.
	Added testing CVar to force compute post processes to async (r.PostProcess.ForceAsyncDispatch).

Change 3374412 on 2017/03/31 by Rolando.Caloca

	DR - Fix static analysis

Change 3374544 on 2017/03/31 by Richard.Wallis

	FShaderCache Parallel-Context-Aware Merged with FShaderCache Single Library.

	Future Work
	- This was done before Engine PSO were in so this now needs a refector in the recording and playback on pipeline states instead an emulate PSO in OpenGL Driver.
	- Remove FShaderCacheState and replace the logic with FGraphicsPipelineStateInitializer which should be able to record from the RHI current pipeline state
	- This would reduce the Locking required as it's naturally per thread/context and only the final record would need a lock

Change 3374588 on 2017/03/31 by Richard.Wallis

	Windows Compile Fixes

Change 3374810 on 2017/03/31 by Benjamin.Hyder

	updating recommended GPU drivers

Change 3375207 on 2017/03/31 by Rolando.Caloca

	DR - vk - Fixed swapchain format selection for some Linux platforms

Change 3375248 on 2017/03/31 by Rolando.Caloca

	DR - vk - Prefer D32S8

Change 3375495 on 2017/03/31 by Rolando.Caloca

	DR - vk - Update to sdk 1.0.42.2

Change 3375496 on 2017/03/31 by Rolando.Caloca

	DR - Force compiling with updated Vulkan SDK

Change 3375636 on 2017/03/31 by Mark.Satterthwaite

	Copying Metal improvements from task stream, with some modifications:
	- Off-by-default implementations for MTLFence & MTLHeap, including some small changes to the RHI interface for parallel contexts.
	- Support for Apple's Instruments "Points of Interest" tool.
	- Consolidation of some Mac & iOS compiler, memory and thread handling code.
	- Fixes for Metal not having implicit buffer SRV typecasting for DistanceField effects.
	- Improvements to the internal FMetalDebug layer, still off by default.
	- Limited support for Xcode automatic code-signing for iOS/tvOS.
	- Minimisation of render-target changes in some rendering code, esp. SceneOcclusion, DBufferDecals.
	- Added RHISetResourceAliasability_RenderThread to FDynamicRHI for RHIs to implement simple render-target aliasing.
	- Added FApplePlatformObject, a custom block allocator for Objective-C types (with NSZombie support) which is now used in MetalRHI to decrease allocation costs of Objective-C types.
	- Smattering of lesser fixes.

Change 3375654 on 2017/03/31 by Mark.Satterthwaite

	Incremental Windows build fix.

Change 3375656 on 2017/04/01 by Mark.Satterthwaite

	Correct extern declaration, including the module export macro which Mac unhelpfully doesn't enforce (for now...).

Change 3375797 on 2017/04/01 by Mark.Satterthwaite

	Nullability qualifiers to fix Mac build-farm compilation: perversely this is not a problem for local builds...

Change 3375798 on 2017/04/01 by Mark.Satterthwaite

	Fix the first mis-merge in ParticleGpuSimulation - these changes clearly weren't properly resolved in the task-stream.

Change 3375835 on 2017/04/01 by Mark.Satterthwaite

	Try again with nullability and fix the occlusion changes as the PSO work wasn't merged correctly.

Change 3376143 on 2017/04/02 by Mark.Satterthwaite

	Switch back to flat dSYMs for Dev-Rendering - they don't work with Instruments etc. but they are required by our build system.

Change 3376324 on 2017/04/03 by Chris.Bunner

	Fixed cvar re-registration log spam and flagged a testing-only cvar as such.

Change 3376726 on 2017/04/03 by Benjamin.Hyder

	Submitting initial HDR test map (WIP)

Change 3376756 on 2017/04/03 by Guillaume.Abadie

	Fixes scene captures ordering's backward compatibility.

	Before, 2d scene captures were rendered before cube scene captures. The CaptureSortPriority broke backward compatibility by settings this new member to 0 in the USceneCaptureComponent's constructor. Since it is a higher come first policy, this CL set the default of this value to 1 in USceneCaptureComponent2D's constructor.

Change 3377378 on 2017/04/03 by Arne.Schober

	DR - Fix ShaderRecompiling over and over again
	#RB Chris.Bunner

Change 3377512 on 2017/04/03 by Daniel.Wright

	[Copy] Fixed profilegpu in d3d12 - initialize FLongGPUTaskPS when it is safe to do so, and fixed FSlateRHIRenderer's incorrect usage of draw events

Change 3377518 on 2017/04/03 by Daniel.Wright

	[Copy] Distance field atlas coalesces updates to reduce RHIUpdateTexture3D memory overhead on d3d12

Change 3377526 on 2017/04/03 by Daniel.Wright

	[Copy] "Ran out of GPU queries!" log only happens once

Change 3377535 on 2017/04/03 by Daniel.Wright

	[Copy] Fixed unreferenced local variable

Change 3377539 on 2017/04/03 by Daniel.Wright

	[Copy] Xbox One RHIGetResourceInfo takes ESRAM into account - fixes render target pool 'VRamInKB request failed' messages

Change 3377546 on 2017/04/03 by Daniel.Wright

	[Copy] Added r.LightMaxDrawDistanceScale for local light scalability

Change 3377553 on 2017/04/03 by Daniel.Wright

	[Copy] Removed NEW_ESRAM_ALLOCATOR define and old unused path

Change 3377560 on 2017/04/03 by Daniel.Wright

	[Copy] Fixed two d3d12 refcounting bugs causing -norhithread crashes

Change 3377565 on 2017/04/03 by Daniel.Wright

	[Copy] Fixed Xbox One deleting GPU resources before the GPU is done reading from them (GRHINeedsExtraDeletionLatency was false)

Change 3377572 on 2017/04/03 by Daniel.Wright

	[Copy] Disabled point / spot lights with MaxDrawDistance on LowPC

Change 3377586 on 2017/04/03 by Daniel.Wright

	Fixed compile error

Change 3377699 on 2017/04/03 by David.Hill

	FFT Code.  Moved over from raven and refactored

	#review-3374589 @guillaume.abadie

Change 3377910 on 2017/04/03 by David.Hill

	GPU FFT: Fix Linux Build
	adding a missing template<> to an IMPLEMENT_SHADER_TYPE

Change 3378751 on 2017/04/04 by Marcus.Wassmer

	HQ particle lights now spawn attached to the same socket as their parent module.

Change 3378819 on 2017/04/04 by Richard.Wallis

	Should be no need to protect shader cache against RHI thread now.

Change 3378823 on 2017/04/04 by Richard.Wallis

	FRHIShaderLibrary Opaque Type

	- Base FRHIShaderLibrary has no Create*Shader functions and is passed to Overloaded RHICreate*Shader functions instead of creation directly through the library.
	- Assumed that only Native libraries will end up in the RHICreate*Shader functions.
	- ShaderCache and ShaderCode Libraries now inherit from a common factory interface.

Change 3378883 on 2017/04/04 by Arne.Schober

	DR - Fix DCC build

Change 3378885 on 2017/04/04 by Richard.Wallis

	Metal resource cast compile fix post merge.

Change 3378946 on 2017/04/04 by Chris.Bunner

	SM4 assert fix.

Change 3378953 on 2017/04/04 by Chris.Bunner

	Fixed type-correctness on legacy BreakMA material nodes and set more flexible formats to global attributes which should result in much more forgiving graphs for users.
	Allowed material nodes to opt out of mask-based pin coloration.
	#tests Compiled most Paragon materials + QAGame test maps.

	#jira UE-39885

Change 3379189 on 2017/04/04 by Arne.Schober

	DR - Fix aftermath staging

Change 3379229 on 2017/04/04 by Arne.Schober

	DR - Fix missing include

Change 3379374 on 2017/04/04 by Mark.Satterthwaite

	Revert an accidentally merged change in MacPlatformProcess that relies on further changes from the Metal task stream.

Change 3379505 on 2017/04/04 by Rolando.Caloca

	DR - Fix mismatched interpolators

Change 3379539 on 2017/04/04 by Mark.Satterthwaite

	No FFT for any hlslcc platform - the IR for one or more RWTexture2D isn't quite right...

	#jira UE-43626

Change 3379561 on 2017/04/04 by Rolando.Caloca

	DR - Fix root signature issues on D3D12 PC

Change 3379590 on 2017/04/04 by Mark.Satterthwaite

	Back out changelist 3379539 & change the shader slightly instead, the HLSLCC library generates bogus IR when you have an inout RWTexture.

	#jira UE-43626

Change 3379917 on 2017/04/04 by Uriel.Doyon

	Fix to input mismatch

Change 3380578 on 2017/04/05 by Chris.Bunner

	Shader type fixes.

	#jira UE-43652

Change 3380639 on 2017/04/05 by Rolando.Caloca

	DR - Expose GetOrCreate PSO and document

Change 3380821 on 2017/04/05 by Guillaume.Abadie

	Fixes a crash in USceneCaptureComponent::UpdateDeferredCaptures()

	#jira UE-43642

Change 3381092 on 2017/04/05 by Guillaume.Abadie

	Cherry pick 3362517: Implements TAA's scene color unpremultiplication from alpha channel to reduce DOF alpha channel temporal ghosting.

	This CL take the oportunity to transform AA_ALPHA to an compile time enumeration, and add a basic TAA compile time configuration validation to improve readability of the different TAA passes' configurations.

Change 3381300 on 2017/04/05 by Mark.Satterthwaite

	Quick fix for changes to MetalRHI's render-thread safe texture creation not correctly handling AVFoundation video player handing us an IOSurface.

	#jira UE-43597

Change 3381359 on 2017/04/05 by Guillaume.Abadie

	Back out changelist 3381092

Change 3381421 on 2017/04/05 by Mark.Satterthwaite

	Amended CL #3380995 from Richard Wallis to address crash in the Material Editor under the validation layer - when there are no textures bound the default pass descriptor assigns store actions, which means we can't override them with our deferred store actions.

	#jira UE-43689

Change 3381422 on 2017/04/05 by Mark.Satterthwaite

	Absolute time queries can't be batched in Metal but I also can't rely on them being started with a call to BeginQuery - only EndQuery.

	#jira UE-43691

Change 3381503 on 2017/04/05 by Daniel.Wright

	More intuitive controls for Volumetric Fog
	* Removed ScatteringScale / AbsorptionScale on Exponential Height Fog and added Albedo / Extinction
	* InscatteringColorCubemap is now supported by Volumetric Fog
	* Particle lights have a default VolumetricScatteringIntensity of 0 to avoid trailing
	* Tweaked GVolumetricFogDepthDistributionScale better for nearby details
	* Volume Materials have twice the interpolators available

Change 3381527 on 2017/04/05 by Mark.Satterthwaite

	Disable Private GPU storage for PVRTC texture formats on iOS Metal - these require more changes to the blit-encoder usage as PVRTC has strange requirements.

Change 3381671 on 2017/04/05 by Mark.Satterthwaite

	Better error message for failure to compile shaders remotely from PC for Metal.

Change 3381769 on 2017/04/05 by Rolando.Caloca

	DR - Added lock texture array 2d on Vulkan

Change 3382003 on 2017/04/05 by Mark.Satterthwaite

	Remove the automatic Metal aliasing/re-use when releasing some resource types as it doesn't work as intended.

Change 3382030 on 2017/04/05 by Zachary.Wilson

	Fix compiling Metal text shaders from PC broken in merge from task stream.
	#submitter mark.satterthwaite

	#jira UE-43652

Change 3382880 on 2017/04/06 by Mark.Satterthwaite

	Michael Trepka's CL #3379927:
	VolumetricFogVoxelization implementation for Mac

Change 3383315 on 2017/04/06 by Mark.Satterthwaite

	Partially revert CL #3382003 - the emulated Metal heaps require invoking makeAliasable in order to reclaim memory.

	#jira UE-43739

Change 3384639 on 2017/04/07 by Marcus.Wassmer

	Move ShaderResource version bump to RenderingObjectVersion

Change 3384704 on 2017/04/07 by Mark.Satterthwaite

	Compile fix for merge.

Change 3384933 on 2017/04/07 by Rolando.Caloca

	DR - Fix skin cache crash with BP (copy 3384714)

Change 3385104 on 2017/04/07 by Mark.Satterthwaite

	Fix MetalRHI's abs(int2) handling - it can't be translated to fabs(int2) as that won't compile. Also rebuild hlslcc for my sanity.

	#jira UE-43783

Change 3385105 on 2017/04/07 by Mark.Satterthwaite

	Force a shader rebuild to ensure that everybody picks up the fix for #jira UE-43783

	#jira UE-43783

Change 3385118 on 2017/04/07 by Arne.Schober

	DR - [OR-37359] - Fix disapearing Decals when StencilLod Fade is enabled
	#RB none

Change 3385149 on 2017/04/07 by Marcus.Wassmer

	Fix skincache motion blur

Change 3385189 on 2017/04/07 by Rolando.Caloca

	DR - Fix swapchain format for editor on Vulkan

Change 3385287 on 2017/04/07 by Mark.Satterthwaite

	Enable SM5 on Intel as of 10.12.4 and later.

Change 3385347 on 2017/04/07 by Rolando.Caloca

	DR - Temp fix for GL4 corruption on editor
	#jira UE-43785

Change 3385363 on 2017/04/07 by Rolando.Caloca

	DR - Actually fix all win platforms for GL bug
	#jira UE-43785

Change 3385557 on 2017/04/07 by Arne.Schober

	DR - [UE-43205] - Fix mesh paint
	#RB none

Change 3385608 on 2017/04/07 by Daniel.Wright

	Fixed SampleCmp being used on a non-depth texture, causing a d3d error

Change 3385980 on 2017/04/10 by Rolando.Caloca

	DR - Remove transition functions RHIClearColor* RHIClearDepthStencilTexture

Change 3386042 on 2017/04/10 by Rolando.Caloca

	DR - Fix metal merge issue

Change 3386157 on 2017/04/10 by Rolando.Caloca

	DR - Remove VS2013 libs generation off hlslcc & glslang (to match main)

Change 3386356 on 2017/04/10 by Chris.Bunner

	Resolving merge errors.

Change 3386414 on 2017/04/10 by Chris.Bunner

	Resolved merge issue in RendererScene.cpp.

Change 3386700 on 2017/04/10 by Mark.Satterthwaite

	Silence documentation warnings.

Change 3387178 on 2017/04/10 by Chris.Bunner

	Removed invalid mask correction on MakeMA material nodes.

Change 3388177 on 2017/04/11 by Marcus.Wassmer

	Disable ensure that is no longer relevant now that we bind clear colors on texture creation

Change 3388261 on 2017/04/11 by Chris.Bunner

	Static analysis fix.

[CL 3388266 by Chris Bunner in Main branch]
2017-04-11 10:32:07 -04:00
Thomas Sarkanen
1547db70c9 Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3362413)
#lockdown Nick.Penwarden

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3281394 on 2017/02/01 by Chad.Garyet

	one more try on the name here, with the extension this time

Change 3286009 on 2017/02/03 by Jon.Nabozny

	Fix SkelMeshMerge duplicating Skeleton sockets.

	#jira UE-39690

Change 3288374 on 2017/02/06 by Jon.Nabozny

	Fix MaterialIndex checks in USkinnedMeshComponent::GetMaterial

Change 3288640 on 2017/02/06 by Jon.Nabozny

	#rn Fix UPhysicsConstraintComponent details to allow modification of MaxForce, Stiffness, and Damping for Linear and Angular constraints.

	#jira UE-40261

Change 3288978 on 2017/02/06 by Jon.Nabozny

	Add code to debug for duplicate sockets in UQAMeshMergeComponent::MergeMeshes.

Change 3290332 on 2017/02/07 by Marc.Audy

	Add AnimPhys object version

Change 3290753 on 2017/02/07 by Jon.Nabozny

	Update CoM documentation for CoM offset.

	#jira UE-40136

Change 3290783 on 2017/02/07 by Jon.Nabozny

	Update mass dependent wheel properties in UWheeledVehicleMovementComponent when mass is updated.

	#jira UE-39820

Change 3292286 on 2017/02/08 by Jon.Nabozny

	Fix OSSNull query filtering.

	#codereview: John.Pollard, Josh.Markiewicz, JohnHenry.Carawon
	#jira: UE-37512

Change 3294138 on 2017/02/09 by Thomas.Sarkanen

	Add more descriptive name for sub-struct members in property tracks

Change 3294139 on 2017/02/09 by Thomas.Sarkanen

	Moving to individual structs for limbs

Change 3294140 on 2017/02/09 by Thomas.Sarkanen

	Updated base human asset to reflect limb changes

	Updated map to just contain the mannequin for now
	Updated Sequence to contain some default IK keys

Change 3294178 on 2017/02/09 by Thomas.Sarkanen

	Fix shadow variable warning

Change 3294554 on 2017/02/09 by Thomas.Sarkanen

	Fixed persistent limb drift issues with non-participant bones

	Still have rotational drift with IK chain nodes (still to fix).
	Also fixes the addition of initial keys on binding when animating.
	Also fixes not being able to pick the widget sometimes when picking nodes in the tree.

Change 3294826 on 2017/02/09 by Chad.Garyet

	fixing up busted defaultvalues on physx and precompiled binaries

Change 3294827 on 2017/02/09 by Thomas.Sarkanen

	CIS fixes for non-editor and monolithic builds

Change 3296363 on 2017/02/10 by Thomas.Sarkanen

	Fix bone drifting

	Re-using local transforms then resetting each update pass was accumulating error (via GetRelativeTransform), causing limbs to drift. To address this, simply set the global transform in the case where we know the local transform wont change.
	Also optimized the hierarchy API a little & prevented excess work when nothing changes.

Change 3296393 on 2017/02/10 by James.Golding

	Add support for clicking on PoseDriver targets in viewport

Change 3296465 on 2017/02/10 by Thomas.Sarkanen

	Removed component visualizer (no longer used)

Change 3296467 on 2017/02/10 by Thomas.Sarkanen

	Fixed extra keys being made when switching IK/FK mode. Now we only key on user action.

	Added ability to hide nodes (advanced setting) and manipualtors (on playback)

Change 3296554 on 2017/02/10 by Thomas.Sarkanen

	Fixed up some workflow issues

	Widget visibility and the ability to move actors around is now corrected by calling the base FEdMode class functions appropriately.
	Added a focus of the chosen actor so orbiting the actor is easier. There is a hitch when we do this (probably because Sequencer is re-initialized the next frame), so we miss the nice transition.

Change 3296621 on 2017/02/10 by Thomas.Sarkanen

	Added ability to specify manipulator type when adding

	Not exposed in the 'add' UI yet, just enough to allow me to batch-change the ones we have for now
	Also tweaked default extents for box manipulators.

Change 3296622 on 2017/02/10 by Thomas.Sarkanen

	Changed FK manipulators to boxes

Change 3296740 on 2017/02/10 by James.Golding

	Added bOnlyDriveSelectedBones option to PoseDriver

Change 3296957 on 2017/02/10 by James.Golding

	Fix AnimNode_PoseHandler using mesh bone index not compact bone index for setting up BoneBlendWeights array

Change 3297092 on 2017/02/10 by Jon.Nabozny

	#rn Fix InstancedStaticMesh not properly creating physics state when Stationary.

	#JIRA UE-39876

Change 3297160 on 2017/02/10 by Ori.Cohen

	Temp fix for physx immediate mode crashing when 0 rows are generated.

Change 3297203 on 2017/02/10 by Ori.Cohen

	Temp fix for immediate mode crash when free joints are batched together

	#JIRA UE-41026

Change 3297326 on 2017/02/10 by Jon.Nabozny

	PR #2965: Update comments in several classes within demo projects to match style present and provide more detail for new users (Contributed by Markyroson)

	Changed some of the comment blocks to multiple single line (inside definitions). This is for consistency with our codebase.

	#JIRA UE-38981

Change 3297618 on 2017/02/10 by Charles.Anderson

	Arcblade - GDC
	- Created a new mor polished Phat for this.  Probably not gonna use it.
	- Created a Ragdoll asset. Need to talk to Ori about getting it working better.

Change 3297799 on 2017/02/10 by mason.seay

	Test map for testing audio attenuation

Change 3297940 on 2017/02/10 by Jon.Nabozny

	#rn Fix ConstraintComponentVisualizer with AngularOffset.

	Needed to apply local transform before world.

	#JIRA UE-39597

Change 3297947 on 2017/02/10 by Chad.Garyet

	adding automated test build option

Change 3299203 on 2017/02/13 by Thomas.Sarkanen

	Fixed local coord system issues with rotation (etc).

	Delta transforms are supplied in the space we specify in GetCustomDrawingCoordSystem(), so we now perform our operations in that space, then convert back when applying to the animation.
	Fixed up to allow for animating actors with transformed skeletal mesh components.
	Also added some proximity scaling to manipulators.

Change 3299220 on 2017/02/13 by Thomas.Sarkanen

	Fixed CIS missing include

Change 3299343 on 2017/02/13 by Lina.Halper

	Spine twist/roll check in
	- control points are disabled

	#rb: Thomas.Sarkanen

Change 3299388 on 2017/02/13 by James.Cobbett

	Updating QA-Physics map

Change 3299518 on 2017/02/13 by Lina.Halper

	fix build issue

	#rb: none

Change 3299701 on 2017/02/13 by Ori.Cohen

	Add finer grain physx stat information.

Change 3299894 on 2017/02/13 by Ori.Cohen

	Added LOD support for immediate mode physics

Change 3299906 on 2017/02/13 by James.Cobbett

	Updating QA-Collision map with new test scenarios

Change 3299962 on 2017/02/13 by Ori.Cohen

	Fix shadow warning

Change 3300100 on 2017/02/13 by Lina.Halper

	- renamed Constraint Axes option to FFilterOptionPerAxis : was going to reuse it for something else but didn't have to but left name changed because it makes more sense
	- enable control point reading part
	- twist/roll controll is localspace reader - BaseHuman

	#rb: none
	#code review:Thomas.Sarkanen

Change 3300206 on 2017/02/13 by Ori.Cohen

	Rename Ragdoll node to RigidBody node

Change 3300899 on 2017/02/13 by Alan.Noon

	Migrating Paragon Origin and Origin Small maps content.

Change 3301279 on 2017/02/14 by Jurre.deBaare

	Mesh paint refactor

Change 3301288 on 2017/02/14 by Jurre.deBaare

	Incremental CIS fixes

Change 3301290 on 2017/02/14 by Jurre.deBaare

	Another CIS fix

Change 3301311 on 2017/02/14 by Thomas.Sarkanen

	Fixed non-editor builds

Change 3301313 on 2017/02/14 by Jurre.deBaare

	More CIS fixes

Change 3301315 on 2017/02/14 by Jurre.deBaare

	Include CIS fix

Change 3301333 on 2017/02/14 by Jurre.deBaare

	Non-Unity CIS fixes

Change 3301388 on 2017/02/14 by Benn.Gallagher

	CIS fix for cloth create panel

Change 3301445 on 2017/02/14 by Benn.Gallagher

	Last few changes over from the mesh paint branch
	hooked up LOD dropdown box
	Moved asset selection out of details panel

Change 3301527 on 2017/02/14 by mason.seay

	Deleting unneeded map

Change 3301531 on 2017/02/14 by mason.seay

	Renaming Map to fix naming scheme

Change 3301558 on 2017/02/14 by Ori.Cohen

	Fix physx stats not being counted properly as we were not using static data.

Change 3301604 on 2017/02/14 by Ori.Cohen

	Fix static analysis warning

Change 3301615 on 2017/02/14 by Jurre.deBaare

	All. The. CIS. Fixes

Change 3301630 on 2017/02/14 by mason.seay

	Updating Map for testing

Change 3301697 on 2017/02/14 by mason.seay

	Final change to map

Change 3301734 on 2017/02/14 by Jurre.deBaare

	- Crash CTRL-Z when having cloth painter and paint mode open
	- Fill action not being undo-able
	- Import vertex colors should default to to-instance
	- Paint mode buttons in level painter are now toggle buttons (clarifies UI for user)

Change 3301763 on 2017/02/14 by Jurre.deBaare

	- Fix for asset without engine version
	- Fix for crash due to missing skeletal mesh permutation in mesh paint view modes

Change 3302421 on 2017/02/14 by Lina.Halper

	Fixed issue where spline gets incorrect position when it has many control points.

	#rb: Thomas.Sarkanen

Change 3302667 on 2017/02/14 by Lina.Halper

	- added spine control points to work
	  - FK/IK switch isn't working great yet. Don't try
	  - disabled all twist/roll handling since control point itself can twist also and they were conflicting each other
	- added option to add fk nodes, change parnets
	  - fixed issue with drawing skeleton drawing, when parents weren't added yet.
	- Added neck/head/body control

	#code review: Thomas.Sarkanen
	#rb: none

Change 3303200 on 2017/02/14 by Alan.Noon

	Collision shapes for Immediate Mode Ragdolls

Change 3303201 on 2017/02/14 by Alan.Noon

	Adding Origin, Full Map

Change 3303477 on 2017/02/15 by James.Golding

	Add Get and SetComponentForAxis to FVector and FRotator

Change 3303478 on 2017/02/15 by James.Golding

	Add support for multiple source bones to PoseDriver

Change 3303480 on 2017/02/15 by James.Golding

	Added per-scene frame number, handles cases like motion blur caching.
	Refactored GPUSkinCache to have an explicit frame advance function, called after all viewports have rendered in game/editor, PostRenderAllViewportClients.
	(Original author Chris.Bunner)

Change 3303513 on 2017/02/15 by Jurre.deBaare

	CIS: Linux file name case fixes and incorrect pragma once

Change 3303576 on 2017/02/15 by Thomas.Sarkanen

	Sub-sequence sections can now override how they instance their template

	Added UMovieSceneSubSection::GenerateTemplateForSubSequence. This just performs the original call to SubSequenceStore.GetCompiledTemplate in the dcefault case.
	Allowed non-const access to FMovieSceneEvaluationTemplate::GetTracks so they can be potentially modified once instanced.
	Added access for FMovieSceneEvaluationTrack::ChildTemplates.

Change 3303578 on 2017/02/15 by Thomas.Sarkanen

	Rich curves can now be transformed post-copy correctly

	Using GetKeyIterator rather than aquiring the iterator directly makes sure we have valid key handles, which we dont if we have just copied the curve.

Change 3303579 on 2017/02/15 by Thomas.Sarkanen

	Added GetLinkNode to complement SetLinkNode in FAnimNode_Base

Change 3303580 on 2017/02/15 by Thomas.Sarkanen

	Made the logic around when sub-tracks can be primed for recording more specific

	Prevents rig control sub tracks form being able to be primed.

Change 3303581 on 2017/02/15 by Thomas.Sarkanen

	Allowing alpha on rig tracks to work

	Alpha curve is now pushed down to tracks on template compilation along with bone masks & additive flag.
	Sequencer anim instance updated to use new flags. Structure altered to accomodate layered blending for masked body parts (should probably push this to the regulat sequence instance too).
	Moved anim node to local space (now it is just derived form FAnimNode_Base).
	Also fixed opening/binding order issues - Now you should be able to open a sequence, bind to an actor and create a new rig control in a sequence in any order.

Change 3303582 on 2017/02/15 by Thomas.Sarkanen

	Fixed UE4Game CIS - Moved AddConstraint() to non-editor-only

	Also fixed crash in property chain iteration (for non-existent array properties)

Change 3303594 on 2017/02/15 by Jurre.deBaare

	Fix for crash on deleting painted actors

Change 3303636 on 2017/02/15 by Lina.Halper

	-remove temp code to add constraints. - they serialize, so once you add them you don't have to add these anymore.
	This will move to editor menu soon.

	#rb: none

Change 3303648 on 2017/02/15 by Martin.Wilson

	Fix reimport crashes if the animation uses additive transform tracks.

	#jira UE-41929
	#jira UE-41921

Change 3303652 on 2017/02/15 by Benn.Gallagher

	Added merged Ice mesh with new simulation mesh to match mesh from APEX version.

Change 3303660 on 2017/02/15 by Benn.Gallagher

	map update for clothing demo

Change 3303662 on 2017/02/15 by Benn.Gallagher

	State machine update for Ice anim

Change 3303676 on 2017/02/15 by mason.seay

	Adjusted sound actor location

Change 3303689 on 2017/02/15 by Benn.Gallagher

	Updated Ice mesh to have clothing present on the back part of the dress

Change 3303691 on 2017/02/15 by Jurre.deBaare

	CIS fixes for pose driver details

Change 3303704 on 2017/02/15 by Lina.Halper

	Add FK limb links
	- enabled temp code to add constraints. It's not serialized from BP editor, so this has to be added everytime. Will fix this in the futre check-ins

	#rb:none

Change 3303716 on 2017/02/15 by Thomas.Sarkanen

	Updated manipulators to always draw in front of the mesh

	Added material & enabled content for the plugin.

Change 3303730 on 2017/02/15 by thomas.sarkanen

	Resaving manipulator material with correct engine version

Change 3303754 on 2017/02/15 by Thomas.Sarkanen

	Fix manipulators popping to max size when manipulating

Change 3303835 on 2017/02/15 by Thomas.Sarkanen

	Fix hitch by not displaying spawned objects if we dont have a sequence focused.

Change 3303843 on 2017/02/15 by Lina.Halper

	Added normalize rotation on inputs/outputs

	#code review: Thomas.Sarkanen
	#rb: none

Change 3303916 on 2017/02/15 by Jurre.deBaare

	CIS: Linux incorrect pragma once

Change 3304084 on 2017/02/15 by James.Golding

	Update pose driver test after addition of multi-bone input

Change 3304188 on 2017/02/15 by James.Golding

	Add custom remap curve option per-target in PoseDriver

Change 3304189 on 2017/02/15 by James.Golding

	Fix CIS for ControlManipulator.cpp

Change 3304210 on 2017/02/15 by Alan.Noon

	Added hidden collision objects for stairs area. Added brighter lighting on plinth area. Hooked up minion placement randomization. Added 100 minions to minion level for ragdol

Change 3304327 on 2017/02/15 by Alan.Noon

	Created new Persistent levels for each Anim Tech demo, which loads in Origin_Small_P

Change 3304337 on 2017/02/15 by Alan.Noon

	renamed minion demo level for GDC

Change 3304508 on 2017/02/15 by Lina.Halper

	- You can see constraints in the tree view (full edit mode)
	- YOu can add or update constraints (using update constraints button)
	- You can delete constraints
	- Cleaned up constraints interface

	#rb: none
	#code review: Thomas.Sarkanen

Change 3304537 on 2017/02/15 by chris.evans

	!N Initial PSD test [chrise]

Change 3304551 on 2017/02/15 by James.Golding

	Fix missing 'break's from SetComponentForAxis in FVector and FRotator

Change 3304570 on 2017/02/15 by Chris.Evans

	!N Source assets for psd test
	#RB none

Change 3304964 on 2017/02/15 by Lina.Halper

	fix build issue

	#code review: James.Golding
	#rb: none

Change 3304998 on 2017/02/15 by Chris.Evans

	!B Checking in correct FBX
	#RB none

Change 3305314 on 2017/02/15 by chris.evans

	!N Adding materials driven

	!N Adding 'simulation' animation which simulates the driven result

Change 3305355 on 2017/02/15 by chris.evans

	!N Initial test shoulder pose

Change 3305357 on 2017/02/15 by chris.evans

	!N Initial Mambo shoulder ROM

Change 3305446 on 2017/02/15 by Lina.Halper

	fixed CIS error

	#rb: none
	#code review: Thomas.Sarkanen

Change 3305768 on 2017/02/16 by Jurre.deBaare

	CIS: Clang compile errors

Change 3305857 on 2017/02/16 by thomas.sarkanen

	Removed particle systems from top plinth as they interfere with selection and obscure demo somewhat.

Change 3305907 on 2017/02/16 by Thomas.Sarkanen

	Fix hitches on selection of multiple keys

	Prevented multiple seleciton callbacks being called for each key (we now just edit the selection then broadcast later).
	Dont force the details panel to refresh if nothing has changed.
	Make sure we make a list of unique object IDs when processing the selection delegate, as we get an object ID per track.

Change 3305910 on 2017/02/16 by Thomas.Sarkanen

	Allow multiple instances ot the same parameterized subsequence to exist and function correctly

	Subsequences in the store are now keyed off an optionally specified 'other' object. In the case of parameterized subsequences, this object is the section.
	Editor only right now - cooked builds are still to come

Change 3305911 on 2017/02/16 by Thomas.Sarkanen

	Fix NaNs from uninitialized poses

Change 3305922 on 2017/02/16 by Thomas.Sarkanen

	BuiltData for Origin_Small_P

Change 3305927 on 2017/02/16 by Thomas.Sarkanen

	Moved ControlRig->ControlRigDemo in preparation for keeping all assets in one folder

	Added some test assets

Change 3305928 on 2017/02/16 by Thomas.Sarkanen

	Dont select actors when we bind to them

	Selection can sometimes look bad and obscure the character.

Change 3306118 on 2017/02/16 by Thomas.Sarkanen

	CIS fix

Change 3306230 on 2017/02/16 by Jurre.deBaare

	CIS fix for linking errors on specific platforms

	#test compile PS4 OrionGame

Change 3306378 on 2017/02/16 by Martin.Wilson

	First pass Live Link system (Initially from //Tasks/UE4/Dev-Causeway)

	- Live Link Maya plugin build files (builds a .mll file that can be loaded into Maya)
	- Live Link Interface (editor module with interface files)
	- Live Link Message Bus Framework (editor module with files needed for building message bus based live link plugins)
	- Live Link (experiemental plugin that contains editor part of live link system)

Change 3306388 on 2017/02/16 by Lina.Halper

	- build issue fix
	- also tweaked display name to display only node name in editing mode

	#rb: none

Change 3306455 on 2017/02/16 by Jon.Nabozny

	#rn Perf improvements to FAnimNode_RigidBody.

	Cache bounds to prevent unnecessary overlap updates.
	Move overlaps off game thread.

Change 3306591 on 2017/02/16 by Martin.Wilson

	Updates to live link

	- Copyright changes (some were still 2016)
	- Rename BlankMayaPlugin to LiveLinkMayaPlugin

Change 3306907 on 2017/02/16 by Jon.Nabozny

	MinionDemo Content Perf Pass.

Change 3306914 on 2017/02/16 by Thomas.Sarkanen

	Back out changelist 3305857 and 3305922

	Reverts particle system changes to Origin_Small_P

Change 3306942 on 2017/02/16 by Martin.Wilson

	Live link demo content

	-Feng mao mesh that matches maya scene
	- LiveLinkGDC Map
	- Beginning of camera control sequencer

Change 3307154 on 2017/02/16 by Alan.Noon

	Merged in new content to fix badly collapsed BP Static meshes deleted ragdoll minions for new posing. Stopped animation on spawn pad materials

Change 3307382 on 2017/02/16 by Martin.Wilson

	Fix CIS (Add virtual destructor to ILiveLinkSource)

Change 3307497 on 2017/02/16 by chris.evans

	!N Moving mats

Change 3307541 on 2017/02/16 by Chris.Evans

	!B Rebuilding test assets with new skeleton

Change 3307873 on 2017/02/16 by Chris.Evans

	!N Mambo updates

Change 3307875 on 2017/02/16 by Chris.Evans

	!R Update to blueprint

Change 3308030 on 2017/02/16 by Alan.Noon

	Changed lighting of Origin_Small_P based on feedback. Placed new objects were previous were exhibiting bad lightmaps.

Change 3308246 on 2017/02/16 by Alan.Noon

	Consolidated new lighting content from sublevels into Origin_Small_P. Hooked up Physics asset to ArcBlade Skeletal mesh

Change 3308470 on 2017/02/16 by Lina.Halper

	- make sure all are hooked up properly to pelvis and spine_03
	  - no multiple pelvis anymore. Using one to tweak all of them. all limbs are connected through constraints
	- make sure end effector rotation is modifying IK's last chain rotation
	  - had to hack for saving offset for IK/FK switch mode but it works fine
	- fixed lots of constraint issue with deleting node, parent constraints. Added new spine after that fix.

	#rb:none
	#code review: Thomas.Sarkanen

Change 3308764 on 2017/02/17 by Jurre.deBaare

	Fix for non-unity Orion game build

Change 3308774 on 2017/02/17 by Thomas.Sarkanen

	Added multi-selection of manipulators

	Allowed BoxSelect, FrustumSelect and SelectNone to be overriden by the edit mode. Our edit mode doesnt have a sub-tool, it handles everything itself.
	Also fixed manipulators drawing in front of widget
	Changed manipualtors to be world-relative rather than screen relative scaled.
	Tweaked proximity to be stateful so we only highlight the closest node
	Also fixed slow FPS when dragging.

Change 3308802 on 2017/02/17 by James.Golding

	Fix 'apply custom curve' for pose driver targets being on by default

Change 3308824 on 2017/02/17 by Lina.Halper

	Fix build issue

	#code review:Thomas.Sarkanen
	#rb: none

Change 3308851 on 2017/02/17 by James.Golding

	Add new control manipulator picking UI

Change 3308863 on 2017/02/17 by Martin.Wilson

	Enable Live Link plugin in AnimTechDemo

Change 3308880 on 2017/02/17 by Thomas.Sarkanen

	Getting instanced subsequences working in cooked builds

Change 3309009 on 2017/02/17 by Benn.Gallagher

	Mask support and UI, not hooked up to painter yet
	Added clothing tools experimental flag and hooked up

Change 3309016 on 2017/02/17 by Martin.Wilson

	Clean up engine provided output devices and supply a Maya one, stops Maya hanging on shutdown

Change 3309108 on 2017/02/17 by Jurre.deBaare

	CIS fix: missing definition of FWeakObjectPtr (strangely not part of CoreMinimal)

Change 3309134 on 2017/02/17 by Jurre.deBaare

	Crash in texure painting mode
	#fix Required some extra checks for new setup (can only paint while having one mesh selected)

	Issue with vertex paint propagating to lower LOD levels
	#fix There was no setup to propagate colors from source static mesh data so added the path

	#misc Re-added flow painting and removed flow-strength property
	#misc Added detail customization for texture paint UV channel

Change 3309256 on 2017/02/17 by Benn.Gallagher

	CIS fix

Change 3309393 on 2017/02/17 by James.Golding

	Set color for kinematic controls

Change 3309410 on 2017/02/17 by Ori.Cohen

	PR #3221: Kinematic body interpolation in substepping causes invalid raycasting/sweeping/overlapping (Contributed by PhoenixBlack)

Change 3309469 on 2017/02/17 by Benn.Gallagher

	Added ContentExamples cloth assets

	Added camera transitions and controls

	Cleanup logic

	Move characters and materials onto upper plinth

	Hid actor mesh from game view.

Change 3309625 on 2017/02/17 by mason.seay

	Resaving assets to remove warnings

Change 3309802 on 2017/02/17 by Alan.Noon

	Modified Origin_Small_P lighting. Set up ArcBlade for presentation

Change 3309985 on 2017/02/17 by Thomas.Sarkanen

	Fixed crash adding multiple rigs to sequence

	If a hierarchy is empty, dont attempt to access a non-existent node

	#jira UE-42103

Change 3310209 on 2017/02/17 by Lina.Halper

	- Fix limbs detaching issues
	- added set translation to override translation
	  - moved joint targets away from the limbs
	- Spine FK is on by default
	- spnie IK/FK switch should work better. It can still pop depending on your control point can handle or not.

	#rb: none

Change 3310389 on 2017/02/17 by Chris.Evans

	!N Mambo multi-joint pose demo

Change 3310911 on 2017/02/18 by Lina.Halper

	Ice/Mambo mapping fix with BaseHuman

Change 3311138 on 2017/02/19 by James.Golding

	- Allow multi-select in control picker
	- Clicking on background clears selection
	- Add 'Select All' button
	- Darken controls that are disabled (is in different kinematic mode)
	- Use selection color from control instead of outline
	- Center and fit picker to details panel width
	- Remove entire Nodes section of edit mode panel (not just tree)
	- Fix rig properties not scrolling
	- Place picker in expandable area, collapsed when no rig selected

Change 3311147 on 2017/02/19 by Thomas.Sarkanen

	Fix spine keying

	Add the ablity for array elements to be keyed directly. The spine properties are FTransforms in an array and previously it ignored them because of assumptions about allowed structures.

	This should probably be refactored to a more generic 'traverse up my property chain looking for Interp properties' at some point in the future.

Change 3311150 on 2017/02/19 by Thomas.Sarkanen

	Synchronizing sequencer selection

	Now enter key works for keying selected tracks

	Added new way to select sequencer tracks externally via property paths.

Change 3311152 on 2017/02/19 by Thomas.Sarkanen

	Missed files

Change 3311153 on 2017/02/19 by Thomas.Sarkanen

	CIS fixes

Change 3311154 on 2017/02/19 by Thomas.Sarkanen

	File I missed (CIS fix)

Change 3311156 on 2017/02/19 by James.Golding

	Change 'ControlRig Edit Mode' icon

Change 3311176 on 2017/02/19 by Lina.Halper

	Fix build issue

	#rb:none
	#code review: Thomas.Sarkanen, Jurre.DeBarre, James.Golding

	p.s. not sure who's code, so just adding everybody I can think of

Change 3311261 on 2017/02/19 by Lina.Halper

	- Fixed an issue when you don't have parent in the rig
	  - get all component space, and convert to local

	#rb:none
	#code review: Thomas.Sarkanen

Change 3311282 on 2017/02/19 by Lina.Halper

	Fixed issue where pivot location is incorrect when mapping to other meshes

	#rb: none
	#code review:Thomas.Sarkanen

Change 3311491 on 2017/02/20 by Thomas.Sarkanen

	CIS fix

Change 3311497 on 2017/02/20 by Jurre.deBaare

	Game editor compile error
	#fix WITH_EDITORONLY_DATA instead of WITH_EDITOR ifdef around UPROPERTY

Change 3311507 on 2017/02/20 by Jurre.deBaare

	Cloth paint progress
	- Different approach / refactored out paint ray retrieval
	- Added key input callback to IMeshPainter and derived classes
	- Added toggle for showing invisible vertices
	- Added gradient paint tool
	- Details customization for brush/gradient tool settings
	- Some cleaning

Change 3311527 on 2017/02/20 by Jurre.deBaare

	CIS header guard warning

Change 3311530 on 2017/02/20 by Jurre.deBaare

	CIS dereferencing possible nullptr warning

Change 3311533 on 2017/02/20 by Jurre.deBaare

	CIS dereferencing warning (better fix)

Change 3311543 on 2017/02/20 by James.Golding

	Add buttons for switching IK/FK mode of limb/spine to picker
	Put picker and details panel in a scroll box
	Fix spine manipulators not being hidden when disabled

Change 3311649 on 2017/02/20 by James.Golding

	R key now toggles manipulator visibility

Change 3311707 on 2017/02/20 by Lina.Halper

	Added Clavicle FK controls

	#code review: Danny.Bouimad

Change 3311764 on 2017/02/20 by Martin.Wilson

	Update cameras for Live link demo map and turn on recompute tangents on Feng Mao

Change 3311858 on 2017/02/20 by Chris.Evans

	!R Updated with pose values

Change 3312043 on 2017/02/20 by Jon.Nabozny

	Change SkelMeshMerge logic to fix duplicates (again) and fix crash.

	#jira UE-39690, UE-42146

Change 3312046 on 2017/02/20 by Thomas.Sarkanen

	Fix crash drag/dropping skeletal mesh

	#jira UE-42139 - Crash when adding SK_Mannequin to a Level Sequence in QAGame

Change 3312052 on 2017/02/20 by James.Golding

	Change manipulator colors to red for right, blue for left, white for middle
	Change IK/FK switch buttons to yellow/purple
	Move picker buttons to take up less horizontal space
	Move IK/FK switch button positions out of C++

Change 3312137 on 2017/02/20 by Ben.Marsh

	Fix settings for using precompiled binaries in Dev-AnimPhys.

Change 3312517 on 2017/02/20 by Alan.Noon

	Created new persistent level for Chris E's demo. Placed a few minions for CharlesA to test improved ragdoll asset. Tuned lighting in Origin_Small_P and fixed light leaks.

Change 3312570 on 2017/02/20 by Charles.Anderson

	More work on Arcblade Ragdoll for GDC

Change 3312594 on 2017/02/20 by Alan.Noon

	MultipleJointPoseDriving_GDC_P_pose_test_level

Change 3312637 on 2017/02/20 by Alan.Noon

	Reconciling offline content

Change 3312902 on 2017/02/20 by Charles.Anderson

	Minions for GDC

Change 3313206 on 2017/02/20 by Ori.Cohen

	Added trimesh support for immediate mode.

Change 3313247 on 2017/02/20 by Chris.Evans

	!N updated with both demo assets in one map

Change 3313447 on 2017/02/20 by Ori.Cohen

	Fix immediate mode collision not working with convex transforms being baked in

Change 3313472 on 2017/02/20 by Ori.Cohen

	Fix crash caused by missing switch case break

Change 3313518 on 2017/02/20 by Lina.Halper

	IK knee issue/Twist issue

	#code review: Thomas.Sarkanen, James.Golding
	#rb: none

Change 3313547 on 2017/02/20 by Lina.Halper

	Fixed Body-Ctrl to work with every node.

Change 3313617 on 2017/02/20 by Lina.Halper

	- Fix for limbs delaying when moving BodyCtrl
	- Fix for additive issue for control rig anim node

	#rb: none
	#code review: Thomas.Sarkanen

Change 3313618 on 2017/02/20 by Lina.Halper

	remove unnecessary calc

	#rb:none

Change 3313625 on 2017/02/20 by Lina.Halper

	Fixed body ctrl move keys

	- all IK keys also have to be in local space (but they're local to body_ctrl)

Change 3313633 on 2017/02/20 by Alan.Noon

	Quick laying out of Minions for stress testing. Iterated on Environment collision.Built lighting

Change 3313655 on 2017/02/20 by Lina.Halper

	- Fixed so that you can tweak pelvis and move body also
	- Fixed mambo mapping

Change 3313897 on 2017/02/21 by James.Golding

	Make all FK manipulators smaller (3 instead of 4.5)

Change 3313898 on 2017/02/21 by James.Golding

	Integrate CL 3311876 to Dev-AnimPhys (original author Rolando.Caloca)
	DR - Expose skin cache cvar r.SkinCache.AccumulationBufferSizeInKB

Change 3313902 on 2017/02/21 by James.Golding

	Draw lines from IK target to mid-joint

Change 3313906 on 2017/02/21 by Thomas.Sarkanen

	Fix undo/redo/save t-pose and crashes

	Binding now only does what it needs to do an no more (i.e. force a reig evaluation and re-select the rig we are looking at).
	Object spawner now does not root its objects. Rather it hangs them off of a 'holder' object so that they can exist safely in the transaciton buffer.

Change 3313938 on 2017/02/21 by Benn.Gallagher

	Migrated clothing assets

Change 3313982 on 2017/02/21 by James.Golding

	Fix static analysis in ClothPainter.cpp

Change 3313985 on 2017/02/21 by Benn.Gallagher

	Fixed crash when attempting to create clothing with degenerate triangles. Now a log error and toast warn the user of conincident tri points.

	#jira UE-41935
	#rnx

Change 3314052 on 2017/02/21 by James.Golding

	Fix CIS in ControlRigEditModeSettings.cpp

Change 3314100 on 2017/02/21 by Lina.Halper

	IK fix for retargeting

	- using rig transform and remapping doesn't work. I'll have to use mesh space for IK at least. It still does blend in rig space, though with FK.

	#rb: none

Change 3314160 on 2017/02/21 by Thomas.Sarkanen

	Added optional node trajectories

	Added trajectory cache which uses similar mechanisms to the thumbnail cache to build trajectories for nodes.
	Builds trajectories and their meshes incrementally when relevant things change

Change 3314167 on 2017/02/21 by James.Golding

	Fix undo when pushing IK/FK toggle buttons

Change 3314168 on 2017/02/21 by Benn.Gallagher

	Disabled skin cache on tech demo project

Change 3314290 on 2017/02/21 by Lina.Halper

	- Cleaned up code a bit
	- Fixed thigh to rotate to target and fixed a bug that caused jittering

	#rb: none

Change 3314418 on 2017/02/21 by Thomas.Sarkanen

	Fix CIS issue

Change 3314428 on 2017/02/21 by Thomas.Sarkanen

	Fixup anim node to be of correct editor-time type

	Caused crash when placed in an anim BP

Change 3314574 on 2017/02/21 by Thomas.Sarkanen

	Fixed crash on shutdown

	#jira UE-42214

Change 3314705 on 2017/02/21 by Alan.Noon

	Iterating on map collision. Made minion weapon joint unbreakable

Change 3314722 on 2017/02/21 by Alan.Noon

	Moved minions back into Minion demo Persistent level.

Change 3314778 on 2017/02/21 by Lina.Halper

	added neck/ball_r/l control

	#code review: Daniel.Bouimad

Change 3314908 on 2017/02/21 by Ori.Cohen

	Temp fix for cloth bounds issue.

Change 3314920 on 2017/02/21 by Alan.Noon

	Placing minions. Iterating collision

Change 3314970 on 2017/02/21 by Lina.Halper

	added bone picker for toes, neck

Change 3315006 on 2017/02/21 by Benn.Gallagher

	Fixed clothing bounds issue with empty simulations.

Change 3315017 on 2017/02/21 by Lina.Halper

	fix crash on null proxy

	#rb: Benn.Gallagher

Change 3315054 on 2017/02/21 by Alan.Noon

	Placing minions

Change 3315671 on 2017/02/21 by Chris.Evans

	!B Fixed default material
	!N Added physics subgraph for Mambo
	!N Added third 'gameplay' complex example

Change 3315693 on 2017/02/21 by chris.evans

	!N Enabling tangent recompute on Mambo face and arm pits.

Change 3315838 on 2017/02/21 by Alan.Noon

	New Orbital Laser Pawn. New ragdoll sublevels for minion demo (400 minions)

Change 3316206 on 2017/02/22 by Thomas.Sarkanen

	Fix shadowed variables

Change 3316207 on 2017/02/22 by Thomas.Sarkanen

	Manipulators are now transparent

Change 3316258 on 2017/02/22 by Jurre.deBaare

	- Fix for changing levels while force painting to a specific LOD
	- Brush depth not same as in main

Change 3316259 on 2017/02/22 by Jurre.deBaare

	Fix for paint verts being rendered outside of painting area
	#misc want to change underlying behaviour for the brush representation but this'll patch it up for now

Change 3316260 on 2017/02/22 by Jurre.deBaare

	Changed default paint brush settings

Change 3316267 on 2017/02/22 by Jurre.deBaare

	Added channel paint flags to texture painting settings
	#misc might want to create base class for common paint settings

Change 3316268 on 2017/02/22 by Jurre.deBaare

	Fix for issue with viewport color mode not being reset when exiting mesh paint mode
	#jira UE-42221

Change 3316278 on 2017/02/22 by James.Golding

	Fix crash when pose asset contains a bone that is not in the mesh

Change 3316304 on 2017/02/22 by Thomas.Sarkanen

	Prevent sequencer from reselecting tracks when keys are selected

	Also fixed crash concurrently modifying an itterating TSet when removing selection nodes.
	Also made manipualtors not grow and shrink when transacting.
	Also tweaked sequencer selection to not allow movement of infinite areas - this allows us to start drag-selecting over these tracks rather than trying to move a seciton that cannot be moved.

	#jira UE-42164

Change 3316325 on 2017/02/22 by James.Golding

	Hook up Mambo physics as 'Pose Process AnimBP'

Change 3316384 on 2017/02/22 by James.Golding

	Slow down mambo anim playback rate

Change 3316385 on 2017/02/22 by Jurre.deBaare

	CIS: Deprecation warning fix

Change 3316424 on 2017/02/22 by Lina.Halper

	#fix : control rig mapping fix for Mambo

	#lockdown: James.Golding

Change 3316525 on 2017/02/22 by Lina.Halper

	- Fixed so that the mapping happening with retarget base pose, not ref pose
	- Added refresh mapping option for all nodes to refresh bone transform - in case you change retarget base pose
	- WIP of fingers, don't think we'll make it to demo, but it is still wip going in.

	#lockdown: James.Golding
	#rb: none
	#code review: Thomas.Sarkanen, James.Golding

Change 3316684 on 2017/02/22 by Lina.Halper

	fix shadow warning

	#rb: none
	#lockdown: james.golding

Change 3316748 on 2017/02/22 by Thomas.Sarkanen

	Fix t-pose bindings in various demo workflow situations

	Fix a crash when clearing actor
	Fix t-pose when opening a new sequence over an old one
	Fix t-pose on save

	Note: Added a couple of 'nuke it from orbit' re-binds to the actor because some code paths were not correctly setting up all of our data. Particularily we were always setting up the anim instance. We should revisit this after GDC.

	#jira UE-42136

Change 3316895 on 2017/02/22 by Jurre.deBaare

	Incorrect simulation verts getting painted
	#fix added an early rejection test
	#misc fixed sqrd vs non-sqrd check
	#misc level painting already did this in other specific code

Change 3316917 on 2017/02/22 by thomas.sarkanen

	Disabling threaded update on Mambo's post process anim BP

	We dont support running the main BP non-threaded and the post process threaded right now.

Change 3316933 on 2017/02/22 by Thomas.Sarkanen

	Fixed linux shadow variable warning

Change 3317104 on 2017/02/22 by Chris.Evans

	!N Initial animation with face

Change 3317483 on 2017/02/22 by Alan.Noon

	Added controls to resize the Orbital Laser Impulse in the minion demo

Change 3317592 on 2017/02/22 by Alan.Noon

	Tweaking Parameters on orbital Laser Pawn

Change 3317608 on 2017/02/22 by Lina.Halper

	Sorry - missed this files from previous check-in
	It should have gone with CL 3316525

	#rb:none
	#code review:Thomas.Sarkanen, James.Golding

	#lockdown: James.Golding

Change 3317762 on 2017/02/22 by Lina.Halper

	- allow dependency array to be added by IK effectors - but this isn't actual bug in this case
	- the bug was property was overriding the value, so we'll  have to make sure to update property from code change (bForceUpdatePropertyInTheNextTick)

	#rb:none
	#code review: Thomas.Sarkanen, James.Golding
	#lockdown: James.Golding

Change 3317807 on 2017/02/22 by Martin.Wilson

	Update for Live link code

	-Rename Maya Source to Message Bus Source
	-Fix typo in ReceiveClient function name

Change 3318031 on 2017/02/22 by Alan.Noon

	100 more minions in a sublevel. Tuned new pawn. Added sound, particle effects to impulse

Change 3318217 on 2017/02/22 by Jon.Nabozny

	Re-enable Dynamic Shadows for minions. Also enable Single Sample Shadow for perf reasons.

Change 3318365 on 2017/02/22 by Alan.Noon

	Created new shadow capsule asset for minion. Disabled DOF.

Change 3318421 on 2017/02/22 by Alan.Noon

	Adding more minion anims for variety

Change 3318435 on 2017/02/22 by Alan.Noon

	Tweak to minion anim BP: minions pick and idle and stay with it.

Change 3318860 on 2017/02/23 by James.Golding

	Force update nodes and manipulators when changing IK/FK mode
	Better fix for UE-42257

Change 3318869 on 2017/02/23 by James.Golding

	Key limb manipulators when switching IK/FK mode

Change 3318870 on 2017/02/23 by James.Golding

	Fix head button picker location

Change 3318875 on 2017/02/23 by James.Golding

	Add 'T' key shortcut for toggling trajectory drawing

Change 3318907 on 2017/02/23 by Benn.Gallagher

	Added rail for clothing sheet examples

Change 3318909 on 2017/02/23 by Thomas.Sarkanen

	Fix trajectories jittering as they generate

	The rig needs ticking twice because of what looks like some stateful assumptions that were recently made.
	Basically to get the rig to a state it needs ticking more than once.
	This also means that we need to tick sequencer twice to make sure the rig state gets pushed to the anim instance too.
	This may be to do with the latent IK/FK switching, and needs to be investigated.
	For now, I'm leaving it like this but its not ideal because it makes the trajectory generation twice as expensive.

Change 3318929 on 2017/02/23 by James.Golding

	Make PoseDriver Details not assume there is always a posedrivernode (fix potential crash during demo)

Change 3318930 on 2017/02/23 by James.Golding

	Resave pose_test_level with camera in better default position

Change 3318969 on 2017/02/23 by thomas.sarkanen

	Added demo map with mannequin and mambo

Change 3318975 on 2017/02/23 by thomas.sarkanen

	Improved embededed test sequence

	Kept blends away from initial binding because of t-pose issues

Change 3318979 on 2017/02/23 by thomas.sarkanen

	Added sequence showing retargeting to multiple skeletons

Change 3318983 on 2017/02/23 by thomas.sarkanen

	Improved retargeting sequence so that loop points dont pop animation

Change 3318991 on 2017/02/23 by Thomas.Sarkanen

	Prevent division by zero in trajectory generation

	Newly created sequences dont have a frame interval set up.

Change 3319013 on 2017/02/23 by Lina.Halper

	Fixed twist issue

	#lockdown: James.Golding
	#rb: none

Change 3319017 on 2017/02/23 by Lina.Halper

	Checked in wrong line - disabling optimization

	#rb:none
	#lockdown:James.Golding

Change 3319034 on 2017/02/23 by Lina.Halper

	sorry about that - for some reason p4 reverted the merged changes, and removing function that was merged

	#rb: none
	#lockdown: James.Golding

Change 3319056 on 2017/02/23 by Lina.Halper

	Back out changelist 3319013
	#lockdown:James.Golding

Change 3319090 on 2017/02/23 by Thomas.Sarkanen

	Added bookmarks to level, fixed up animation sequeces to be used in demo

	Cleaned up unused assets from demo folder

Change 3319209 on 2017/02/23 by Chris.Evans

	!R Lighting rebuilt
	!N cameras added, camera switching functionality

Change 3319219 on 2017/02/23 by Chris.Evans

	!R Disabling physics on the snake head on left shoulder

Change 3319268 on 2017/02/23 by Chris.Evans

	!R Says it's dirty, could have sworn checked in latest, tested and works fine, sync'd to last rev can't see what changed.

Change 3319290 on 2017/02/23 by James.Golding

	Default bShowManipulatorsDuringPlayback to on

Change 3319291 on 2017/02/23 by James.Golding

	Add GDC2017 shared collection

Change 3319867 on 2017/02/23 by Alan.Noon

	Moved Audio to a level and removed from sublevel list. Deleted particles.

Change 3320056 on 2017/02/23 by Alan.Noon

	Built lighting in Clothing_GDC_P

Change 3320067 on 2017/02/23 by Ori.Cohen

	Fix rigid body tooltip having the same loctext key as the node name causing bad node name (matters for live demo)

Change 3320085 on 2017/02/23 by Alan.Noon

	Changed Origin_Small_P in ControlRigDemoMap to "Always Loaded"

Change 3320098 on 2017/02/23 by Martin.Wilson

	Final updates for Live Link GDC Demo

	-Add maya scene for demo
	-Add binary for maya plugin + installation instructions
	-Update actor location from based on latest maya scene and fix cameras in sequencer
	-Updates on live link system for demo that I have been running with locally. Should be safe.

Change 3320579 on 2017/02/23 by Alan.Noon

	Bound Spacebar to GoRagdoll in ArcBlade map. Built lighting. Killed printing to screen/log in MinionBP.

Change 3321144 on 2017/02/24 by Chris.Evans

	!B Lighting was bad in PIE,  forced -1.5 exposure bias on all cameras

Change 3321317 on 2017/02/24 by James.Golding

	PIE on pose_test_level jumps to first placed camera

Change 3321956 on 2017/02/24 by Alan.Noon

	Adding missing minion anims. And Stuff.

Change 3324190 on 2017/02/27 by Lina.Halper

	Removed ensure from EvaluateAnimation

	- this is invalid because of worker thread but I'll have more conversation over this change.

	#rb: none
	#code review: Laurent.Delayen, Martin.Wilson
	#jira: UE-41731

Change 3324309 on 2017/02/27 by Lina.Halper

	fixed issue with skeleton bone not displaying for curve picker

	#jira: UE-41909
	#rb: Marc.Audy

Change 3324342 on 2017/02/27 by mason.seay

	First round of assets for testing root motion with framerate

Change 3324562 on 2017/02/27 by Lina.Halper

	Fix build error

	#rb: none

Change 3325010 on 2017/02/28 by mason.seay

	Finished map

Change 3325124 on 2017/02/28 by mason.seay

	Updated test to use trigger instead of delay

Change 3325205 on 2017/02/28 by mason.seay

	Deleting old map

Change 3325207 on 2017/02/28 by mason.seay

	Deleting old map

Change 3325752 on 2017/02/28 by Lina.Halper

	Back out changelist 3319056

	- adding upper twist back again

	#rb: none

Change 3325759 on 2017/02/28 by James.Cobbett

	Moving Weld automated tests to EngineTest project

Change 3326039 on 2017/02/28 by Lina.Halper

	Fix spine issues

	This is almost like content change as this contains lots of rigging changes from code. So I'm just checking with no review.

	#jira: UE-42260, UE-42268
	#rb: none

Change 3326246 on 2017/02/28 by mason.seay

	Test map and assets for overlap functional tests

Change 3327926 on 2017/03/01 by Lina.Halper

	- disabled pelvis animation on WaveAnimationGDC
	- added pelvis controls so that you can animate without worring about gmibal lock.

	#code review: danny.bouimad

Change 3327971 on 2017/03/01 by Lina.Halper

	Moved BaseHuman to ControlRig/Content folder

	- checking in redirector for the people who have local contents that want to keep

	#code review: Thomas.Sarkanen

Change 3329196 on 2017/03/02 by James.Cobbett

	Deleting from QAGame. These maps and assets were migrated over to EngineTest in CL 3325759 and CL 3325802.

Change 3329263 on 2017/03/02 by mason.seay

	Temp submission as I reorganize other content

Change 3329321 on 2017/03/02 by mason.seay

	Reorganizing content

Change 3329493 on 2017/03/02 by James.Cobbett

	Moving/renaming automated tests

Change 3332044 on 2017/03/03 by mason.seay

	Procedural Mesh Functional Tests

Change 3332049 on 2017/03/03 by Mason.Seay

	Screenshot comparisons for Procedural Mesh Tests

Change 3333080 on 2017/03/06 by Lina.Halper

	Fix crash on not sorted OutBoneTransforms from Hand IK Retargeting node

	#jira: UE-42460

Change 3333826 on 2017/03/06 by Lina.Halper

	Renamed nodes -
	- adding rename feature for HumanRig

	#rb: none

Change 3333847 on 2017/03/06 by Lina.Halper

	Fixed build error

Change 3333865 on 2017/03/06 by Lina.Halper

	Fixed build error on shadow warning

Change 3333957 on 2017/03/06 by Lina.Halper

	Fixed issue where limb length wasn't applied correctly on human rig

	#jira: UE-42307

Change 3335109 on 2017/03/07 by Thomas.Sarkanen

	Prevent us from rebuilding node tree in 'view' mode

	This means that a rare crash cant occur any more

	#jira UE-42568 - Editor crashes when using the eye dropper to switch actor skeleton after deleting sequence

Change 3335110 on 2017/03/07 by Jurre.deBaare

	Editor crashes on importing Alembic file
	#fix ensure that we generate objects with a valid object name (used to be able to include invalid characters such as periods)
	#jira UE-40189

Change 3335117 on 2017/03/07 by Jurre.deBaare

	Crash when opening cloth painter with Paint mode open and selecting different actor
	#fix ensure that we only initialize static adapter factory data once, now that we have multiple painters
	#jira UE-42573

Change 3335119 on 2017/03/07 by Jurre.deBaare

	In Persona, the lighting rig rotation changes when switching between profiles
	#fix don't know how I wrote this code before, but made it so it makes sense now
	#jira UE-40877

Change 3335120 on 2017/03/07 by Jurre.deBaare

	Auto-Exposure Overriding Preview Scene Profile Settings
	#fix also update showflags when passed property is Name_none, on opening static mesh editor make sure we pick last set profile instead of default 0, and make sure we push propertyt change when changing profiles
	#misc made same changes for animation editors
	#jira UE-39217

Change 3335121 on 2017/03/07 by Jurre.deBaare

	Points not marked as invalid in Aim Offset graph when in invalid positions
	#fix ensure that samples which have a valid grid point when checking their animation ptr
	#misc whitespace fixes
	#jira UE-40715

Change 3335122 on 2017/03/07 by Jurre.deBaare

	Cannot right-click a blend point if the green preview point is in the way
	#fix changed condition slightly, now do gather highlighted index so it can be used in rightclick instead of not setting it while hovering the preview pin point
	#jira UE-39060

Change 3335123 on 2017/03/07 by Jurre.deBaare

	It's not clear which Grid Stretch  mode in blend space is currently on
	#jira UE-39080
	#fix added color change on grid stretch type state

Change 3335124 on 2017/03/07 by Jurre.deBaare

	Not clear that material baking is only supported for single lod merge actors
	#fix extended tooltip to include requirement for material merging
	#jira UE-39621

Change 3335125 on 2017/03/07 by Jurre.deBaare

	#fix Alembic import fix (indexed UVs) copy-pasta error

Change 3335126 on 2017/03/07 by Jurre.deBaare

	Accessor and Modifier for StartTimeOffset in GeometryCacheComponent.h
	#jira UE-37080
	#feature Added bp exposed get/set-er
	#misc Corrected some comments

Change 3335127 on 2017/03/07 by Jurre.deBaare

	Blend space interpolation settings do not update until the user reopens the asset
	#fix made reintializing of interpolation filter editor only to start with, and update the filter when necessary (this way multiple players, e.g. thumbnail renderer and persona) both give the expected result, before only one of them would be reinitialized see comment on flag in header
	#jira UE-40950

Change 3335129 on 2017/03/07 by Jurre.deBaare

	Store imported mesh names for Alembic files (makes reimporting easier)
	#jira UE-39034

Change 3335161 on 2017/03/07 by Jurre.deBaare

	CIS fix: Partial back out changelist 3335129

Change 3335426 on 2017/03/07 by Jurre.deBaare

	Crash fix for importing random maya shapes through Alembic
	#fix add safety checks for writing material indices
	#jira UE-40189

Change 3335427 on 2017/03/07 by Jurre.deBaare

	Editor hard locks when adding Profile in Preview Scene Settings
	#fix previous change created an infinite loop while adding a new profile, now calling OnAssetViewerSettingsChanged directly and from a different spot
	#jira UE-42609

Change 3335448 on 2017/03/07 by Thomas.Sarkanen

	Fixed binding (and re-binding) of rig that was broken by main integration

	Templates are no longer always regenerated, so re-binding doesnt work if we rely on template regeneration
	Moved runtime and compile-time binding into the template (rather than the track).
	Removed hacky 'static stack' of binding IDs. This is no longer needed now we have a way to propgate per-instance template data at compile time.

Change 3336018 on 2017/03/07 by Ori.Cohen

	Make sure InstantiatePhysicsAsset does not create uninitialized bodies and constraints when it is given a physics asset with inappropriate bone names. Fixes crash in rigid body node when re-targetting.

	#JIRA UE-42090

Change 3336508 on 2017/03/07 by Ori.Cohen

	PR #3325: Allow Physics Notification Dispatching with Engine API (Contributed by 0lento)

	#JIRA UE-42533

Change 3336524 on 2017/03/07 by Ori.Cohen

	Added compiler error when component space sim and world collision is used.

	#JIRA UE-41402

Change 3336700 on 2017/03/07 by Ben.Marsh

	Fix stream name for bulding PhysX.

Change 3336949 on 2017/03/08 by James.Golding

	In BindToSkeletalMesh, make sure skel mesh resources are init'd before calling Register on SkelMeshComp

	#jira UE-42377

Change 3337008 on 2017/03/08 by Lina.Halper

	- Fix for lagging update
	- Removed unnecessary update from trajectory cache

	#rb: Thomas.Sarkanen

Change 3337190 on 2017/03/08 by James.Golding

	Remove defunct PhysX 3.3 libs

Change 3337562 on 2017/03/08 by Ori.Cohen

	Touch engine to force re-link of latest PhysX libs. Fixes crash when free joints are used with immediate mode.

	#JIRA UE-41026, UE-42628

Change 3337779 on 2017/03/08 by Ori.Cohen

	Added skeletal mesh component override for sync vs async scene.

	#JIRA UE-39829

Change 3337859 on 2017/03/08 by Ori.Cohen

	Fix CIS

Change 3338593 on 2017/03/08 by Ori.Cohen

	Remove physx get geometry macro and replace with calls to .any which should be faster.

	#JIRA UE-40503

Change 3338614 on 2017/03/08 by Ori.Cohen

	Fix warning about missing EditAnywhere

	#JIRA UE-41361

Change 3338677 on 2017/03/08 by Ori.Cohen

	Fix new generated physics assets not properly setting user settings to default profile.

	#JIRA UE-41135

Change 3338683 on 2017/03/08 by Ori.Cohen

	PR #3225: UPhysicsConstraintComponent works as expected when target is an UChildActorComponent (Contributed by PhoenixBlack)

	#JIRA UE-3225

Change 3338694 on 2017/03/08 by Ori.Cohen

	Added a getter to physical animation component (PR #3163)
	#JIRA UE-41047

Change 3339131 on 2017/03/09 by James.Golding

	Merging Engine changes from //UE4/Private-GDC17-FaceRig
	- Set default CurveSourceBindingName on AudioCurveSourceComponent to 'Default' (to match node default)
	- Add CurveSyncOffset option to AudioCurveSourceComponent
	- Add 'Copy Curves To SoundWave' option to Anim Editor
	- Bind possible curve sources by iterating over component properties, rather than owned components
	- Add ref-pose override option to SkinnedMeshComponent
	- Major fixes for per-instance skin-weights (was not using per-section map)
	- Improve warnings for per-instance skin weight problems

Change 3339223 on 2017/03/09 by Thomas.Sarkanen

	Exposed preview scene settings in the existing settings tab rather than in a hidden menu in the viewport

	Tab is now shown by default
	Added default preview scene collection so you dont end up having to create assets all the time just to preview meshes (although this is still possible).

	#jira UE-39365 - Make Preview scene setup more discoverable

Change 3339270 on 2017/03/09 by Lina.Halper

	Added create animation blueprint back since now we have a separate editor.

	#jira: UE-39457
	#rb: Martin.Wilson

Change 3339318 on 2017/03/09 by Danny.Bouimad

	TM-TangentNormals, Test map for checking tangent recalculation with and without skin cache.

Change 3339431 on 2017/03/09 by James.Golding

	Make UDestructibleComponent::SpawnFractureEffectsFromDamageEvent virtual
	(UDN request: https://udn.unrealengine.com/questions/335389/custom-destructible-fracture-effects.html)

Change 3339809 on 2017/03/09 by James.Golding

	Add support for 'UCP' prefix for importing capsule collision on static meshes via FBX

	#jira UE-5262

Change 3339955 on 2017/03/09 by Ori.Cohen

	Allow kinematic leaf bodies in immediate mode

Change 3339995 on 2017/03/09 by mason.seay

	Collision functional tests

Change 3340085 on 2017/03/09 by Ori.Cohen

	Change default contact-gen method to PCM. This is the default in PhysX 3.4

	#JIRA UE-40365

Change 3340562 on 2017/03/09 by Ori.Cohen

	Added physx simulation shader override.

	#JIRA UE-35304

Change 3341155 on 2017/03/10 by Ori.Cohen

	Fix CIS warnings

Change 3341295 on 2017/03/10 by Martin.Wilson

	Cache compact pose bone index on FBoneReference and remove manual caching in Paragon

	#jira UE-42302

Change 3341943 on 2017/03/10 by mason.seay

	Cleaned up logic for map blueprints.  Worked around delays

Change 3342029 on 2017/03/10 by mason.seay

	Cleaned up blueprint logic to remove dependency on delays

Change 3342063 on 2017/03/10 by mason.seay

	Disabling tests

Change 3342071 on 2017/03/10 by mason.seay

	Updated map to use assertions

Change 3342884 on 2017/03/13 by James.Golding

	Expose 'trace by profile' functions to BP
	Refactor duplicated code in KismetSystemLibrary collision functions
	#jira UE-32912

Change 3342886 on 2017/03/13 by James.Golding

	Moving sprite from PhysicsThruster actor to PhysicsThrusterComponent (like light and audio, for example)

	#jira UE-6015

Change 3342921 on 2017/03/13 by Benn.Gallagher

	Added some checking to anim dynamics pre update to avoid crashes when world isn't available
	#jira UE-42729

Change 3342970 on 2017/03/13 by James.Golding

	Fix incorrect display names for some ..ByProfile trace funcs

Change 3342972 on 2017/03/13 by James.Golding

	PR #3060: Added virtual keyword to DestructibleComponent ApplyDamage, ApplyDamageRadius (Contributed by looterz)

Change 3343032 on 2017/03/13 by Josh.Stoddard

	Enable stabilization in PhysX by default
	 - set PxSceneFlag::eENABLE_STABILIZATION by default
	 - removed USE_ADAPTIVE_FORCES_FOR_ASYNC_SCENE because eADAPTED_FORCES is incompatible with eENABLE_STABILIZATION
	 - added FBodyInstance parameter StabilizationThresholdMultiplier to control PxRigidDynamic stabilization threshold
	#jira UE-6612 #rb ori.cohen

Change 3343073 on 2017/03/13 by Martin.Wilson

	Properly initialize single bone controller bone references

	#jira UE-42776

Change 3343074 on 2017/03/13 by Martin.Wilson

	Clear raw curve data during cooking

	#jira UE-37897

Change 3343317 on 2017/03/13 by Jurre.deBaare

	Crash after clearing the animation from a sample point in a 1D Blendspace
	#jira UE-42672
	#misc made sure that we do not deem empty blend spaces as additive

Change 3343498 on 2017/03/13 by Lina.Halper

	Fix on odin cook crash
	- fallout from CL 3336018

	#rb:Marc.Audy
	#code review:Ori.Cohen

Change 3343548 on 2017/03/13 by Lina.Halper

	Fix crash on ocean -

	#rb: none
	#code review: Ori.Cohen

Change 3344764 on 2017/03/14 by Thomas.Sarkanen

	Fixed crash right-clicking empty space in the asset shortcut dropdown

	#jira UE-42782 - Crash right-clicking in anim blueprint asset picker
	#jira UE-42799 - GitHub 3366 : Asset selection null check before Opening Editor

Change 3344776 on 2017/03/14 by James.Golding

	Really fix names for BP-expose 'ByProfile' traces

Change 3344780 on 2017/03/14 by James.Golding

	PR #3359: UE4.15 Morpheme integration changes (Contributed by NaturalMotionTechnology)
	#jira UE-42771

Change 3344781 on 2017/03/14 by James.Golding

	PR #3346: Expose URadialForceComponent for inheritance (Contributed by projectgheist)
	#jira UE-42610

Change 3344782 on 2017/03/14 by James.Golding

	Fix procmesh->staticmesh conversion if only a single triangle
	#jira UE-42310

Change 3344783 on 2017/03/14 by James.Golding

	PR #3234: Fix the incorrect UIMin value for InitialAverageFrameRate physics setting. (Contributed by 0lento)
	#jira UE-41832

Change 3344785 on 2017/03/14 by James.Golding

	PR #3196: Improved Constraint warning message (Contributed by projectgheist)

Change 3344790 on 2017/03/14 by James.Golding

	PR #3362: Fix NULL pointer dereference when debugging null animation sequence. (Contributed by ill)

Change 3344891 on 2017/03/14 by Jurre.deBaare

	Incorporate back list of animations into blendspace editor
	#feature added labels toggle to blend space grid
	#feature can now override animations when drop on sample
	#jira UE-39368

Change 3344921 on 2017/03/14 by Jurre.deBaare

	Expose Opacity and Opacity Mask options on material flattening
	#feature added support for baking out opacity and opacity masks
	#jira UE-39563

Change 3344963 on 2017/03/14 by Jurre.deBaare

	Need Simplygon to create LODs on animated pose, vs skeletal mesh pose
	#feature added ability to specify an animation sequence from which frame 0 will be baked into the LOD mesh
	#jira UE-38909

Change 3345060 on 2017/03/14 by Jurre.deBaare

	CIS fix: missing include

Change 3345929 on 2017/03/14 by Jon.Nabozny

	Fix Grux skeletal mesh to properly point at Grux Phys Asset (instead of Steel's).

	#jira UE-42772

Change 3346970 on 2017/03/15 by Jurre.deBaare

	#feature Support importing vertex colours from Alembic files
	#jira UE-39032

Change 3346976 on 2017/03/15 by Jurre.deBaare

	Missing files from CL 3344921

Change 3346983 on 2017/03/15 by Jurre.deBaare

	Static mesh editor crashes when opening
	#fix default value for additional settings

Change 3347019 on 2017/03/15 by James.Cobbett

	Tidying up blueprint comments

Change 3347128 on 2017/03/15 by mason.seay

	Updated descriptions on tests

Change 3347146 on 2017/03/15 by mason.seay

	Updated descriptions on tests

Change 3347178 on 2017/03/15 by Martin.Wilson

	PR #3358: Actually compress CompressedCurveData during anim compression (Contributed by stefanzimecki)

Change 3347257 on 2017/03/15 by Thomas.Sarkanen

	Fixed crash when canceling saving a new preview mesh collection

Change 3347314 on 2017/03/15 by mason.seay

	Narrowed collision volumes by half

Change 3347386 on 2017/03/15 by mason.seay

	Updated descriptions

Change 3347388 on 2017/03/15 by mason.seay

	Forgot to disable tests :P

Change 3347397 on 2017/03/15 by James.Cobbett

	Tidying up blueprint comments for WeldingScreenshots.umap automated test

Change 3347433 on 2017/03/15 by Thomas.Sarkanen

	Fix IK/FK switch on first frame (clobbering FK data)

	Added a 'first frame' flag to limbs etc.

Change 3347436 on 2017/03/15 by Thomas.Sarkanen

	Control rig sequences can now be exported to anim sequences

	Control rig sequences can now be exported from sequencer and exported, re-exported, imported and re-imported from the content browser.
	Added converter function that performs similar logic to the animation recorder.
	Fixed binding template in cooked builds.
	Exposed anim sequence factory via UNREALED_API to allow for me to derive from it (I force the skeleton to a known value)

	#jira UE-42608 - Add "export to anim sequence" to control rig sequences

Change 3347475 on 2017/03/15 by Lina.Halper

	#LookAt node refactor
	 - you can use LookAtLocation based on joint or socket (jira UE-8972)
	 - improved visualizer (jira UE-2737) - clamp was there but now you can visuzlie it

	 - GetOnScreenDebugInfo changed parameter - added runtime node
	  - possibly we could query runtime node only but right now GetOnScrrenDebugInfo belongs to AnimGraphNode
	  - deprecated previous GetOnScreenDebugInfo

	 - Added AnimPhys Object version GUID

	#rb:Thomas.Sarkanen

Change 3347512 on 2017/03/15 by Thomas.Sarkanen

	Filter anim sequences to the correct skeleton when exporting

	Feeback from code review of CL 3347436.

Change 3347543 on 2017/03/15 by Thomas.Sarkanen

	Fix shadow variable warnings

Change 3347556 on 2017/03/15 by Jurre.deBaare

	Unable to select bones in the animation editor viewport
	#fix issues came from hit proxies being turned on and always being hit instead of the bone physic shapes
	#feature added toggle button to skeletal mesh editor to enable mesh section selection
	#jira UE-42893

Change 3347559 on 2017/03/15 by James.Golding

	By default, re-use anim editor with correct Skeleton when double clicking anim asset
	Add menu option to force a new edtor to open
	#jira UE-42912

Change 3347749 on 2017/03/15 by Lina.Halper

	Fix build issue.

	#rb: none

Change 3347926 on 2017/03/15 by James.Cobbett

	Adding new test to Welding.umap for children welding when attached to ragdoll

Change 3347938 on 2017/03/15 by Lina.Halper

	Fix build error

	#rb: none

Change 3347939 on 2017/03/15 by Mason.Seay

	General cleanup of bp logic in maps and blueprint actors
	Added scenarios to test actor descriptions
	Fixed an error in blueprints (I think I failed to submit changes before)

Change 3348074 on 2017/03/15 by Lina.Halper

	build error fix

	#rb: none
	#code review: martin.wilson

Change 3348154 on 2017/03/15 by Lina.Halper

	last fix, hopefully

	#rb: none
	#code review: MArtin.wilson

Change 3349160 on 2017/03/16 by Thomas.Sarkanen

	Adding 'set preview mesh' to toolbar

	#jira UE-42910 - Add 'preview mesh' button to toolbar

Change 3349175 on 2017/03/16 by Jurre.deBaare

	Notification on reimported animations that might be bad
	#fix added two warning messages for different sequence length and missing curve in reimported file (hidden behind editor user setting -> bAnimationReimportWarnings)
	#jira UE-34522

Change 3349197 on 2017/03/16 by Martin.Wilson

	Add ability to choose slot to preview to montage editor

	#jira UE-38910

Change 3349216 on 2017/03/16 by James.Cobbett

	Additional Welding tests: static meshes attached to ragdolls and simulated children detaching and retaining welded children

Change 3349217 on 2017/03/16 by James.Cobbett

	Disabling new Welding tests pending review

Change 3349314 on 2017/03/16 by Benn.Gallagher

	Fixed clothing not running in PS4 packaged builds

	#jira UE-42857

Change 3349504 on 2017/03/16 by James.Fox

	Enabling RootMotion automation tests. Approved: UEENGQA-12277

Change 3349611 on 2017/03/16 by Lina.Halper

	retargeting pose options change

	 - now reset, import pose, use current pose

	#rb: Martin.Wilson
	#jira: UE-19768

Change 3349738 on 2017/03/16 by Martin.Wilson

	Remove force inline from virtual compression functions.

	#jira UE-33070

Change 3349787 on 2017/03/16 by James.Golding

	Fix xbox one compile (FControlRigBindingTemplate::ObjectBinding was not all wrapped in WITH_EDITORONLY_DATA)

Change 3349827 on 2017/03/16 by Josh.Stoddard

	- Expose PhysX stabilization as project setting, disabled by default
	- remove obsolete USE_SPECIAL_FRICTION_MODEL_FOR_ASYNC_SCENE
	#jira UE-42868

Change 3349932 on 2017/03/16 by James.Golding

	Possible fix for cooking crash - ContentBrowser module not necessarily being loaded

Change 3350011 on 2017/03/16 by Jon.Nabozny

	Created AddForceAtLocationLocal function to allow component space forces.

	#jira UE-38115

Change 3350134 on 2017/03/16 by Josh.Stoddard

	Fix memory leak from GPhysXSDK->createShape()
	#jira UE-42733 #rb ori.cohen

Change 3351166 on 2017/03/16 by Lina.Halper

	Fixed build issue

	#code review:Jon.Nabozny

Change 3351451 on 2017/03/17 by Benn.Gallagher

	Fixed clothing reimports not working correctly and possibly leading to editor crash
	#jira UE-42953

Change 3351564 on 2017/03/17 by Benn.Gallagher

	Xbox NvCloth fix, module rules incorrectly set up and were not actually compiling NvCloth into the binary

	#jira UE-42224

Change 3351594 on 2017/03/17 by mason.seay

	Updated BP logic to use Set Actor Location (speeds up tests)

	Gave actors distinct names

	Reworded descriptions

Change 3351629 on 2017/03/17 by Jon.Nabozny

	Add methods to determine the WeldParent and WeldChildren of a given component.

	#jira UE-40733

Change 3351639 on 2017/03/17 by Jon.Nabozny

	Fix StopMovementImmediately for WheeledVehicleMovementComponent.

	#jira UE-40078

Change 3351649 on 2017/03/17 by Jon.Nabozny

	Update comment on AddForceAtLocationLocal to be explicit that both Force vector and Location are in Body space.

Change 3351663 on 2017/03/17 by Thomas.Sarkanen

	Anim notify blueprints now start with a 'received notify' event node (ghosted)

	#jira UE-27386 - A new anim notify blueprints should start with a Received Notify override

Change 3351696 on 2017/03/17 by Thomas.Sarkanen

	Refactored EvaluateBoneTransforms to prevent usage of skeletal mesh component

	Deprecated EvaluateBoneTransforms in favor of new EvaluateSkeletalControl_AnyThread.
	Added various useful transforms to the proxy as these were the most used data from the skeletal mesh component.
	Some instances still require access to skeletal mesh to access the world for debug rendering. I'm leaving these alone for the moment as they should be addressed for 4.17 with the fixes for multi-threaded debug rendering.
	Commented & re-formatted ConvertCSTransformToBoneSpace and ConvertBoneSpaceTransformToCS. Deprecated signatures that take a skeletal mesh component.
	Commented FAnimNode_Base interface.

	#jira UE-35238 - FAnimNode_SkeletalControlBase::EvaluateBoneTransforms takes in SkeletalMeshComponent which is not safe

Change 3351698 on 2017/03/17 by James.Golding

	Add GetMaterialFromFaceIndex to MeshComponent, implement for StaticMeshComponent and ModelComponent
	#jira UE-42802

Change 3351701 on 2017/03/17 by James.Golding

	Change from Ctrl to Shift for 'open new editor' when double-clicking anim assets

Change 3351703 on 2017/03/17 by James.Golding

	Change Box and Sphyl elements to use Rotator instead of Quat, to make them easier to edit via details panel
	#jira UE-39664

Change 3351704 on 2017/03/17 by James.Golding

	Fix scrubbing curves that aren't selected
	#jira UE-39574

Change 3351805 on 2017/03/17 by Thomas.Sarkanen

	Prevent crash when trying to implement a function in a child anim blueprint

	The assumption that the ubergraph was the zeroth entry in the array didnt hold for child anim BPs with overriden functions. Now we just search for the ubergraph and check it if we find it.

	#jira UE-42996 - Editor Crashes when creating a function in Child Anim Blueprint

Change 3352000 on 2017/03/17 by James.Cobbett

	Adding VehicleAdvBP assets for use in upcoming Welding tests

Change 3352067 on 2017/03/17 by Lina.Halper

	Removed AnimGraph from GraphEditor module
	- Created node factory, pin factory, pin connection policy factory
	- Moved all anim related files out of GraphEditor

	#code review: Michael.Noland
	#jira: UE-37976
	#rb: Michael.Noland

Change 3352178 on 2017/03/17 by Lina.Halper

	Moved to AnimationBlueprintEditor as these are just graph visual nodes

	#code review:Michael.Noland

Change 3352753 on 2017/03/17 by James.Fox

	Checking in some naming convention changes for Overlap automation test.

Change 3353371 on 2017/03/19 by Lina.Halper

	Fix build error

	#code review: Bob.Tellez

Change 3353644 on 2017/03/20 by Jurre.deBaare

	Animation thumbnails vanishing
	#fix ensure that we draw the mesh regardless of whether or not we have dynamic render data
	#jira UE-42974

Change 3353654 on 2017/03/20 by James.Golding

	Move SGraphNodeK2Default and SGraphNodeK2Event to Public as well, as they are used by Fortnite
	Update includes in SFortGrtaphNodeK2ExecuteEvent and HandleEvent to only include parent class header

Change 3353684 on 2017/03/20 by Jurre.deBaare

	Separate asset viewer profiles for local / shared
	- Split out profiles in local/shared UProperty
	- Modifications to ini writing :(
	- Extra checks for default ini writing
	- Add checkout/make writable for default editor ini file

Change 3353803 on 2017/03/20 by Jurre.deBaare

	CIS fixes

Change 3353830 on 2017/03/20 by Martin.Wilson

	Fix additives breaking when pose link not connected to anything

	#jira ue-39174

Change 3353847 on 2017/03/20 by Martin.Wilson

	Add property to blend space player nodes to specify whether the blend space current time is reset when the blend space changes

	#jira UE-40446

Change 3353950 on 2017/03/20 by Ori.Cohen

	Undo the null entries for invalid body/bodysetup pairs. Instead we check if the body and constraints are valid in the rigid body node.

	#JIRA UE-42090

Change 3353956 on 2017/03/20 by Ori.Cohen

	Back out changelist 3343498 (this was needed for the null entries on bodies array which has been fixed)

Change 3354003 on 2017/03/20 by Thomas.Sarkanen

	Back out changelist 3353914

Change 3354031 on 2017/03/20 by Benn.Gallagher

	Speculative fix for clothing crashes using Mambo. It was possible that the skeletal mesh component could have triggered deletion or creation of simulation state objects while the simulation was in flight on another thread, added tracking and waiting for outstanding tasks.
	#jira UE-42975

Change 3354151 on 2017/03/20 by Lina.Halper

	Make sure nullptr tick function still works
	- this is prerequisite for the play and export option

	#rb:Ori.Cohen

Change 3354229 on 2017/03/20 by James.Golding

	Add 'default camera' options for skel meshes
	#jira UE-42762

Change 3354342 on 2017/03/20 by Martin.Wilson

	Strip out identity raw tracks when baking additives.

	#jira UE-40508

Change 3354388 on 2017/03/20 by Martin.Wilson

	Fix false anim blueprint compile errors with aim offset pins

	#jira UE-38196

Change 3354494 on 2017/03/20 by Martin.Wilson

	Serialize compressed anim data when counting memory

	#jira UE-39691

Change 3354515 on 2017/03/20 by Josh.Stoddard

	Expose PxSceneFlag::eENABLE_ENHANCED_DETERMINISM
	#jira UE-41484 #rb ori.cohen

Change 3355932 on 2017/03/21 by Thomas.Sarkanen

	Back out changelist 3354003

	Reinstating merge from Main:

	Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys)

Change 3355954 on 2017/03/21 by Thomas.Sarkanen

	Fixed up CIS issues post merge from Main

Change 3355974 on 2017/03/21 by James.Golding

	Fix Mac CIS warning (constructor order of FAnimNode_BlendSpacePlayer)

Change 3355981 on 2017/03/21 by Jurre.deBaare

	Whitelisted circular dependencies between meshpaintmode and VR editor modules

Change 3355986 on 2017/03/21 by Jurre.deBaare

	Linux CIS file, non-capital M

Change 3356072 on 2017/03/21 by James.Golding

	Fix UStaticMeshComponent::GetMaterialFromCollisionFaceIndex to not depend on editor-only data
	#jira UE-43117

Change 3356073 on 2017/03/21 by James.Golding

	Implement GetMaterialFromCollisionFaceIndex for ProceduralMeshComponent

Change 3356300 on 2017/03/21 by Ori.Cohen

	Allow kinematic bodies with simulated parents using the full scene solver

Change 3356362 on 2017/03/21 by Lina.Halper

	- Support create animation from Play
	- Support export animation from Play
	 - this allows retargeting, post graph, or anything you see in engine will be baked to the animation

	#rb: Thomas.Sarkanen
	#jira: UE-19746

Change 3356482 on 2017/03/21 by Martin.Wilson

	Fix crash when opening a new montage

	#UE-43132

Change 3356709 on 2017/03/21 by James.Golding

	Check for NaN when converting rotator->quat (very large inputs can result in nan's, need to handle to avoid hitting asserts elsewhere)
	Add clamps when editing rotation of collision shapes, to avoid massive rotation entries

	#jira UE-39664

Change 3356968 on 2017/03/21 by Ori.Cohen

	Fix physics asset bounds to be as small as 1cm.
	This introduces flicker, but passing to rendering to fix that on their end.

Change 3357092 on 2017/03/21 by Josh.Stoddard

	Don't update kinematic target if the body isn't moving
	#jira UE-42784 #rb ori.cohen

Change 3357194 on 2017/03/21 by Lina.Halper

	Fix on vehicle anim instance look at node issue

	#rb: Ori.Cohen
	#jira: UE-43116

Change 3357298 on 2017/03/21 by Ori.Cohen

	Fix invalid warning when dragging actors into the world. This is invalid because we manually disable collision on actors when this happens, and the warning is only needed for actual runtime.

	#JIRA UE-42211

Change 3357494 on 2017/03/21 by Jon.Nabozny

	Fix FPropertyEditorInlineClassFilter filtering classes incorrectly.

	#jira UE-43098

Change 3357892 on 2017/03/21 by Lina.Halper

	fix build error
	#rb: none

Change 3358078 on 2017/03/22 by James.Golding

	Fix CIS - AnimNode_FootPlacement in Platformer game after SkelControl refactor (from CL 3351696)

Change 3358080 on 2017/03/22 by Jurre.deBaare

	Updating Alembic importer thirdparty dependencies for Windows and Mac

Change 3358081 on 2017/03/22 by James.Golding

	Add comment to help people fix up code after moving many properties in ContraintInstance to ProfileInstance member

Change 3358092 on 2017/03/22 by James.Golding

	Fix undo for saving/clearing default cam on mesh (also marks mesh dirty)

Change 3358093 on 2017/03/22 by James.Golding

	Panning in orbit mode now takes in account camera speed

	#jira UE-43082

Change 3358106 on 2017/03/22 by Thomas.Sarkanen

	Fix fallout from Main integration

Change 3358454 on 2017/03/22 by Ori.Cohen

	Temporarily disable phat immediate mode previewing to break the dependency on immediate physics plugin. Will be turned back on in later refactor

	#JIRA UE-41711

Change 3358886 on 2017/03/22 by Ori.Cohen

	Fix AutoWeld not being disabled in blueprint editor when the object is simulated

	#JIRA UE-40193

Change 3358950 on 2017/03/22 by Lina.Halper

	reverted code asking about asset name when create asset

	#rb: none

Change 3359034 on 2017/03/22 by Lina.Halper

	#fix fall out from previous revert
	 - because now export also shows the window. we don't want export to FBX to show name dialog
	 - it will use asset name as base

	#rb: none
	#code review:Thomas.Sarkanen

Change 3359165 on 2017/03/22 by Ori.Cohen

	Fix welded capsules not using the right rotation

	#JIRA UE-41546

Change 3359232 on 2017/03/22 by Ori.Cohen

	Bump DDC key for new bvh34.

Change 3359233 on 2017/03/22 by mason.seay

	Added a couple more scenarios and updated names.  Needs more organization

Change 3359293 on 2017/03/22 by tim.gautier

	Submitting MeshPaint test content for QAGame.

Change 3359389 on 2017/03/22 by Ori.Cohen

	Back out changelist 3356589

Change 3359402 on 2017/03/22 by Jon.Nabozny

	Move GetWeldParent and GetWeldChildren to EngineTest.

Change 3359978 on 2017/03/23 by Jurre.deBaare

	Mesh Paint brush disappears when painting in VR
	#fix removed conditional clause for painting the interactors
	#jira UE-43150

Change 3359980 on 2017/03/23 by Jurre.deBaare

	Mesh Paint hotkeys to modify brush size are inconsistent with other Paint modes
	#fix reverted to old behavior, paint mode overriding catching key input to viewport
	#jira UE-43158

Change 3360052 on 2017/03/23 by James.Golding

	Back out changelist 3359165, as it was made after smoke testing. Will re-submit after copy to main.

Change 3360121 on 2017/03/23 by James.Golding

	Fix perf regression from testing for NaN's in FRotator::Quaternion in shipping builds

Change 3360177 on 2017/03/23 by Jurre.deBaare

	Related to previous brush size check in, early out when the painter has handled the input, that way the rest of the editor can't take the brackets [] input anymore

Change 3360358 on 2017/03/23 by mason.seay

	Updated naming and organization of actors in Outliner

Change 3362050 on 2017/03/23 by Lina.Halper

	Back out changelist 3343074

	#rb:none
	#code review: Martin.Wilson, James.Golding

[CL 3362661 by Thomas Sarkanen in Main branch]
2017-03-24 09:53:37 -04:00
Marcus Wassmer
2826204161 Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3357411)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3244756 on 2017/01/03 by Marcus.Wassmer

	Copying //Tasks/UE4/Dev-Niagara@3244743 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3248667 on 2017/01/05 by Olaf.Piesche

	Resaving default asset because of engine verison issue; maybe unnecessary, but resaving niagara engine content to be sure

	#jira UE-40160

Change 3249324 on 2017/01/06 by Marcus.Wassmer

	Resave with an actual version to stop cook warning

Change 3249611 on 2017/01/06 by Marcus.Wassmer

	Just remove warning-causing niagara data for now.

Change 3308052 on 2017/02/16 by Rolando.Caloca

	DR - Check for Vulkan SDK, and only use it if it's newer or the same as the headers we distribute

Change 3308109 on 2017/02/16 by Rolando.Caloca

	DR - Upgrade glslang to 1.0.39.1

Change 3308111 on 2017/02/16 by Rolando.Caloca

	DR - Update Vulkan distribution to 1.0.39.1

Change 3308153 on 2017/02/16 by Rolando.Caloca

	DR - Updated glslang libs

Change 3308842 on 2017/02/17 by Rolando.Caloca

	DR - Fixed copy/paste

Change 3310007 on 2017/02/17 by Chris.Bunner

	Back out CL 3221219 - causing MIC generation issues and superseded by CL 3273971.

	#jira UE-37792

Change 3310154 on 2017/02/17 by Chris.Bunner

	Assert when attempting to add a custom material attribute already in the base attributes list.

Change 3310155 on 2017/02/17 by Chris.Bunner

	PR #3231: Validate material index before accessing (Contributed by projectgheist)

	#jira UE-41774, UE-41788

Change 3310162 on 2017/02/17 by Chris.Bunner

	PR #3252: Added MobileMaterialInterface to UsedMaterials (Contributed by projectgheist)

	#jira UE-41823, UE-41950

Change 3310176 on 2017/02/17 by Chris.Bunner

	Merging CL 3233886: AMD HDR support (requires r.AMDSupportsHDRDisplayOutput=1 in ini).
	Update to AGS 5.0.5.
	Partial code tidy up.

Change 3310187 on 2017/02/17 by Chris.Bunner

	Preserve constant expressions rather than always casting after translating a material attribute. Losing the notion of constant means we can't correctly detect used properties and falsely enable e.g. PDO. Happened because of the incorrect component masks in BreakMaterialNodes which then had to be downcast to the correct type which is done as an inline fragment rather than swizzle expression.

	#jira UE-41594

Change 3310215 on 2017/02/17 by Chris.Bunner

	Prevent SpeedTree node compiling for skeletal meshes (not supported as uses more UV sets than available).
	More descriptive error for missing Cubemap UV input on TextureSample material node .

	#jira UE-33098

Change 3310838 on 2017/02/18 by Joe.Graf

	Moved some private functions to public for a licensee

	#CodeReview: matt.kuhlenschmidt
	#rb: n/a

Change 3311876 on 2017/02/20 by Rolando.Caloca

	DR - Expose skin cache cvar r.SkinCache.AccumulationBufferSizeInKB

	#jira UE-42014

Change 3314139 on 2017/02/21 by Rolando.Caloca

	DR - Minor cleanup pass
	- Remove FVulkanPendingState
	- Renamed some classes for clarity
	- Hoist pending UAVs for flush out to pending compute state

Change 3314642 on 2017/02/21 by Rolando.Caloca

	DR - Some more renaming

Change 3315431 on 2017/02/21 by Ben.Salem

	Properly set default values for test time out and tick. We now will default to ticking once per second, and tracking the macro stats of GPU/Render/Game thread time.

	#tests Ran showdown demo several times

Change 3316710 on 2017/02/22 by Rolando.Caloca

	DR - hlslcc - Fix refract intrinsic

Change 3316718 on 2017/02/22 by Rolando.Caloca

	DR - hlslcc - Built libs to pick up change from 3316710 - refract fix

Change 3316820 on 2017/02/22 by Benjamin.Hyder

	updating Tm-TrigNodes map

Change 3317192 on 2017/02/22 by Benjamin.Hyder

	Updating QA-Decals map

Change 3317528 on 2017/02/22 by Benjamin.Hyder

	Updating QA-Decals map

Change 3317639 on 2017/02/22 by Benjamin.Hyder

	Updating Decal on Complex Mesh example in QA-Decals

Change 3317764 on 2017/02/22 by Benjamin.Hyder

	Final updates to QA-Decals

Change 3318319 on 2017/02/22 by Rolando.Caloca

	DR - minor reorg/rename

Change 3318379 on 2017/02/22 by Rolando.Caloca

	DR - more cleanup

Change 3321181 on 2017/02/24 by Rolando.Caloca

	DR - Fix GL bug

Change 3321247 on 2017/02/24 by Rolando.Caloca

	DR - Fix misc bugs

Change 3321898 on 2017/02/24 by Chris.Bunner

	Only issue clear TLV dispatch if required.

	#jira UERNDR-193

Change 3321904 on 2017/02/24 by Chris.Bunner

	Added comment for potential future optimization.

Change 3322013 on 2017/02/24 by Uriel.Doyon

	Fixed separate translucency being affected by Gaussian DOF
	#jira UE-40489

Change 3322517 on 2017/02/24 by Uriel.Doyon

	Fixed issue with InvestigateTexture command removing budget limit.
	Fixed StreamingBounds show flag not working. It nows shows the streaming bound for the currently selected textures.
	#jira UE-40485

Change 3323470 on 2017/02/27 by Chad.Garyet

	Removing DDC job from dev-rendering

Change 3323479 on 2017/02/27 by Chad.Garyet

	Removing RDU agent type

Change 3323519 on 2017/02/27 by Chad.Garyet

	removing NCL/LHR/SEA agent types to clean up space

Change 3323639 on 2017/02/27 by Benjamin.Hyder

	More updates to QA-Decals

Change 3324207 on 2017/02/27 by Uriel.Doyon

	Fixed typo ScaleTexturesByGlobalMyBias ->  ScaleTexturesByGlobalMipBias
	Removed bad merge in FStreamingTextureLevelContext::GetBuildDataIndexRef

Change 3324396 on 2017/02/27 by Uriel.Doyon

	Fixed an issue with the Streaming Bounds show flag interferring with the static level data initialization
	#jira UE-40485

Change 3325227 on 2017/02/28 by Chris.Bunner

	Fix-up AMD AGS libs.

Change 3325566 on 2017/02/28 by Uriel.Doyon

	Fixed possible out-of-bound access in GetUsedTexture() when passing ERHIFeatureLevel::Num

Change 3326009 on 2017/02/28 by Uriel.Doyon

	Better fix for 3325566, as the previous fix would ignore the material instance overrides.

Change 3327058 on 2017/03/01 by Benjamin.Hyder

	Preparing TM_Shadermodels map for automation

Change 3328222 on 2017/03/01 by Chris.Bunner

	Prevent decals from drawing in separate translucency pass. Whilst user control and material relevance were already removed, if the flag was checked before being disabled (by swapping to decal domain) this was still being read in the render loop, now explicitly ignores decals.

	#jira UE-42449, UE-42446

Change 3329848 on 2017/03/02 by Uriel.Doyon

	Added some extra logs to help track UE-42168

Change 3329977 on 2017/03/02 by Rolando.Caloca

	DR - Fix bad clear value

Change 3330008 on 2017/03/02 by Benjamin.Hyder

	More preparations for QA-Decals automation

Change 3330754 on 2017/03/02 by Daniel.Wright

	Prominent comment explaining reflection env async compute usage and why it's not overlapped with anything

Change 3331451 on 2017/03/03 by Marc.Olano

	Manually unroll simplex noise loop to avoid PSO bug on AMD/Metal

Change 3331839 on 2017/03/03 by Rolando.Caloca

	DR - hlslcc - add missing file to project

Change 3332247 on 2017/03/03 by Rolando.Caloca

	DR - Fix for integrated intel
	PR #3305
	#jira UE-42393

Change 3332259 on 2017/03/03 by Rolando.Caloca

	DR - Fix bad index into pixel formats
	PR #3237
	#jira UE-41855

Change 3332305 on 2017/03/03 by Rolando.Caloca

	DR - OpenGL SRV for index buffers
	PR #3271
	#jira UE-32618

Change 3332313 on 2017/03/03 by Rolando.Caloca

	DR - Fix for integrated intel (properly)
	PR #3305
	#jira UE-42393

Change 3332317 on 2017/03/03 by Rolando.Caloca

	DR - OpenGL SRV for index buffers (properly)
	PR #3271
	#jira UE-32618

Change 3332368 on 2017/03/03 by Rolando.Caloca

	DR - Minor fixes so -sm4 and -sm5 can be used on windows with OpenGL/Vulkan

Change 3333690 on 2017/03/06 by Daniel.Wright

	[Copy] Changing movable skylight properties no longer affects static draw lists

Change 3333693 on 2017/03/06 by Daniel.Wright

	[Copy] Added 'r.AOListMeshDistanceFields' which dumps out mesh distance fields sorted by memory size, useful for directing content optimizations

Change 3333705 on 2017/03/06 by Daniel.Wright

	[Copy] Mesh distance fields are now 8 bit fixed point by default, but can be changed back to 16 bit floating piont with a project setting.
	* 8 bit uses half memory but introduces error for thin surfaces or large meshes.

Change 3333721 on 2017/03/06 by David.Hill

	DecalProxy:
	Copy float FadeScreenSize to FDeferredDecalProxy for use in the render thread.  This avoids  pointer chasing to the UDecalComponent (game thread component).

Change 3333772 on 2017/03/06 by Daniel.Wright

	[Copy] Scene motion blur data is only updated for the main renderer frames.  Fixes scene captures and planar reflections breaking object motion blur.

Change 3333790 on 2017/03/06 by Daniel.Wright

	[Copy] Mesh distance field generation uses Embree, for a 2.5x speedup
	* Can switch back to old kDOP generation with 'r.DistanceFieldBuild.UseEmbree 0' for debugging

Change 3333822 on 2017/03/06 by Daniel.Wright

	[Copy] Moved mesh distance field code into MeshDistanceFieldUtilities.cpp
	* Moved FMeshUtilities to its own header so the 8k line MeshUtilites.cpp file can be further split up

Change 3333827 on 2017/03/06 by Daniel.Wright

	[Copy] Range compress 8bit distance fields - gets one extra bit of precision on average

Change 3333828 on 2017/03/06 by Daniel.Wright

	[Copy] Raised High ShadowQuality to 2048 as 1024 for CSM is way too low

Change 3333831 on 2017/03/06 by Daniel.Wright

	Non-editor compile fix

Change 3333836 on 2017/03/06 by Daniel.Wright

	[Copy] Workaround for gobal distance field volume textures being bloated by 4x on PS4 due to the recommended tiling modes.  They now use a 2d tiling mode which avoids the bloat, saving 96Mb.

Change 3333843 on 2017/03/06 by Daniel.Wright

	[Copy] Added OcclusionExponent to skylight component
	* Useful for brightening up indoors without losing contact shadows as MinOcclusion does

Change 3333845 on 2017/03/06 by Daniel.Wright

	[Copy] Capsule shadow BP functions

Change 3333850 on 2017/03/06 by Daniel.Wright

	[Copy] Added OcclusionCombineMode to skylight component

Change 3333854 on 2017/03/06 by Daniel.Wright

	[Copy] Gnm properly registers clears as GPU work so those events show up in profilegpu

Change 3333857 on 2017/03/06 by Daniel.Wright

	[Copy] Clear light attenuation for local lights with a quad covering their screen extents
	* Clearing the entire light attenuation buffer costs .1ms on PS4.  This optimization lowers the minimum cost of a shadow casting light from .15ms -> .03ms.
	* Shadowed lights in Fortnite with 25 lights 3.7ms -> 1.42ms on PS4

Change 3333860 on 2017/03/06 by Daniel.Wright

	[Copy] Flush deferred deletes when reallocating distance field atlas to reduce peak memory

Change 3333861 on 2017/03/06 by Daniel.Wright

	[Copy] Disable all distance field features on Intel cards as HD 4000 hangs in the RHICreateTexture3D call to allocate the large atlas

Change 3333869 on 2017/03/06 by Daniel.Wright

	[Copy] Volumetric Fog using a volume texture mapped to the camera frustum
	* Volumetric fog can be enabled on an Exponential Height Fog component with additional controls
	* Lights have a VolumetricScatteringIntensity
	* New cvars r.VolumetricFog, r.VolumetricFog.GridPixelSize, r.VolumetricFog.GridSizeZ, r.VolumetricFog.DepthDistributionScale
	* Lighting features supported:
	   * Directional light with CSM and a light function
	   * Point / spot lights without shadows / light functions / IES profiles
	   * Skylight with occlusion from distance fields
	* Analytical height fog covers the view range past where the volumetric fog ends
	* Temporal reprojection is used on the volumetric fog scattering and extinction to achieve stability
	* Translucency integrates properly into volumetric fog
	* Height fog StartDistance is not supported by volumetric fog and should be set to 0.

Change 3333894 on 2017/03/06 by Daniel.Wright

	[Copy] Initialize GDummyVolumetricFogGlobalDataUniformBuffer outside of parallel rendering

Change 3333902 on 2017/03/06 by Daniel.Wright

	[Copy] Better handling of volumetric fog enabled with distance of 0

Change 3333903 on 2017/03/06 by Daniel.Wright

	[Copy] Fixed volumetric fog trying to render light functions for a point light

Change 3333908 on 2017/03/06 by Daniel.Wright

	[Copy] Volumetric materials
	* Added new material domain Volume, which can output Scattering, Absorption and Emissive.  All properties are in world space densities.
	* Particle systems using the Volume domain are voxelized based on their ParticlePosition and ParticleRadius
	* Volumetric fog integration is now energy conservative - scattering is integrated against transmission over the depth of each slice.
	* Added bOverrideLightColorsWithFogInscatteringColors to exponential height fog, which can be enabled to make Volumetric Fog match Height fog more closely

Change 3334134 on 2017/03/06 by Daniel.Wright

	[Copy from Michael Trepka] Added Embree 2.14.0 and changed MeshUtilities to use it as this solves issues with Embree leaking TLS keys. UnrealLightmass is still using older Embree 2.7.0 until we can find time to properly test it with the new version. Also, invalidated distance field DDC to force it to rebuild with updated Embree.

Change 3334420 on 2017/03/06 by Daniel.Wright

	Fixed RTDF shadows

Change 3335467 on 2017/03/07 by Benjamin.Hyder

	Initial submission of QA-Decals map to EngineTest

Change 3335556 on 2017/03/07 by Daniel.Wright

	Changed mesh distance field default format back to R16f

Change 3338020 on 2017/03/08 by Daniel.Wright

	Disable volumetric fog in vertex shaders for feature levels which don't support it

Change 3339394 on 2017/03/09 by Chris.Bunner

	Correctly handle material texture translation error edge case.

	#jira UE-42579, UE-42670

Change 3339992 on 2017/03/09 by Daniel.Wright

	Only compile volumetric fog shaders on supporting platforms

Change 3341858 on 2017/03/10 by Arne.Schober

	Copying //UE4/Dev-Rendering-PSO to Dev-Rendering (//UE4/Dev-Rendering)

	#RB Rolando.Caloca, Marcus.Wassmer, Daniel.Wright, Nick.Penwarden, Mark.Satterthwaite

Change 3342004 on 2017/03/10 by Arne.Schober

	Copying //UE4/Dev-Rendering-PSO to Dev-Rendering (//UE4/Dev-Rendering)
	Fix unity build

	#RB Marcus.Wassmer

Change 3343307 on 2017/03/13 by Marcus.Wassmer

	Update showflags when we are guaranteed it will happen in all possible ways to spawn the scenecapture. (drag into editor, PIE, -game, etc)

Change 3343732 on 2017/03/13 by Rolando.Caloca

	DR - Vulkan compute pipeline & refactor

Change 3344846 on 2017/03/14 by Rolando.Caloca

	DR - Android compile fixes

Change 3344883 on 2017/03/14 by Rolando.Caloca

	DR - Add missing stencil load/store to PSO initializer

Change 3344985 on 2017/03/14 by Rolando.Caloca

	DR - Made load/store actions uint8

Change 3345141 on 2017/03/14 by Rolando.Caloca

	DR - vk - Rework render pass hash

Change 3345304 on 2017/03/14 by Benjamin.Hyder

	Updating TM-Distancefields map to include TemplateFloor mesh

Change 3345387 on 2017/03/14 by Rolando.Caloca

	DR - Add _RenderThread calls for Create*Shader so RHIs can choose not to stall when creating

Change 3345388 on 2017/03/14 by Rolando.Caloca

	DR - Do not stall when creating shaders on Vulkan

Change 3345722 on 2017/03/14 by Chris.Bunner

	PR #3357: MinimalAPI add to many material expressions (Contributed by DeanoC)

	#jira UE-42752

Change 3345723 on 2017/03/14 by Chris.Bunner

	Reduce log verbosity causing spamming during  landscape editing.

	#jira UE-42714

Change 3345725 on 2017/03/14 by Chris.Bunner

	[Duplicate 3341860] Fixed material translation error with multiple connections from custom interpolator nodes.

Change 3345726 on 2017/03/14 by Chris.Bunner

	Typo fixes.

Change 3345732 on 2017/03/14 by Rolando.Caloca

	DR - Decouple vertex declaration off BSS

Change 3345746 on 2017/03/14 by Chris.Bunner

	Added sign() intrinsic material graph node and delisted material function workaround.

Change 3346042 on 2017/03/14 by Chris.Bunner

	Implement missing size query interface for FRenderTargetResources.

	#jira UE-41672

Change 3346387 on 2017/03/14 by Daniel.Wright

	[Copy] Added VolumetricScatteringIntensity to particle lights

Change 3346389 on 2017/03/14 by Daniel.Wright

	[Copy] Clamp Volumetric material attributes to fp16 range to avoid INFs
	Disable volumetric fog when the fog show flag is disabled

Change 3346392 on 2017/03/14 by Daniel.Wright

	[Copy] Fixed skylight being much too bright on volumetric fog

Change 3346406 on 2017/03/14 by Daniel.Wright

	[Copy] CSM resolution is now controlled by r.Shadow.MaxCSMResolution.
	* Changed HighPC to use 1024 MaxShadowResolution (max for all non-CSM shadows), saves 60Mb in Fortnite

Change 3346412 on 2017/03/14 by Daniel.Wright

	[Copy] TexCreate_ReduceMemoryWithTilingMode for translucency lighting 3d textures, saves 13Mb

Change 3346414 on 2017/03/14 by Daniel.Wright

	[Copy] TexCreate_ReduceMemoryWithTilingMode for volumetric fog 3d textures, saves 13Mb

Change 3346415 on 2017/03/14 by Daniel.Wright

	[Copy] Missing file from cl 3338451

Change 3346421 on 2017/03/14 by Daniel.Wright

	[Copy] Fixed NaNs in volumetric fog due to rendering when height fog is disabled
	* Volumetric fog converts NaNs to black now so they don't spread

Change 3346422 on 2017/03/14 by Daniel.Wright

	[Copy] Fixed NaN in volumetric fog with low density values

Change 3346423 on 2017/03/14 by Daniel.Wright

	[Copy] Changed default VolumetricFogScatteringDistribution to .2

Change 3346430 on 2017/03/14 by Daniel.Wright

	[Copy] New translucent material option to compute fog per pixel instead of the default per vertex

Change 3346432 on 2017/03/14 by Daniel.Wright

	[Copy] Moved Volumetric Fog parameters to view uniform buffer for translucency pass
	Fixed lifetimes of temporary Volumetric Fog render targets

Change 3346526 on 2017/03/14 by Daniel.Wright

	[Copy] Volumetric Fog supports point and spot light shadows
	* These lights are injected separately so that per-light resources can be bound (shadow depth map, static shadow depth map)
	* Forward lighting of local lights can be forced with 'r.VolumetricFog.InjectShadowedLightsSeparately 0'
	* Shadowed lights come at a cost: 2.9ms for volumetric fog on 970 -> 4.2ms with shadowing

Change 3347053 on 2017/03/15 by Rolando.Caloca

	DR - android compile fix

Change 3347384 on 2017/03/15 by Rolando.Caloca

	DR - Fix merge issue

Change 3347643 on 2017/03/15 by Marcus.Wassmer

	Fix some bugs with the 'disable stationary skylight ffor the project' feature.
	Fixes lighting in Persona on Paragon.

Change 3347979 on 2017/03/15 by Rolando.Caloca

	DR - Allow to automatically apply cached rendertargets to PSO initializer

Change 3348024 on 2017/03/15 by Rolando.Caloca

	DR - Remove NullPS on Vulkan to avoid deadlock

Change 3348303 on 2017/03/15 by Rolando.Caloca

	DR - Fix for debugging SCW with material SRT

Change 3348357 on 2017/03/15 by Marcus.Wassmer

	Fix stencildither and a stencilref bug that was probably breaking decals sometimes.

Change 3348549 on 2017/03/15 by Marcus.Wassmer

	Hopefully fix static analysis for potential nullptr access.

Change 3348614 on 2017/03/15 by Marcus.Wassmer

	Duplicate some switch changes to fix crash on launch.

Change 3349369 on 2017/03/16 by Gil.Gribb

	Fixed botched merge

Change 3349947 on 2017/03/16 by Rolando.Caloca

	DR - Fix for mismatched primitive type

Change 3349956 on 2017/03/16 by Benjamin.Hyder

	initial updates to TM-DistanceFields map

Change 3350151 on 2017/03/16 by Rolando.Caloca

	DR - Fix UT compile issue

Change 3350155 on 2017/03/16 by Rolando.Caloca

	DR - Catch mismatched primitive type on PSOs on D3D11

Change 3350192 on 2017/03/16 by Daniel.Wright

	Fix for point light shadow depths rendering with wrong cull mode due to PSO refactor

Change 3350736 on 2017/03/16 by Daniel.Wright

	Fixed formatting from merge

Change 3350881 on 2017/03/16 by Rolando.Caloca

	DR - Fix texture arrays as UAVs on Metal

Change 3350927 on 2017/03/16 by Rolando.Caloca

	DR - Fix warning

Change 3350935 on 2017/03/16 by Daniel.Wright

	Fix for materials with non-Surface domains being skipped in mesh passes

Change 3351583 on 2017/03/17 by Marcus.Wassmer

	Fix clang platforms

Change 3351917 on 2017/03/17 by Marcus.Wassmer

	Fix linux compile

Change 3351973 on 2017/03/17 by Marcus.Wassmer

	Fix mismatched rendertargetformat

Change 3352038 on 2017/03/17 by Daniel.Wright

	Enabled GetAndOrCreateGraphicsPipelineState ensures in Development for testing

Change 3352110 on 2017/03/17 by Marcus.Wassmer

	Fix missing RT PSO apply

Change 3352695 on 2017/03/17 by Arne.Schober

	DR - Remove PSO Rendertarget check in DX12 Resolve with Shader.
	#RB Rolando.Caloca

Change 3352960 on 2017/03/17 by Arne.Schober

	DR - Fix some things that slipped trough the PSO merge
	#RB none

Change 3353150 on 2017/03/18 by Rolando.Caloca

	DR - compile fix

Change 3353205 on 2017/03/18 by Arne.Schober

	DR - Fix Incremental Compile and PS4 runtime error where CMASK is not allowed for ThickTile Mode

	#RB none

Change 3353207 on 2017/03/18 by Arne.Schober

	DR - Fix Confusion

	#RB none

Change 3355183 on 2017/03/20 by Nick.Bullard

	Fixed up Content orginzation for Decals automation tests in EngineTest

Change 3355627 on 2017/03/20 by Arne.Schober

	DR - [UE-43094] - removed ensure in comporiton graph as control of the clear color cannot be gurantueed.

Change 3356342 on 2017/03/21 by Marcus.Wassmer

	Fix clang errors

Change 3356591 on 2017/03/21 by Arne.Schober

	DR - Fix ensure message
	#RB none

Change 3356873 on 2017/03/21 by Arne.Schober

	DR - Fix comparission of undefined values in RendertargetApply Check

Change 3357261 on 2017/03/21 by Marcus.Wassmer

	Fix LinuxEditor compile

Change 3357294 on 2017/03/21 by Marcus.Wassmer

	Add missing SSE functions

Change 3357351 on 2017/03/21 by Frank.Fella

	Fix win32 and linux compiler errors

Change 3357370 on 2017/03/21 by Arne.Schober

	DR - disable ensure in test builds

	#RB Marcus.Wassmer

[CL 3357449 by Marcus Wassmer in Main branch]
2017-03-21 17:46:52 -04:00