Description

Certain materials no longer compile in InfiltratorForward with Forward Shading enabled. These materials were not having this compile issue in //UE4/Main @ CL - 3231640 which is the CL before Dev-Rendering integration.

LogShaderCompilers:Warning: Failed to compile Material /Game/Env/Infil1_Courthouse/Material/M_Infil1_City_Courthouse_Statue_Base.M_Infil1_City_Courthouse_Statue_Base for platform PCD3D_SM5, Default Material will be used in game.
LogShaderCompilers:Warning:     ShadingModels.usf(554,15-81):  warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
LogShaderCompilers:Warning:     ShadingModels.usf(576,15-55):  warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
LogShaderCompilers:Warning:     ShadingModels.usf(597,24-66):  warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
LogShaderCompilers:Warning:     ReflectionEnvironmentComposite.usf(10,15-38):  err0r X4510: maximum ps_5_0 sampler register index (16) exceeded

Regression:
Working: //UE4/Main @ CL - 3231640
Broken: //UE4/Main @ CL - 3231696

Steps to Reproduce
  1. Open InfiltratorForward
  2. Review output log for errors
LogShaderCompilers:Warning: Failed to compile Material /Game/Env/Infil1_Courthouse/Material/M_Infil1_City_Courthouse_Statue_Base.M_Infil1_City_Courthouse_Statue_Base for platform PCD3D_SM5, Default Material will be used in game.
LogShaderCompilers:Warning:     ShadingModels.usf(554,15-81):  warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
LogShaderCompilers:Warning:     ShadingModels.usf(576,15-55):  warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
LogShaderCompilers:Warning:     ShadingModels.usf(597,24-66):  warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
LogShaderCompilers:Warning:     ReflectionEnvironmentComposite.usf(10,15-38):  err0r X4510: maximum ps_5_0 sampler register index (16) exceeded

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-39734 in the post.

0
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.15
Target Fix4.15
Fix Commit3264242
Main Commit3389599
Release Commit3264242
CreatedDec 13, 2016
ResolvedJan 19, 2017
UpdatedApr 27, 2018
View Jira Issue