Vertex clip?

firelight322
Fri, 03 Mar 2017 21:19:40 +0000
Rendering

Hello,

I don’t believe there is a clip node for vertices. I am trying to us clip() in a custom expression, but Unreal complains about an unmapped expression and seems to believe I am trying to access a local variable.

LogShaderCompilers:Warning: Failed to compile Material /Engine/Transient.JacketCustomMat for platform PCD3D_SM5, Default Material will be used in game.

LogShaderCompilers:Warning: Material.usf(1284,2-9): err0r X4532: cannot map expression to vs_5_0 instruction set

LogShaderCompilers:Warning: LocalVertexFactory.usf(637,3-70): warning X4000: use of potentially uninitialized variable ((unknown))

LogShaderCompilers:Warning: GpuSkinVertexFactory.usf(561,2-67): warning X4000: use of potentially uninitialized variable ((unknown))

Does anyone know of a different way to clip a vertex in ue shaders? Thank you.

4 posts - 3 participants