Files
UnrealEngineUWP/Engine/Source/Developer
Gil Gribb 2cf40e541e Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3091903)
#lockdown Nick.Penwarden
#rb none

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

Change 3072947 on 2016/08/01 by Uriel.Doyon

	Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game texture.
	#review-3072934 @marcus.wassmer
	#jira UE-34045

Change 3073301 on 2016/08/02 by Ben.Woodhouse

	Fix for large spotlight culling precision issues, reported on UDN by Aaron Jacobs at Double Fine. For a full description, see the UDN post
	https://udn.unrealengine.com/questions/305440/shadowed-light-flicker-caused-by-floating-point-pr.html
	#jira UE-34052

Change 3073689 on 2016/08/02 by Ben.Woodhouse

	Improved skin postprocess - support for full resolution, with diffuse/spec lighting combined into single RGBA (sharing chroma)

	Full res lighting gives less temporal AA flickering, sharper diffuse and specular lighting in the surface (since this is now at full resolution), faster postprocessing if using a 64-bit rendertarget (on NV 980Ti).

	Checkerboard rendering is controlled via the r.sss.checkerboard cvar. - 0 is off/full res, 1 is checkerboard, 2 is automatic based on scenecolor (non-checkerboard requires 64bit or more rendertarget w/separate alpha)

	Tested/profiled on PC, PS4

Change 3074666 on 2016/08/02 by Daniel.Wright

	Fixed stationary skylight brightness

Change 3074667 on 2016/08/02 by Daniel.Wright

	Fixed r.ReflectionEnvironmentLightmapMixing

Change 3074687 on 2016/08/02 by Daniel.Wright

	Disallowed DrawMaterialToRenderTarget and Begin/EndDrawCanvasToRenderTarget in construction scripts, since they don't work in game.  Blutilities can be used to do blueprint rendering in the editor.

Change 3075241 on 2016/08/03 by Rolando.Caloca

	DR - Fix linux compile issue & static analysis warning

Change 3075746 on 2016/08/03 by Daniel.Wright

	Removed bOverride_AntiAliasingMethod and outdated ini references to PP AntiAliasingMethod

Change 3075783 on 2016/08/03 by Ryan.Brucks

	#code.review Marcus.Wassmer

	Added two material nodes that return Atmospheric Light Vector and Light Direction using:

	View.AtmosphericFogSunColor
	View.AtmosphericFogSunDirection

	Nodes are called:
	AtmosphericLightVector
	AtmosphericLightColor

	Also changed SceneRendering.cpp so that values will be grabbed from directional lights without needing an Atmospheric Fog actor in the scene.

Change 3075969 on 2016/08/03 by Uriel.Doyon

	Material GUIDs are not updated anymore when parents or textures change.
	Lighting now uses a hash built from the list of parents, textures and shader functions.
	#review-3072980 @marcus.wassmer @daniel.wright

Change 3076116 on 2016/08/03 by Ryan.Brucks

	#code.review marcus.wassmer
	Fixed typo in the Caption of new Nodes "Atmospheric Light Vector" and "Atmospheric Light Color"

Change 3076456 on 2016/08/03 by Rolando.Caloca

	DR - Fix geometry shader gl_Layer for SPIR-V

Change 3076730 on 2016/08/03 by Uriel.Doyon

	Added user warning logic for the texture streaming build. Ran in MapCheck, BeginPlay and PreSave.
	#review-3072984 @marcus.wassmer

Change 3077616 on 2016/08/04 by Daniel.Wright

	Planar reflection show flags can now be edited

Change 3077621 on 2016/08/04 by Daniel.Wright

	Changed default Planar Reflection DistanceFromPlaneFadeoutEnd from 600 to 100, which reduces artifacts and is a more intuitive initial setting

Change 3077792 on 2016/08/04 by Daniel.Wright

	Fixed an unnecessary sky capture caused by the sky light component owned by the default ASkyLight

Change 3077799 on 2016/08/04 by Daniel.Wright

	Skip RF_ArchetypeObject for reflection captures

Change 3077876 on 2016/08/04 by Marc.Olano

	Noise material perf improvements

	Change random number generator for Gradient-ALU (1.7x perf boost), improve speed of Voronoi noise quality level 3.

	Removes integer BBS random number generators. Fewer instructions, but too slow to use (see 1.7x perf boost above)

Change 3077884 on 2016/08/04 by Daniel.Wright

	Lighting channels can now be edited on components with static mobility, since dynamic lights can still affect them

Change 3078994 on 2016/08/05 by Simon.Tovey

	Fix for UE-34241
	Scene proxy ptr was being cached during a downcast.
	Inside a call to CreateDynamicData, CheckMaterialUsage_Concurrent() was causing the scene proxy to be recreated an so the cached ptr was stale.
	I've fixed the immediate issue but recreating the scene proxy here doesn't seem great. Maybe CheckMaterailUsage() should be rethought a bit.

Change 3079162 on 2016/08/05 by Ben.Woodhouse

	Fix for jittering in Paper2D. Was caused by override being ignored due to a change in intiialization order for AA settings.
	#jira UE-34091

Change 3079613 on 2016/08/05 by Daniel.Wright

	New blueprint function ClearRenderTarget2D, which is the only way to set a render target alpha directly
	New blueprint function CreateRenderTarget2D

Change 3079708 on 2016/08/05 by Uriel.Doyon

	Fixed crash when building texture streaming on some levels.

Change 3079795 on 2016/08/05 by Uriel.Doyon

	Fixed issue with instanced static meshes when building texture streaming.
	Fixed typo with func "GetNumTextureStreamingPrimitives"

