This issue has been closed as 'Won't Fix' due to an extended period of time without updates. If this issue is important to you please let us know by posting on the AnswerHub or UDN, and Epic will re-open the ticket for further review.
Shader compile error in function PositionOnlyMain() in ShadowDepthVertexShader.usf if defined INTERPOLATE_POSITION.
LogShaderCompilers:Warning: 1 Shader compiler errors compiling WorldGridMaterial for platform PCD3D_SM5: LogShaderCompilers:Warning: Engine/Shaders/ShadowDepthVertexShader.usf(286,2): Shader TShadowDepthVSVertexShadowDepth_OutputDepthPositionOnly, VF FSplineMeshVertexFactory: error X3004: undeclared identifier 'OutputParameters' LogShaderCompilers:Warning: error X3004: undeclared identifier 'OutputParameters'
Changed "OutputParameters.PixelPosition = WorldPos;" to "OutParameters.PixelPosition = WorldPos;", but still encountered error with following log.
LogShaderCompilers:Warning: 1 Shader compiler errors compiling WorldGridMaterial for platform PCD3D_SM5: LogShaderCompilers:Warning: Engine/Shaders/ShadowDepthVertexShader.usf(267,25): Shader TShadowDepthVSForGSVertexShadowDepth_OnePassPointLightPositionOnly, VF FSplineMeshVertexFactory: error X3508: 'PositionOnlyMain': output parameter 'OutParameters' not completely initialized LogShaderCompilers:Warning: error X3508: 'PositionOnlyMain': output parameter 'OutParameters' not completely initialized
Then add "OutParameters = (FShadowDepthVSToPS)0;" into top line of function PositionOnlyMain(), and there is no error with it.
Could you please review it and apply it to main branch?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-22427 in the post.
0 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.8 |
Created | Oct 21, 2015 |
---|---|
Resolved | Feb 14, 2017 |
Updated | Apr 27, 2018 |