Files
UnrealEngineUWP/Engine/Shaders
sebastien hillaire 3d105a40bc Fixed many issues related to reflection
- Clarified top and bottom layers. Default material only has top layer.
- Reverted clear coat code doing an extra loop for sky sampling causing issues on other materials (wrongly receiving sky color)
- Fixed clear coat appearance when MaxDistance!=-1
- Fixed black reflexions due to R pointing into the surface using the clear coat normal (assuming it is smooth so only a half kind of a fix, a proper fix would involve sending the geometry normal in the payload)
- Tested: works with fog, with/without reflection volume, and with/without deferred material evaluation

#rb Charles.DeRousiers
#jira none, but agreed with Juan Canada and Nick Penwarden that it should go in (for correctenss of reflections and entreprise coated material)
#lockdown nick.penwarden

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: sebastien.hillaire
#ROBOMERGE-SOURCE: CL 5491314 in //UE4/Release-4.22/... via CL 5491315
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5510293 by sebastien hillaire in Dev-Networking branch]
2019-03-22 17:28:03 -04:00
..