Change 3079806 on 2016/08/05 by Uriel.Doyon

	Enabled PerTexture MipBias. The per texture mip bias now resets to 0 when the texture gets required at low resolution.
	New scalability setting named "r.Streaming.LimitPoolSizeToVRAM" enabling the PoolSize to be limited the available VRAM
	(according to GPoolSizeVRAMPercentage)
	#review-3074662 @marcus.wassmer

Change 3082698 on 2016/08/09 by Daniel.Wright

	Copy - CreateRenderTarget2D uses a world context object as owner, allows use in a construction script

Change 3082699 on 2016/08/09 by Daniel.Wright

	Changed display name for 'Two Sided' shading model to 'Two Sided Foliage' to make it clear what it's intended to be used for

Change 3083909 on 2016/08/10 by Olaf.Piesche

	#jira UE-34106
	#jira UE-32784
	#jira UE-31198

	Reset vertex factories on mesh emitters if mesh has been reimported (if mesh package is dirty)

Change 3084645 on 2016/08/10 by Olaf.Piesche

	#jira UE-30398

	Fix offset added to particle collision locations.

Change 3084709 on 2016/08/10 by Daniel.Wright

	Copy - Scene capture alpha is now inverted to match DrawMaterialToRenderTarget, and to allow compositing with existing render target contents
	Added CompositeMode to SceneCapture2D, which can be used to addively accumulate or composite instead of the default overwrite behavior
	Added bCaptureOnMovement to SceneCapture, which can be disabled so the only source of scene capturing is a manual capture by calling CaptureScene()

Change 3084783 on 2016/08/10 by Rolando.Caloca

	DR - Use the first targeted rhi shader platform as the initial RHI to load on Windows
	#jira UE-34510

Change 3084958 on 2016/08/10 by Daniel.Wright

	Copy - Reverted cl 2938543 "Lightmass now respects owner bHidden, and bCastHiddenShadow" because it did not have backwards compatibility so breaks content using hidden light cards

Change 3086023 on 2016/08/11 by Marcus.Wassmer

	Merging //UE4/Dev-Main@3085468 to Dev-Rendering (//UE4/Dev-Rendering)
	#test none

Change 3086778 on 2016/08/11 by Ben.Woodhouse

	Workaround for fortnite character rendering issue. Enable checkerboard rendering by default until we can fix properly
	#jira UE-34561

Change 3087404 on 2016/08/12 by Rolando.Caloca

	DR - Upgrade glslang to 1.0.21.1
	- Added some more debug output

Change 3087524 on 2016/08/12 by Rolando.Caloca

	DR - vk - Fixed StencilRef, fixed size of RHIReadSurfaceFloatData (but still returns dummy data)

Change 3087663 on 2016/08/12 by Rolando.Caloca

	DR - vk - Fix for SRGB; support for mip texture views

Change 3087735 on 2016/08/12 by Daniel.Wright

	TextureRenderTarget2D's can now be up to 8192^2.  Anything over 2048 pops up an 'are you sure' dialog.

Change 3087750 on 2016/08/12 by Rolando.Caloca

	DR - vk - Minor renaming in prep for merge

Change 3087813 on 2016/08/12 by Rolando.Caloca

	DR - vk - More minor cleanup

Change 3087819 on 2016/08/12 by Chris.Bunner

	Check material function input types directly, no need to traverse connected graph.
	#jira UE-32134

Change 3087901 on 2016/08/12 by Rolando.Caloca

	DR - vk - Fix RT view to use 1 mip
	Fix depth buffer component swizzle

Change 3088193 on 2016/08/12 by Daniel.Wright

	DFAO and RTDF shadows are enabled in High and Epic scalability settings by default

Change 3088988 on 2016/08/15 by Rolando.Caloca

	DR - Add Accessors

Change 3089104 on 2016/08/15 by Olaf.Piesche

	#jira UE-34241

	Sceneproxy can be nullptr in FDynamicMeshEmitterData::Init if the proxy is being recreated

Change 3089208 on 2016/08/15 by Daniel.Wright

	Downsampled separate translucency uses a separate view uniform buffer with correct buffer sizes
	* Fixes WorldPosition in downsampled translucency
	* View uniform buffer parameters are now cached on the view, to allow recreating the uniform buffer without having to rebuild the entire struct.  Currently used by global distance field, downsampled separate translucency.
	* Fixed the downsampled translucency depth buffer being full res used together with a smaller color target, now they are both the downsampled res

Change 3089209 on 2016/08/15 by Daniel.Wright

	Fixed atmospheric fog on translucency

Change 3089457 on 2016/08/15 by Daniel.Wright

	Fixed lighting build failure from UMaterialInstanceDynamic assigned to a mesh that's being exported to Lightmass.  The Swarm cache entry is created using the parent's guid, causing multiple MID's with the same parent to acquire a file handle multiple times which fails after the first.

Change 3089549 on 2016/08/15 by Daniel.Wright

	UMaterialInterface initializes LightingGuid to something valid - causes UMaterialInstanceDynamic to have a valid LightingGuid so they can be used in lighting builds

Change 3089703 on 2016/08/15 by Daniel.Wright

	Custom expression fixup for View.RenderTargetSize

Change 3090546 on 2016/08/16 by Daniel.Wright

	Hopeful fix for recycled snapshot view crash

Change 3091202 on 2016/08/16 by Daniel.Wright

	Manually clear FViewInfo::CachedViewUniformShaderParameters on creating a snapshot, since memcpy is used to create the snapshot view

[CL 3091931 by Gil Gribb in Main branch]
2016-08-17 11:38:13 -04:00
..